Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-User-Utmp.spec'], chrootPath='/var/lib/mock/f29-build-8299-2549/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-User-Utmp.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: perl: command not found BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/perl-User-Utmp-1.8-17.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-User-Utmp.spec'], chrootPath='/var/lib/mock/f29-build-8299-2549/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-User-Utmp.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8wgPnT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf User-Utmp-1.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/User-Utmp-1.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd User-Utmp-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (User-Utmp-1.8-strlen.patch):' Patch #0 (User-Utmp-1.8-strlen.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file Utmp.xs + chmod -x example.pl + sed -i -e '1 s/^#!.*//' -e '1 ause utf8;' example.pl + for F in example.pl README + iconv -f ISO-8859-1 -t UTF-8 + touch -r example.pl example.pl.utf8 + mv example.pl.utf8 example.pl + for F in example.pl README + iconv -f ISO-8859-1 -t UTF-8 + touch -r README README.utf8 + mv README.utf8 README + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ln72xT + umask 022 + cd /builddir/build/BUILD + cd User-Utmp-1.8 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 'OPTIMIZE=-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' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for User::Utmp + make -j4 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Utmp.xs > Utmp.xsc Running Mkbootstrap for Utmp () chmod 644 "Utmp.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Utmp.bs blib/arch/auto/User/Utmp/Utmp.bs 644 cp Utmp.pm blib/lib/User/Utmp.pm AutoSplitting blib/lib/User/Utmp.pm (blib/lib/auto/User/Utmp) cp example.pl blib/lib/User/example.pl mv Utmp.xsc Utmp.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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_UT_EXTENSIONS -DHAS_UT_HOST -DHAS_UT_ADDR -DHAS_GETUTID -DHAS_GETUTLINE -DHAS_PUTUTLINE -DHAS_UTMPNAME -DHAS_X_UT_EXIT -DHAS_X_UT_HOST -DHAS_X_UT_ADDR -DHAS_UTMPXNAME -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 -DVERSION=\"1.8\" -DXS_VERSION=\"1.8\" -fPIC "-I/usr/lib64/perl5/CORE" Utmp.c BUILDSTDERR: Utmp.xs: In function 'constant': BUILDSTDERR: Utmp.xs:140:3: warning: label 'not_there' defined but not used [-Wunused-label] BUILDSTDERR: not_there: BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: Utmp.xs: In function 'perl2utent': BUILDSTDERR: Utmp.xs:319:9: warning: variable 'localkey' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char *localkey; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:3913, BUILDSTDERR: from Utmp.xs:7: BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1670:13: warning: operation on 'val_len' may be undefined [-Wsequence-point] BUILDSTDERR: ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) BUILDSTDERR: ~~~~^~~~~~~~~~~~ BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' BUILDSTDERR: #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Utmp.xs:353:27: note: in expansion of macro 'SvPV' BUILDSTDERR: memcpy(&utent->ut_addr, SvPV(val, val_len), BUILDSTDERR: ^~~~ BUILDSTDERR: Utmp.xs: In function 'perl2utxent': BUILDSTDERR: Utmp.xs:433:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: utent->ut_pid = (pid_t) NULL; BUILDSTDERR: ^ BUILDSTDERR: Utmp.xs:440:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: utent->ut_type = (short) NULL; BUILDSTDERR: ^ BUILDSTDERR: Utmp.c: In function 'XS_User__Utmp_utmpxname': BUILDSTDERR: Utmp.xs:830:13: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: size_t len; BUILDSTDERR: ^~~ BUILDSTDERR: At top level: BUILDSTDERR: Utmp.xs:44:1: warning: 'not_here' defined but not used [-Wunused-function] BUILDSTDERR: not_here(s) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5644, BUILDSTDERR: from Utmp.xs:7: BUILDSTDERR: Utmp.xs: In function 'utent2perl': BUILDSTDERR: Utmp.xs:155:37: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overflow=] BUILDSTDERR: newSVpv(entry->ut_user, MIN(8, strlen(entry->ut_user))), 0); BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:228:77: note: in definition of macro 'hv_common_key_len' BUILDSTDERR: #define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f) BUILDSTDERR: ^ BUILDSTDERR: Utmp.xs:154:4: note: in expansion of macro 'hv_store' BUILDSTDERR: hv_store(perl_hash, "ut_user", 7, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Utmp.xs:155:6: note: in expansion of macro 'newSVpv' BUILDSTDERR: newSVpv(entry->ut_user, MIN(8, strlen(entry->ut_user))), 0); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/utmp.h:29, BUILDSTDERR: from Utmp.xs:13: BUILDSTDERR: /usr/include/bits/utmp.h:65:8: note: argument 'ut_user' declared here BUILDSTDERR: char ut_user[UT_NAMESIZE] BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5644, BUILDSTDERR: from Utmp.xs:7: BUILDSTDERR: Utmp.xs:157:38: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overflow=] BUILDSTDERR: newSVpv(entry->ut_line, MIN(12, strlen(entry->ut_line))), 0); BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:228:77: note: in definition of macro 'hv_common_key_len' BUILDSTDERR: #define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f) BUILDSTDERR: ^ BUILDSTDERR: Utmp.xs:156:4: note: in expansion of macro 'hv_store' BUILDSTDERR: hv_store(perl_hash, "ut_line", 7, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Utmp.xs:157:6: note: in expansion of macro 'newSVpv' BUILDSTDERR: newSVpv(entry->ut_line, MIN(12, strlen(entry->ut_line))), 0); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/utmp.h:29, BUILDSTDERR: from Utmp.xs:13: BUILDSTDERR: /usr/include/bits/utmp.h:62:8: note: argument 'ut_line' declared here BUILDSTDERR: char ut_line[UT_LINESIZE] BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5644, BUILDSTDERR: from Utmp.xs:7: BUILDSTDERR: Utmp.xs:173:38: warning: 'strlen' argument 1 declared attribute 'nonstring' [-Wstringop-overflow=] BUILDSTDERR: newSVpv(entry->ut_host, MIN(16, strlen(entry->ut_host))), 0); BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:228:77: note: in definition of macro 'hv_common_key_len' BUILDSTDERR: #define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f) BUILDSTDERR: ^ BUILDSTDERR: Utmp.xs:172:4: note: in expansion of macro 'hv_store' BUILDSTDERR: hv_store(perl_hash, "ut_host", 7, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: Utmp.xs:173:6: note: in expansion of macro 'newSVpv' BUILDSTDERR: newSVpv(entry->ut_host, MIN(16, strlen(entry->ut_host))), 0); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/utmp.h:29, BUILDSTDERR: from Utmp.xs:13: BUILDSTDERR: /usr/include/bits/utmp.h:67:8: note: argument 'ut_host' declared here BUILDSTDERR: char ut_host[UT_HOSTSIZE] BUILDSTDERR: ^~~~~~~ rm -f blib/arch/auto/User/Utmp/Utmp.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 Utmp.o -o blib/arch/auto/User/Utmp/Utmp.so \ -lperl \ chmod 755 blib/arch/auto/User/Utmp/Utmp.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2zImvL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64 + cd User-Utmp-1.8 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Utmp.bs blib/arch/auto/User/Utmp/Utmp.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-User-Utmp-1.8-17.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/User/Utmp/Utmp.so Installing /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/User/Utmp/autosplit.ix Installing /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64/usr/lib64/perl5/vendor_perl/User/example.pl Installing /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64/usr/lib64/perl5/vendor_perl/User/Utmp.pm Installing /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64/usr/share/man/man3/User::Utmp.3pm + find /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.8-17.fc29 --unique-debug-suffix -1.8-17.fc29.riscv64 --unique-debug-src-base perl-User-Utmp-1.8-17.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/User-Utmp-1.8 extracting debug info from /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/User/Utmp/Utmp.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 94 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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 /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZD1gNf Processing files: perl-User-Utmp-1.8-17.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.urZiSc + umask 022 + cd /builddir/build/BUILD + cd User-Utmp-1.8 + DOCDIR=/builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64/usr/share/doc/perl-User-Utmp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64/usr/share/doc/perl-User-Utmp + cp -pr Changes /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64/usr/share/doc/perl-User-Utmp + cp -pr example.pl /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64/usr/share/doc/perl-User-Utmp + cp -pr README /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64/usr/share/doc/perl-User-Utmp + exit 0 Provides: perl(User::Utmp) = 1.8 perl-User-Utmp = 1.8-17.fc29 perl-User-Utmp(riscv-64) = 1.8-17.fc29 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) libperl.so.5.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(AutoLoader) perl(Carp) perl(DynaLoader) perl(Exporter) perl(strict) perl(vars) rtld(GNU_HASH) Processing files: perl-User-Utmp-debugsource-1.8-17.fc29.riscv64 Provides: perl-User-Utmp-debugsource = 1.8-17.fc29 perl-User-Utmp-debugsource(riscv-64) = 1.8-17.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-User-Utmp-debuginfo-1.8-17.fc29.riscv64 Provides: debuginfo(build-id) = 611a8c292b2afe5dcef77ec714721fdc66b4009b perl-User-Utmp-debuginfo = 1.8-17.fc29 perl-User-Utmp-debuginfo(riscv-64) = 1.8-17.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-User-Utmp-debugsource(riscv-64) = 1.8-17.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64 Wrote: /builddir/build/RPMS/perl-User-Utmp-1.8-17.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-User-Utmp-debugsource-1.8-17.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-User-Utmp-debuginfo-1.8-17.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QsJlmQ + umask 022 + cd /builddir/build/BUILD + cd User-Utmp-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-User-Utmp-1.8-17.fc29.riscv64 + exit 0 Child return code was: 0