+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pwauth.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.TVyali + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pwauth-2.3.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/pwauth-2.3.10.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pwauth-2.3.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (pwauth-make.patch):' Patch #1 (pwauth-make.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .make --fuzz=0 patching file config.h patching file Makefile Hunk #2 succeeded at 29 (offset 1 line). + echo 'Patch #2 (pwauth-strchr.patch):' Patch #2 (pwauth-strchr.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .strchr --fuzz=0 patching file main.c + echo 'Patch #3 (pwauth-cleanup.patch):' Patch #3 (pwauth-cleanup.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cleanup --fuzz=0 patching file snooze.c patching file lastlog.c patching file pwauth.h patching file main.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.V1qcun + umask 022 + cd /builddir/build/BUILD + cd pwauth-2.3.10 + export 'CFLAGS=-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 ' + CFLAGS='-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 ' + export 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -j4 'CFLAGS=-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 -Wno-comment' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -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 -Wno-comment -c -o main.o main.c gcc -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 -Wno-comment -c -o auth_aix.o auth_aix.c gcc -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 -Wno-comment -c -o auth_bsd.o auth_bsd.c gcc -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 -Wno-comment -c -o auth_hpux.o auth_hpux.c main.c: In function 'main': main.c:56:13: warning: unused variable 'i' [-Wunused-variable] int uid,i; ^ main.c:56:9: warning: unused variable 'uid' [-Wunused-variable] int uid,i; ^~~ gcc -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 -Wno-comment -c -o auth_mdw.o auth_mdw.c gcc -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 -Wno-comment -c -o auth_openbsd.o auth_openbsd.c gcc -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 -Wno-comment -c -o auth_pam.o auth_pam.c gcc -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 -Wno-comment -c -o auth_sun.o auth_sun.c gcc -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 -Wno-comment -c -o fail_log.o fail_log.c gcc -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 -Wno-comment -c -o lastlog.o lastlog.c gcc -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 -Wno-comment -c -o nologin.o nologin.c gcc -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 -Wno-comment -c -o snooze.o snooze.c lastlog.c: In function 'lastlog': lastlog.c:61:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &ll, sizeof(struct lastlog)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o pwauth -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 -Wno-comment -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld main.o auth_aix.o auth_bsd.o auth_hpux.o \ auth_mdw.o auth_openbsd.o auth_pam.o auth_sun.o fail_log.o \ lastlog.o nologin.o snooze.o -lpam -ldl + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.elwM8D + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64 + cd pwauth-2.3.10 + mkdir -p /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64/usr/bin /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64/etc/pam.d + install -p -m 4750 -t /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64/usr/bin pwauth + install -p -m 0750 -t /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64/usr/bin unixgroup + install -p -T /builddir/build/SOURCES/pwauth.pam /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64/etc/pam.d/pwauth + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64/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 *** WARNING: ./etc/pam.d/pwauth is executable but has empty or no shebang, removing executable bit Processing files: pwauth-2.3.10-11.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lTtvDC + umask 022 + cd /builddir/build/BUILD + cd pwauth-2.3.10 + DOCDIR=/builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64/usr/share/doc/pwauth + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64/usr/share/doc/pwauth + cp -pr CHANGES /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64/usr/share/doc/pwauth + cp -pr INSTALL /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64/usr/share/doc/pwauth + cp -pr README /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64/usr/share/doc/pwauth + exit 0 Provides: pwauth = 2.3.10-11.fc28 pwauth(riscv-64) = 2.3.10-11.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl 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) libdl.so.2()(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pwauth-2.3.10-11.fc28.riscv64 Wrote: /builddir/build/SRPMS/pwauth-2.3.10-11.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pwauth-2.3.10-11.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.i39J4h + umask 022 + cd /builddir/build/BUILD + cd pwauth-2.3.10 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff