Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pwauth.spec'], chrootPath='/var/lib/mock/f30-build-38249-22072/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pwauth.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 Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/pwauth-2.3.10-18.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pwauth.spec'], chrootPath='/var/lib/mock/f30-build-38249-22072/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pwauth.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 Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4kqR6Q + 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 . Patch #1 (pwauth-make.patch): + echo '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). Patch #2 (pwauth-strchr.patch): + echo '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.iYcD5s + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/make -O -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-comment' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-comment -c -o auth_hpux.o auth_hpux.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-comment -c -o main.o main.c BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c:56:13: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int uid,i; BUILDSTDERR: ^ BUILDSTDERR: main.c:56:9: warning: unused variable 'uid' [-Wunused-variable] BUILDSTDERR: int uid,i; BUILDSTDERR: ^~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-comment -c -o lastlog.o lastlog.c BUILDSTDERR: lastlog.c: In function 'lastlog': BUILDSTDERR: lastlog.c:61:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, &ll, sizeof(struct lastlog)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-comment -c -o snooze.o snooze.c 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-comment -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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.pbYbMC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64 + cd pwauth-2.3.10 + mkdir -p /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64/usr/bin /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64/etc/pam.d + install -p -m 4750 -t /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64/usr/bin pwauth + install -p -m 0750 -t /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64/usr/bin unixgroup + install -p -T /builddir/build/SOURCES/pwauth.pam /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64/etc/pam.d/pwauth + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.3.10-18.fc30 --unique-debug-suffix -2.3.10-18.fc30.riscv64 --unique-debug-src-base pwauth-2.3.10-18.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pwauth-2.3.10 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64/usr/bin/pwauth extracting debug info from /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64/usr/bin/pwauth /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 37 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64/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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./etc/pam.d/pwauth is executable but has empty or no shebang, removing executable bit Processing files: pwauth-2.3.10-18.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.S6RKDg + umask 022 + cd /builddir/build/BUILD + cd pwauth-2.3.10 + DOCDIR=/builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.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-18.fc30.riscv64/usr/share/doc/pwauth + cp -pr CHANGES /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64/usr/share/doc/pwauth + cp -pr INSTALL /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64/usr/share/doc/pwauth + cp -pr README /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64/usr/share/doc/pwauth + exit 0 Provides: pwauth = 2.3.10-18.fc30 pwauth(riscv-64) = 2.3.10-18.fc30 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) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) rtld(GNU_HASH) Processing files: pwauth-debugsource-2.3.10-18.fc30.riscv64 Provides: pwauth-debugsource = 2.3.10-18.fc30 pwauth-debugsource(riscv-64) = 2.3.10-18.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pwauth-debuginfo-2.3.10-18.fc30.riscv64 Provides: debuginfo(build-id) = 4a86452f3f4ac40118529aee51f37ede8aeb2939 pwauth-debuginfo = 2.3.10-18.fc30 pwauth-debuginfo(riscv-64) = 2.3.10-18.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pwauth-debugsource(riscv-64) = 2.3.10-18.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64 Wrote: /builddir/build/RPMS/pwauth-2.3.10-18.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/pwauth-debugsource-2.3.10-18.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/pwauth-debuginfo-2.3.10-18.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OumNpx + umask 022 + cd /builddir/build/BUILD + cd pwauth-2.3.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pwauth-2.3.10-18.fc30.riscv64 + exit 0 Child return code was: 0