+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/perl-User-Utmp.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1sYhU0 + 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.Af1WGh + umask 022 + cd /builddir/build/BUILD + cd User-Utmp-1.8 + perl Makefile.PL INSTALLDIRS=vendor '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 ' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for User::Utmp Writing MYMETA.yml and MYMETA.json + make -j4 Running Mkbootstrap for Utmp () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Utmp.xs > Utmp.xsc 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 -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 -DVERSION=\"1.8\" -DXS_VERSION=\"1.8\" -fPIC "-I/usr/lib64/perl5/CORE" Utmp.c Utmp.xs: In function 'constant': Utmp.xs:140:3: warning: label 'not_there' defined but not used [-Wunused-label] not_there: ^~~~~~~~~ Utmp.xs: In function 'perl2utent': Utmp.xs:319:9: warning: variable 'localkey' set but not used [-Wunused-but-set-variable] char *localkey; ^~~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:3913:0, from Utmp.xs:7: /usr/lib64/perl5/CORE/sv.h:1670:13: warning: operation on 'val_len' may be undefined [-Wsequence-point] ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) ~~~~^~~~~~~~~~~~ /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) ^~~~~~~~~~ Utmp.xs:353:27: note: in expansion of macro 'SvPV' memcpy(&utent->ut_addr, SvPV(val, val_len), ^~~~ Utmp.xs: In function 'perl2utxent': Utmp.xs:433:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] utent->ut_pid = (pid_t) NULL; ^ Utmp.xs:440:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] utent->ut_type = (short) NULL; ^ Utmp.c: In function 'XS_User__Utmp_utmpxname': Utmp.xs:830:13: warning: unused variable 'len' [-Wunused-variable] size_t len; ^~~ At top level: Utmp.xs:44:1: warning: 'not_here' defined but not used [-Wunused-function] not_here(s) ^~~~~~~~ rm -f blib/arch/auto/User/Utmp/Utmp.so gcc -lpthread -shared -Wl,-z,relro -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.2a0AZJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64 + cd User-Utmp-1.8 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.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-15.fc28.riscv64/usr/lib64/perl5/vendor_perl/auto/User/Utmp/Utmp.so Installing /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64/usr/lib64/perl5/vendor_perl/auto/User/Utmp/autosplit.ix Installing /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64/usr/lib64/perl5/vendor_perl/User/example.pl Installing /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64/usr/lib64/perl5/vendor_perl/User/Utmp.pm Installing /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64/usr/share/man/man3/User::Utmp.3pm + find /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.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-User-Utmp-1.8-15.fc28.riscv64/usr + /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 Processing files: perl-User-Utmp-1.8-15.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vSsi0y + umask 022 + cd /builddir/build/BUILD + cd User-Utmp-1.8 + DOCDIR=/builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.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-15.fc28.riscv64/usr/share/doc/perl-User-Utmp + cp -pr Changes /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64/usr/share/doc/perl-User-Utmp + cp -pr example.pl /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64/usr/share/doc/perl-User-Utmp + cp -pr README /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64/usr/share/doc/perl-User-Utmp + exit 0 Provides: perl(User::Utmp) = 1.8 perl-User-Utmp = 1.8-15.fc28 perl-User-Utmp(riscv-64) = 1.8-15.fc28 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64 Wrote: /builddir/build/SRPMS/perl-User-Utmp-1.8-15.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/perl-User-Utmp-1.8-15.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dJNGU2 + umask 022 + cd /builddir/build/BUILD + cd User-Utmp-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-User-Utmp-1.8-15.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff