Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-AES.spec'], chrootPath='/var/lib/mock/f31-build-46054-26432/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-AES.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': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1559174400 Wrote: /builddir/build/SRPMS/perl-Crypt-OpenSSL-AES-0.02-37.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-AES.spec'], chrootPath='/var/lib/mock/f31-build-46054-26432/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-AES.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': 'en_US.UTF-8'} and shell False BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1559174400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gRw1BQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Crypt-OpenSSL-AES-0.02 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/Crypt-OpenSSL-AES-0.02.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Crypt-OpenSSL-AES-0.02 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ymHwiN + umask 022 + cd /builddir/build/BUILD + cd Crypt-OpenSSL-AES-0.02 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor + make -j4 BUILDSTDERR: In file included from AES.xs:7: BUILDSTDERR: ppport.h:231: warning: "PERL_UNUSED_DECL" redefined BUILDSTDERR: 231 | # define PERL_UNUSED_DECL BUILDSTDERR: | BUILDSTDERR: In file included from AES.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/perl.h:328: note: this is the location of the previous definition BUILDSTDERR: 328 | # define PERL_UNUSED_DECL __attribute__unused__ BUILDSTDERR: | BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:3679, BUILDSTDERR: from AES.xs:2: BUILDSTDERR: AES.xs: In function 'XS_Crypt__OpenSSL__AES_new': BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1708:18: warning: pointer targets in passing argument 1 of 'AES_set_encrypt_key' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1707 | (SvPOK_nog(sv) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~ BUILDSTDERR: 1708 | ? SvPVX(sv) : sv_2pv_flags(sv, 0, SV_GMAGIC)) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: AES.xs:51:23: note: in expansion of macro 'SvPV_nolen' BUILDSTDERR: 51 | AES_set_encrypt_key(SvPV_nolen(key),keysize*8,&RETVAL->enc_key); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from AES.xs:5: BUILDSTDERR: /usr/include/openssl/aes.h:43:46: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 43 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:3679, BUILDSTDERR: from AES.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1708:18: warning: pointer targets in passing argument 1 of 'AES_set_decrypt_key' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1707 | (SvPOK_nog(sv) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~ BUILDSTDERR: 1708 | ? SvPVX(sv) : sv_2pv_flags(sv, 0, SV_GMAGIC)) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: AES.xs:52:23: note: in expansion of macro 'SvPV_nolen' BUILDSTDERR: 52 | AES_set_decrypt_key(SvPV_nolen(key),keysize*8,&RETVAL->dec_key); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from AES.xs:5: BUILDSTDERR: /usr/include/openssl/aes.h:45:46: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 45 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: AES.c:184:7: warning: unused variable 'class' [-Wunused-variable] BUILDSTDERR: 184 | SV * class = ST(0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:3679, BUILDSTDERR: from AES.xs:2: BUILDSTDERR: AES.xs: In function 'XS_Crypt__OpenSSL__AES_encrypt': BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1708:18: warning: pointer targets in passing argument 2 of 'ix != 0 ? &AES_decrypt : &AES_encrypt' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1707 | (SvPOK_nog(sv) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~ BUILDSTDERR: 1708 | ? SvPVX(sv) : sv_2pv_flags(sv, 0, SV_GMAGIC)) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: AES.xs:76:63: note: in expansion of macro 'SvPV_nolen' BUILDSTDERR: 76 | (ix ? AES_decrypt : AES_encrypt) ((unsigned char *) bytes, SvPV_nolen(RETVAL), (ix ? &self->dec_key : &self->enc_key)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1708:18: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1707 | (SvPOK_nog(sv) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~ BUILDSTDERR: 1708 | ? SvPVX(sv) : sv_2pv_flags(sv, 0, SV_GMAGIC)) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AES.xs:76:63: note: in expansion of macro 'SvPV_nolen' BUILDSTDERR: 76 | (ix ? AES_decrypt : AES_encrypt) ((unsigned char *) bytes, SvPV_nolen(RETVAL), (ix ? &self->dec_key : &self->enc_key)); BUILDSTDERR: | ^~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Crypt::OpenSSL::AES Running Mkbootstrap for AES () "/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Crypt-OpenSSL-AES-0.02/typemap' AES.xs > AES.xsc chmod 644 "AES.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- AES.bs blib/arch/auto/Crypt/OpenSSL/AES/AES.bs 644 cp lib/Crypt/OpenSSL/AES.pm blib/lib/Crypt/OpenSSL/AES.pm mv AES.xsc AES.c gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib64/perl5/CORE" AES.c rm -f blib/arch/auto/Crypt/OpenSSL/AES/AES.so gcc -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong AES.o -o blib/arch/auto/Crypt/OpenSSL/AES/AES.so \ -lcrypto -lperl \ chmod 755 blib/arch/auto/Crypt/OpenSSL/AES/AES.so Manifying 1 pod document Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4KbrcR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 + cd Crypt-OpenSSL-AES-0.02 + rm -rf /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 + make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 + find /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 -depth -type d -exec rmdir '{}' ';' + find /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.02-37.fc31 --unique-debug-suffix -0.02-37.fc31.riscv64 --unique-debug-src-base perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Crypt-OpenSSL-AES-0.02 BUILDSTDERR: 22 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '%{__python}' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- AES.bs blib/arch/auto/Crypt/OpenSSL/AES/AES.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Crypt/OpenSSL/AES/AES.so Installing /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64/usr/lib64/perl5/vendor_perl/Crypt/OpenSSL/AES.pm Installing /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64/usr/share/man/man3/Crypt::OpenSSL::AES.3pm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Crypt/OpenSSL/AES/AES.so extracting debug info from /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Crypt/OpenSSL/AES/AES.so original debug info size: 108kB, size after compression: 108kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.eneHfQ Processing files: perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.G87prQ + umask 022 + cd /builddir/build/BUILD + cd Crypt-OpenSSL-AES-0.02 + DOCDIR=/builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64/usr/share/doc/perl-Crypt-OpenSSL-AES + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64/usr/share/doc/perl-Crypt-OpenSSL-AES + cp -pr Changes /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64/usr/share/doc/perl-Crypt-OpenSSL-AES + cp -pr README /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64/usr/share/doc/perl-Crypt-OpenSSL-AES + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). Provides: perl(Crypt::OpenSSL::AES) = 0.02 perl-Crypt-OpenSSL-AES = 0.02-37.fc31 perl-Crypt-OpenSSL-AES(riscv-64) = 0.02-37.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libperl.so.5.30()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(:VERSION) >= 5.8.5 perl(Exporter) perl(XSLoader) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Crypt-OpenSSL-AES-debugsource-0.02-37.fc31.riscv64 Provides: perl-Crypt-OpenSSL-AES-debugsource = 0.02-37.fc31 perl-Crypt-OpenSSL-AES-debugsource(riscv-64) = 0.02-37.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Crypt-OpenSSL-AES-debuginfo-0.02-37.fc31.riscv64 Provides: debuginfo(build-id) = 9dea8eff33fbf5564bba0f7d8742fdaa69b81758 perl-Crypt-OpenSSL-AES-debuginfo = 0.02-37.fc31 perl-Crypt-OpenSSL-AES-debuginfo(riscv-64) = 0.02-37.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Crypt-OpenSSL-AES-debugsource(riscv-64) = 0.02-37.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 Wrote: /builddir/build/RPMS/perl-Crypt-OpenSSL-AES-debugsource-0.02-37.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Crypt-OpenSSL-AES-debuginfo-0.02-37.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9C2w1O + umask 022 + cd /builddir/build/BUILD + cd Crypt-OpenSSL-AES-0.02 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-AES-0.02-37.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0