Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-grpc-xs.spec'], chrootPath='/var/lib/mock/fedorarebuild-x86_64-irLJKTMIHs/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=11527gid=900user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62k0z2sb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62k0z2sb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4e64c53eeba34a489605a4e0f7bbcaa8', '-D', '/var/lib/mock/fedorarebuild-x86_64-irLJKTMIHs/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62k0z2sb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-grpc-xs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737590400 Wrote: /builddir/build/SRPMS/perl-grpc-xs-0.38-8.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-grpc-xs.spec'], chrootPath='/var/lib/mock/fedorarebuild-x86_64-irLJKTMIHs/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=11527gid=900user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62k0z2sb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62k0z2sb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2db6227d1f54426c8c4ecd256764b8d7', '-D', '/var/lib/mock/fedorarebuild-x86_64-irLJKTMIHs/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.62k0z2sb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-grpc-xs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737590400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.zKB1lv + umask 022 + cd /builddir/build/BUILD/perl-grpc-xs-0.38-build + test -d /builddir/build/BUILD/perl-grpc-xs-0.38-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/perl-grpc-xs-0.38-build + /usr/bin/rm -rf /builddir/build/BUILD/perl-grpc-xs-0.38-build + /usr/bin/mkdir -p /builddir/build/BUILD/perl-grpc-xs-0.38-build + /usr/bin/mkdir -p /builddir/build/BUILD/perl-grpc-xs-0.38-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5Mffnq + umask 022 + cd /builddir/build/BUILD/perl-grpc-xs-0.38-build + cd /builddir/build/BUILD/perl-grpc-xs-0.38-build + rm -rf Grpc-XS-0.38 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grpc-xs-0.38.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Grpc-XS-0.38 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + perl -MConfig -i -p -e 's/^#!perl\b/$Config{startperl}/' examples/greeter/t/01-greeter.t examples/route_guide/t/01-get_feature.t examples/route_guide/t/02-list_features.t examples/route_guide/t/03-record_route.t examples/route_guide/t/04-route_chat.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/00-compile.t + chmod +x t/00-compile.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/01-call_credentials.t + chmod +x t/01-call_credentials.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/02-call.t + chmod +x t/02-call.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/03-channel_credentials.t + chmod +x t/03-channel_credentials.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/04-channel.t + chmod +x t/04-channel.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/05-constants.t + chmod +x t/05-constants.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/06-server_credentials.t + chmod +x t/06-server_credentials.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/07-server.t + chmod +x t/07-server.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/08-timeval.t + chmod +x t/08-timeval.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/09-abstract_call.t + chmod +x t/09-abstract_call.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/10-base_stub.t + chmod +x t/10-base_stub.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/11-bidi_streaming_call.t + chmod +x t/11-bidi_streaming_call.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/12-client_streaming_call.t + chmod +x t/12-client_streaming_call.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/13-server_streaming_call.t + chmod +x t/13-server_streaming_call.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/14-unary_call.t + chmod +x t/14-unary_call.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/15-xs_end_to_end.t + chmod +x t/15-xs_end_to_end.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/16-xs_secure_end_to_end.t + chmod +x t/16-xs_secure_end_to_end.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/17-fork_friendliness.t + chmod +x t/17-fork_friendliness.t + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0gDNvi + umask 022 + cd /builddir/build/BUILD/perl-grpc-xs-0.38-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Grpc-XS-0.38 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Grpc::XS + /usr/bin/make -O -j4 V=1 VERBOSE=1 Running Mkbootstrap for XS () chmod 644 "XS.bs" cp lib/Grpc/XS/Constants.pm blib/lib/Grpc/XS/Constants.pm cp lib/Grpc/Constants.pm blib/lib/Grpc/Constants.pm cp lib/Grpc/Client/UnaryCall.pm blib/lib/Grpc/Client/UnaryCall.pm cp lib/Grpc/XS/ServerCredentials.pm blib/lib/Grpc/XS/ServerCredentials.pm cp lib/Grpc/Client/BaseStub.pm blib/lib/Grpc/Client/BaseStub.pm cp lib/Grpc/XS.pm blib/lib/Grpc/XS.pm cp lib/Grpc/XS/Call.pm blib/lib/Grpc/XS/Call.pm cp lib/Grpc/Client/BidiStreamingCall.pm blib/lib/Grpc/Client/BidiStreamingCall.pm cp lib/Grpc/XS/Timeval.pm blib/lib/Grpc/XS/Timeval.pm cp lib/Grpc/Client/AbstractCall.pm blib/lib/Grpc/Client/AbstractCall.pm cp lib/Grpc/Client/ClientStreamingCall.pm blib/lib/Grpc/Client/ClientStreamingCall.pm cp lib/Grpc/XS/ChannelCredentials.pm blib/lib/Grpc/XS/ChannelCredentials.pm cp lib/Grpc/Client/ServerStreamingCall.pm blib/lib/Grpc/Client/ServerStreamingCall.pm cp lib/Grpc/XS/Channel.pm blib/lib/Grpc/XS/Channel.pm cp lib/Grpc/XS/Server.pm blib/lib/Grpc/XS/Server.pm cp lib/Grpc/XS/CallCredentials.pm blib/lib/Grpc/XS/CallCredentials.pm "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/Grpc/XS/XS.bs 644 "/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/perl-grpc-xs-0.38-build/Grpc-XS-0.38/typemap' Grpc.xs > Grpc.xsc mv Grpc.xsc Grpc.c Please specify prototyping behavior for Grpc.xs (see perlxs manual) gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DVERSION=\"0.38\" -DXS_VERSION=\"0.38\" -fPIC "-I/usr/lib64/perl5/CORE" util.c util.c:14:10: fatal error: grpc/support/slice.h: No such file or directory 14 | #include | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:362: util.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DVERSION=\"0.38\" -DXS_VERSION=\"0.38\" -fPIC "-I/usr/lib64/perl5/CORE" Grpc.c ./ext/call.xs: In function ‘XS_Grpc__XS__Call_new’: ./ext/call.xs:44:15: error: incompatible type for argument 5 of ‘grpc_channel_create_call’ 44 | method, host_override, deadline->wrapped, NULL); | ^~~~~~ | | | const char * In file included from util.h:9, from Grpc.xs:7: /usr/include/grpc/grpc.h:217:57: note: expected ‘grpc_slice’ but argument is of type ‘const char *’ 217 | grpc_completion_queue* completion_queue, grpc_slice method, | ~~~~~~~~~~~^~~~~~ ./ext/call.xs:44:23: error: passing argument 6 of ‘grpc_channel_create_call’ from incompatible pointer type [-Wincompatible-pointer-types] 44 | method, host_override, deadline->wrapped, NULL); | ^~~~~~~~~~~~~ | | | const char * /usr/include/grpc/grpc.h:218:23: note: expected ‘const grpc_slice *’ but argument is of type ‘const char *’ 218 | const grpc_slice* host, gpr_timespec deadline, void* reserved); | ~~~~~~~~~~~~~~~~~~^~~~ Grpc.c:217:25: warning: unused variable ‘class’ [-Wunused-variable] 217 | const char * class = (const char *)SvPV_nolen(ST(0)) | ^~~~~ ./ext/call.xs: In function ‘XS_Grpc__XS__Call_startBatch’: ./ext/call.xs:153:23: error: incompatible types when assigning to type ‘struct grpc_op_send_message’ from type ‘grpc_byte_buffer *’ 153 | string_to_byte_buffer(message_str,message_len); | ^~~~~~~~~~~~~~~~~~~~~ ./ext/call.xs:204:69: error: assignment to ‘grpc_slice *’ from incompatible pointer type ‘char *’ [-Wincompatible-pointer-types] 204 | ops[op_num].data.send_status_from_server.status_details = | ^ ./ext/call.xs:218:15: error: incompatible types when assigning to type ‘struct grpc_op_recv_initial_metadata’ from type ‘grpc_metadata_array *’ 218 | &recv_metadata; | ^ ./ext/call.xs:226:15: error: incompatible types when assigning to type ‘struct grpc_op_recv_message’ from type ‘grpc_byte_buffer **’ 226 | &message; | ^ ./ext/call.xs:239:65: error: assignment to ‘grpc_slice *’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 239 | ops[op_num].data.recv_status_on_client.status_details = | ^ ./ext/call.xs:241:49: error: ‘struct grpc_op_recv_status_on_client’ has no member named ‘status_details_capacity’ 241 | ops[op_num].data.recv_status_on_client.status_details_capacity = | ^ ./ext/call.xs:334:45: error: incompatible type for argument 1 of ‘grpc_byte_buffer_destroy’ 334 | grpc_byte_buffer_destroy(ops[i].data.send_message); | ~~~~~~~~~~~^~~~~~~~~~~~~ | | | struct grpc_op_send_message In file included from /usr/include/grpc/byte_buffer.h:24, from /usr/include/grpc/grpc.h:26: /usr/include/grpc/impl/codegen/byte_buffer.h:58:57: note: expected ‘grpc_byte_buffer *’ but argument is of type ‘struct grpc_op_send_message’ 58 | GRPCAPI void grpc_byte_buffer_destroy(grpc_byte_buffer* bb); | ~~~~~~~~~~~~~~~~~~^~ ./ext/call.xs: In function ‘XS_Grpc__XS__Call_DESTROY’: ./ext/call.xs:373:7: error: implicit declaration of function ‘grpc_call_destroy’; did you mean ‘grpc_perl_destroy’? [-Wimplicit-function-declaration] 373 | grpc_call_destroy(self->wrapped); | ^~~~~~~~~~~~~~~~~ | grpc_perl_destroy ./ext/call_credentials.xs: In function ‘XS_Grpc__XS__CallCredentials_createFromPlugin’: ./ext/call_credentials.xs:19:25: error: assignment to ‘int (*)(void *, grpc_auth_metadata_context, void (*)(void *, const grpc_metadata *, size_t, grpc_status_code, const char *), void *, grpc_metadata *, size_t *, grpc_status_code *, const char **)’ {aka ‘int (*)(void *, grpc_auth_metadata_context, void (*)(void *, const grpc_metadata *, long unsigned int, grpc_status_code, const char *), void *, grpc_metadata *, long unsigned int *, grpc_status_code *, const char **)’} from incompatible pointer type ‘void (*)(void *, grpc_auth_metadata_context, void (*)(void *, const grpc_metadata *, size_t, grpc_status_code, const char *), void *)’ {aka ‘void (*)(void *, grpc_auth_metadata_context, void (*)(void *, const grpc_metadata *, long unsigned int, grpc_status_code, const char *), void *)’} [-Wincompatible-pointer-types] 19 | plugin.get_metadata = plugin_get_metadata; | ^ util.h:44:6: note: ‘plugin_get_metadata’ declared here 44 | void plugin_get_metadata(void *ptr, grpc_auth_metadata_context context, | ^~~~~~~~~~~~~~~~~~~ ./ext/call_credentials.xs:27:5: error: incompatible type for argument 2 of ‘grpc_metadata_credentials_create_from_plugin’ 27 | NULL); | ^~~~ | | | void * In file included from util.h:10: /usr/include/grpc/grpc_security.h:468:25: note: expected ‘grpc_security_level’ but argument is of type ‘void *’ 468 | grpc_security_level min_security_level, void* reserved); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./ext/call_credentials.xs:23:20: error: too few arguments to function ‘grpc_metadata_credentials_create_from_plugin’; expected 3, have 2 23 | ctx->wrapped = grpc_metadata_credentials_create_from_plugin(plugin, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/grpc/grpc_security.h:466:32: note: declared here 466 | GRPCAPI grpc_call_credentials* grpc_metadata_credentials_create_from_plugin( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ext/channel.xs: In function ‘XS_Grpc__XS__Channel_new’: ./ext/channel.xs:45:22: error: implicit declaration of function ‘grpc_insecure_channel_create’; did you mean ‘grpc_insecure_credentials_create’? [-Wimplicit-function-declaration] 45 | ctx->wrapped = grpc_insecure_channel_create(target, &args, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | grpc_insecure_credentials_create ./ext/channel.xs:45:20: error: assignment to ‘grpc_channel *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 45 | ctx->wrapped = grpc_insecure_channel_create(target, &args, NULL); | ^ ./ext/channel.xs:53:11: error: implicit declaration of function ‘grpc_secure_channel_create’; did you mean ‘grpc_channel_create’? [-Wimplicit-function-declaration] 53 | grpc_secure_channel_create(creds->wrapped, target, &args, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | grpc_channel_create ./ext/channel.xs:52:20: error: assignment to ‘grpc_channel *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 52 | ctx->wrapped = | ^ Grpc.c:925:25: warning: unused variable ‘class’ [-Wunused-variable] 925 | const char * class = (const char *)SvPV_nolen(ST(0)) | ^~~~~ ./ext/channel_credentials.xs: In function ‘XS_Grpc__XS__ChannelCredentials_createDefault’: ./ext/channel_credentials.xs:6:20: error: too few arguments to function ‘grpc_google_default_credentials_create’; expected 1, have 0 6 | ctx->wrapped = grpc_google_default_credentials_create( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/grpc/grpc_security.h:152:35: note: declared here 152 | GRPCAPI grpc_channel_credentials* grpc_google_default_credentials_create( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ext/channel_credentials.xs: In function ‘XS_Grpc__XS__ChannelCredentials_createSsl’: ./ext/channel_credentials.xs:50:20: error: too few arguments to function ‘grpc_ssl_credentials_create’; expected 4, have 3 50 | ctx->wrapped = grpc_ssl_credentials_create( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/grpc/grpc_security.h:255:35: note: declared here 255 | GRPCAPI grpc_channel_credentials* grpc_ssl_credentials_create( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Grpc.c: In function ‘XS_Grpc__XS__ChannelCredentials_createInsecure’: Grpc.c:1353:41: warning: unused variable ‘RETVAL’ [-Wunused-variable] 1353 | Grpc__XS__ChannelCredentials RETVAL; | ^~~~~~ Grpc.c: In function ‘XS_Grpc__XS__Server_new’: Grpc.c:2268:25: warning: unused variable ‘class’ [-Wunused-variable] 2268 | const char * class = (const char *)SvPV_nolen(ST(0)) | ^~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:6225, from Grpc.xs:3: ./ext/server.xs: In function ‘XS_Grpc__XS__Server_requestCall’: ./ext/server.xs:75:65: error: incompatible type for argument 1 of ‘strlen’ 75 | hv_stores(result,"method",grpc_slice_or_string_to_sv(details.method)); | ~~~~~~~^~~~~~~ | | | grpc_slice /usr/lib64/perl5/CORE/embed.h:293:86: note: in definition of macro ‘hv_common_key_len’ 293 | # define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f) | ^ /usr/lib64/perl5/CORE/hv.h:565:5: note: in expansion of macro ‘hv_store’ 565 | hv_store((hv), ASSERT_IS_LITERAL(key), (sizeof(key)-1), (val), 0) | ^~~~~~~~ ./ext/server.xs:75:5: note: in expansion of macro ‘hv_stores’ 75 | hv_stores(result,"method",grpc_slice_or_string_to_sv(details.method)); | ^~~~~~~~~ util.h:60:44: note: in expansion of macro ‘newSVpvn’ 60 | #define grpc_slice_or_string_to_sv(string) newSVpvn((string), strlen(string)) | ^~~~~~~~ ./ext/server.xs:75:31: note: in expansion of macro ‘grpc_slice_or_string_to_sv’ 75 | hv_stores(result,"method",grpc_slice_or_string_to_sv(details.method)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:1711: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘grpc_slice’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./ext/server.xs:75:65: error: incompatible type for argument 2 of ‘Perl_newSVpvn’ 75 | hv_stores(result,"method",grpc_slice_or_string_to_sv(details.method)); /usr/lib64/perl5/CORE/embed.h:293:86: note: in definition of macro ‘hv_common_key_len’ 293 | # define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f) | ^ /usr/lib64/perl5/CORE/hv.h:565:5: note: in expansion of macro ‘hv_store’ 565 | hv_store((hv), ASSERT_IS_LITERAL(key), (sizeof(key)-1), (val), 0) | ^~~~~~~~ ./ext/server.xs:75:5: note: in expansion of macro ‘hv_stores’ 75 | hv_stores(result,"method",grpc_slice_or_string_to_sv(details.method)); | ^~~~~~~~~ util.h:60:44: note: in expansion of macro ‘newSVpvn’ 60 | #define grpc_slice_or_string_to_sv(string) newSVpvn((string), strlen(string)) | ^~~~~~~~ ./ext/server.xs:75:31: note: in expansion of macro ‘grpc_slice_or_string_to_sv’ 75 | hv_stores(result,"method",grpc_slice_or_string_to_sv(details.method)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:6186: /usr/lib64/perl5/CORE/proto.h:3048:40: note: expected ‘const char * const’ but argument is of type ‘grpc_slice’ 3048 | Perl_newSVpvn(pTHX_ const char * const buffer, const STRLEN len) | ~~~~~~~~~~~~~~~~~~~^~~~~~ ./ext/server.xs:76:63: error: incompatible type for argument 1 of ‘strlen’ 76 | hv_stores(result,"host",grpc_slice_or_string_to_sv(details.host)); | ~~~~~~~^~~~~ | | | grpc_slice /usr/lib64/perl5/CORE/embed.h:293:86: note: in definition of macro ‘hv_common_key_len’ 293 | # define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f) | ^ /usr/lib64/perl5/CORE/hv.h:565:5: note: in expansion of macro ‘hv_store’ 565 | hv_store((hv), ASSERT_IS_LITERAL(key), (sizeof(key)-1), (val), 0) | ^~~~~~~~ ./ext/server.xs:76:5: note: in expansion of macro ‘hv_stores’ 76 | hv_stores(result,"host",grpc_slice_or_string_to_sv(details.host)); | ^~~~~~~~~ util.h:60:44: note: in expansion of macro ‘newSVpvn’ 60 | #define grpc_slice_or_string_to_sv(string) newSVpvn((string), strlen(string)) | ^~~~~~~~ ./ext/server.xs:76:29: note: in expansion of macro ‘grpc_slice_or_string_to_sv’ 76 | hv_stores(result,"host",grpc_slice_or_string_to_sv(details.host)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘grpc_slice’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ./ext/server.xs:76:63: error: incompatible type for argument 2 of ‘Perl_newSVpvn’ 76 | hv_stores(result,"host",grpc_slice_or_string_to_sv(details.host)); /usr/lib64/perl5/CORE/embed.h:293:86: note: in definition of macro ‘hv_common_key_len’ 293 | # define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f) | ^ /usr/lib64/perl5/CORE/hv.h:565:5: note: in expansion of macro ‘hv_store’ 565 | hv_store((hv), ASSERT_IS_LITERAL(key), (sizeof(key)-1), (val), 0) | ^~~~~~~~ ./ext/server.xs:76:5: note: in expansion of macro ‘hv_stores’ 76 | hv_stores(result,"host",grpc_slice_or_string_to_sv(details.host)); | ^~~~~~~~~ util.h:60:44: note: in expansion of macro ‘newSVpvn’ 60 | #define grpc_slice_or_string_to_sv(string) newSVpvn((string), strlen(string)) | ^~~~~~~~ ./ext/server.xs:76:29: note: in expansion of macro ‘grpc_slice_or_string_to_sv’ 76 | hv_stores(result,"host",grpc_slice_or_string_to_sv(details.host)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/perl5/CORE/proto.h:3048:40: note: expected ‘const char * const’ but argument is of type ‘grpc_slice’ 3048 | Perl_newSVpvn(pTHX_ const char * const buffer, const STRLEN len) | ~~~~~~~~~~~~~~~~~~~^~~~~~ ./ext/server.xs: In function ‘XS_Grpc__XS__Server_addHttp2Port’: ./ext/server.xs:97:14: error: implicit declaration of function ‘grpc_server_add_insecure_http2_port’; did you mean ‘grpc_server_add_http2_port’? [-Wimplicit-function-declaration] 97 | RETVAL = grpc_server_add_insecure_http2_port(self->wrapped, SvPV_nolen(addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | grpc_server_add_http2_port ./ext/server.xs: In function ‘XS_Grpc__XS__Server_addSecureHttp2Port’: ./ext/server.xs:108:7: error: implicit declaration of function ‘grpc_server_add_secure_http2_port’; did you mean ‘grpc_server_add_http2_port’? [-Wimplicit-function-declaration] 108 | grpc_server_add_secure_http2_port( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | grpc_server_add_http2_port Grpc.c: In function ‘XS_Grpc__XS__ServerCredentials_createSsl’: Grpc.c:2570:25: warning: unused variable ‘class’ [-Wunused-variable] 2570 | const char * class = (const char *)SvPV_nolen(ST(0)) | ^~~~~ Grpc.c: In function ‘XS_Grpc__XS__Timeval_new’: Grpc.c:2666:25: warning: unused variable ‘class’ [-Wunused-variable] 2666 | const char * class = (const char *)SvPV_nolen(ST(0)) | ^~~~~ make: *** [Makefile:362: Grpc.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.0gDNvi (%build) Bad exit status from /var/tmp/rpm-tmp.0gDNvi (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 2db6227d1f54426c8c4ecd256764b8d7 -D /var/lib/mock/fedorarebuild-x86_64-irLJKTMIHs/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.62k0z2sb:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-grpc-xs.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 2db6227d1f54426c8c4ecd256764b8d7 -D /var/lib/mock/fedorarebuild-x86_64-irLJKTMIHs/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.62k0z2sb:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-grpc-xs.spec'