Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-GSSAPI.spec'], chrootPath='/var/lib/mock/f37-build-73860-3813/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=432000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-GSSAPI.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'} and shell False sh: line 1: perl: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/perl-GSSAPI-0.28-40.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-GSSAPI.spec'], chrootPath='/var/lib/mock/f37-build-73860-3813/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=432000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-GSSAPI.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.czmYiG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf GSSAPI-0.28 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/GSSAPI-0.28.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd GSSAPI-0.28 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (GSSAPI-0.28-Fix-a-crash-in-gss_release_oid-when-destructing-out_.patch): + echo 'Patch #0 (GSSAPI-0.28-Fix-a-crash-in-gss_release_oid-when-destructing-out_.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xs/Context.xs + chmod -c a-x examples/getcred_hostbased.pl examples/gss-client.pl examples/gss-server.pl mode of 'examples/getcred_hostbased.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/gss-client.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'examples/gss-server.pl' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DseIxd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 GSSAPI-0.28 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' NO_PACKLIST=1 NO_PERLLOCAL=1 Welcome to GSSAPI.pm setup! (Makefile.PL Version 0.03) run "perl Makefile.PL --help" to see further installation options ---------------------------------------------------------- Searching krb5-config command... using krb5-config command '/usr/bin/krb5-config'. ---------------------------------------------------------- using GSSAPI implementation Kerberos 5 release 1.19.2 ---------------------------------------------------------- Adding from your Perlinstallation ($Config{lddlflags}) to LDDLFLAGS -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -L/usr/local/lib -fstack-protector-strong ---------------------------------------------------------- Bypassing to LDDLFLAGS -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -L/usr/local/lib -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/krb5-1.19.2/.package_note-krb5-1.19.2-3.1.fc36.riscv64.ldWarning: prerequisite Test::More 0 not found. ---------------------------------------------------------- Using LIBS -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ---------------------------------------------------------- Using INC includeconfiguration ---------------------------------------------------------- Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for GSSAPI + /usr/bin/make -O -j8 V=1 VERBOSE=1 Running Mkbootstrap for GSSAPI () chmod 644 "GSSAPI.bs" cp GSSAPI.pm blib/lib/GSSAPI.pm cp GSSAPI/OID/Set.pm blib/lib/GSSAPI/OID/Set.pm cp GSSAPI/Status.pm blib/lib/GSSAPI/Status.pm cp GSSAPI/OID.pm blib/lib/GSSAPI/OID.pm "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- GSSAPI.bs blib/arch/auto/GSSAPI/GSSAPI.bs 644 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/GSSAPI-0.28/typemap' GSSAPI.xs > GSSAPI.xsc mv GSSAPI.xsc GSSAPI.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -fPIC "-I/usr/lib64/perl5/CORE" GSSAPI.c GSSAPI.c: In function 'XS_GSSAPI__Status_new': GSSAPI.c:446:17: warning: unused variable 'class' [-Wunused-variable] 446 | char * class = (char *)SvPV_nolen(ST(0)) | ^~~~~ GSSAPI.c: In function 'XS_GSSAPI__Name_new': GSSAPI.c:732:17: warning: unused variable 'class' [-Wunused-variable] 732 | char * class = (char *)SvPV_nolen(ST(0)) | ^~~~~ GSSAPI.c: In function 'XS_GSSAPI__Name_import': GSSAPI.c:789:17: warning: unused variable 'class' [-Wunused-variable] 789 | char * class = (char *)SvPV_nolen(ST(0)) | ^~~~~ GSSAPI.c: In function 'XS_GSSAPI__OID_new': GSSAPI.c:1123:17: warning: unused variable 'class' [-Wunused-variable] 1123 | char * class = (char *)SvPV_nolen(ST(0)) | ^~~~~ GSSAPI.c: In function 'XS_GSSAPI__OID_from_str': GSSAPI.c:1193:17: warning: unused variable 'class' [-Wunused-variable] 1193 | char * class = (char *)SvPV_nolen(ST(0)) | ^~~~~ GSSAPI.c: In function 'XS_GSSAPI__OID__Set_new': GSSAPI.c:1652:17: warning: unused variable 'class' [-Wunused-variable] 1652 | char * class = (char *)SvPV_nolen(ST(0)) | ^~~~~ GSSAPI.c: In function 'XS_GSSAPI__Binding_new': GSSAPI.c:2309:17: warning: unused variable 'class' [-Wunused-variable] 2309 | char * class = (char *)SvPV_nolen(ST(0)) | ^~~~~ GSSAPI.c: In function 'XS_GSSAPI__Context_new': GSSAPI.c:2700:17: warning: unused variable 'class' [-Wunused-variable] 2700 | char * class = (char *)SvPV_nolen(ST(0)) | ^~~~~ GSSAPI.c: In function 'XS_GSSAPI__Context_import': GSSAPI.c:3549:17: warning: unused variable 'class' [-Wunused-variable] 3549 | char * class = (char *)SvPV_nolen(ST(0)) | ^~~~~ rm -f blib/arch/auto/GSSAPI/GSSAPI.so gcc -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -L/usr/local/lib -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/krb5-1.19.2/.package_note-krb5-1.19.2-3.1.fc36.riscv64.ld GSSAPI.o -o blib/arch/auto/GSSAPI/GSSAPI.so \ -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lperl \ /usr/bin/ld: cannot open linker script file /builddir/build/BUILD/krb5-1.19.2/.package_note-krb5-1.19.2-3.1.fc36.riscv64.ld: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:496: blib/arch/auto/GSSAPI/GSSAPI.so] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.DseIxd (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.DseIxd (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-GSSAPI.spec