Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-Random.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-132686-47147/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-Random.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-Crypt-OpenSSL-Random-0.04-21.an8.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-Crypt-OpenSSL-Random.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-132686-47147/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-Random.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v30JVl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Crypt-OpenSSL-Random-0.04 + /usr/bin/gzip -dc /builddir/build/SOURCES/Crypt-OpenSSL-Random-0.04.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Crypt-OpenSSL-Random-0.04 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (perl-Crypt-OpenSSL-Random-name.patch):' Patch #0 (perl-Crypt-OpenSSL-Random-name.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix name --fuzz=0 patching file Random.xs + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nZpJhk + umask 022 + cd /builddir/build/BUILD + cd Crypt-OpenSSL-Random-0.04 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Crypt::OpenSSL::Random + make -j64 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Random.xs > Random.xsc Running Mkbootstrap for Random () chmod 644 "Random.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Random.bs blib/arch/auto/Crypt/OpenSSL/Random/Random.bs 644 cp Random.pm blib/lib/Crypt/OpenSSL/Random.pm AutoSplitting blib/lib/Crypt/OpenSSL/Random.pm (blib/lib/auto/Crypt/OpenSSL/Random) Please specify prototyping behavior for Random.xs (see perlxs manual) mv Random.xsc Random.c gcc -c -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC "-I/usr/lib64/perl5/CORE" Random.c In file included from /usr/lib64/perl5/CORE/perl.h:5589, from Random.xs:2: Random.xs: In function 'XS_Crypt__OpenSSL__Random_random_bytes': Random.xs:25:35: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness [-Wpointer-sign] XPUSHs(sv_2mortal(newSVpv(rand_bytes, num_bytes))); ^~~~~~~~~~ /usr/lib64/perl5/CORE/pp.h:428:55: note: in definition of macro 'XPUSHs' #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END ^ Random.xs:25:16: note: in expansion of macro 'sv_2mortal' XPUSHs(sv_2mortal(newSVpv(rand_bytes, num_bytes))); ^~~~~~~~~~ Random.xs:25:27: note: in expansion of macro 'newSVpv' XPUSHs(sv_2mortal(newSVpv(rand_bytes, num_bytes))); ^~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609, from Random.xs:2: /usr/lib64/perl5/CORE/proto.h:2304:19: note: expected 'const char * const' but argument is of type 'unsigned char *' PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len) ^~~~~~~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5589, from Random.xs:2: Random.xs: In function 'XS_Crypt__OpenSSL__Random_random_pseudo_bytes': Random.xs:50:35: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness [-Wpointer-sign] XPUSHs(sv_2mortal(newSVpv(rand_bytes, num_bytes))); ^~~~~~~~~~ /usr/lib64/perl5/CORE/pp.h:428:55: note: in definition of macro 'XPUSHs' #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END ^ Random.xs:50:16: note: in expansion of macro 'sv_2mortal' XPUSHs(sv_2mortal(newSVpv(rand_bytes, num_bytes))); ^~~~~~~~~~ Random.xs:50:27: note: in expansion of macro 'newSVpv' XPUSHs(sv_2mortal(newSVpv(rand_bytes, num_bytes))); ^~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609, from Random.xs:2: /usr/lib64/perl5/CORE/proto.h:2304:19: note: expected 'const char * const' but argument is of type 'unsigned char *' PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len) ^~~~~~~~~~~~ Random.xs: In function 'XS_Crypt__OpenSSL__Random_random_egd': Random.xs:87:14: warning: implicit declaration of function 'RAND_egd'; did you mean 'RAND_add'? [-Wimplicit-function-declaration] status = RAND_egd(egd); ^~~~~~~~ RAND_add rm -f blib/arch/auto/Crypt/OpenSSL/Random/Random.so gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong Random.o -o blib/arch/auto/Crypt/OpenSSL/Random/Random.so \ -lssl -lcrypto -lperl \ chmod 755 blib/arch/auto/Crypt/OpenSSL/Random/Random.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4POz6l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64 + cd Crypt-OpenSSL-Random-0.04 + rm -rf /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64 + make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Random.bs blib/arch/auto/Crypt/OpenSSL/Random/Random.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-Random-0.04-21.an8.x86_64/usr/lib64/perl5/vendor_perl/auto/Crypt/OpenSSL/Random/Random.so Installing /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64/usr/lib64/perl5/vendor_perl/Crypt/OpenSSL/Random.pm Installing /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64/usr/lib64/perl5/vendor_perl/auto/Crypt/OpenSSL/Random/autosplit.ix Installing /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64/usr/share/man/man3/Crypt::OpenSSL::Random.3pm + find /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64 -type f '(' -name .packlist -o -name '*.bs' -empty ')' -exec rm '{}' ';' + find /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64 -depth -type d -empty -exec rmdir '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64/usr + /usr/lib/rpm/find-debuginfo.sh -j64 --strict-build-id -m -i --build-id-seed 0.04-21.an8 --unique-debug-suffix -0.04-21.an8.x86_64 --unique-debug-src-base perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/Crypt-OpenSSL-Random-0.04 extracting debug info from /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-Random-0.04-21.an8.x86_64/usr/lib64/perl5/vendor_perl/auto/Crypt/OpenSSL/Random/Random.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 23 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.S0Sjgm + umask 022 + cd /builddir/build/BUILD + cd Crypt-OpenSSL-Random-0.04 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Random.bs blib/arch/auto/Crypt/OpenSSL/Random/Random.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl 1..5 Can't load 'blib/arch/auto/Crypt/OpenSSL/Random/Random.so' for module Crypt::OpenSSL::Random: blib/arch/auto/Crypt/OpenSSL/Random/Random.so: undefined symbol: RAND_egd at /usr/lib64/perl5/DynaLoader.pm line 193. at test.pl line 11. Compilation failed in require at test.pl line 11. BEGIN failed--compilation aborted at test.pl line 11. not ok 1 make: *** [Makefile:953: test_dynamic] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.S0Sjgm (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.S0Sjgm (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 x86_64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-Random.spec