Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/pwauth.spec'], chrootPath='/srv/build/7/B/mock-root/c7-epel-i686/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=21600logger=uid=501) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/pwauth.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/pwauth-2.3.10-9.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/pwauth.spec '], chrootPath='/srv/build/7/B/mock-root/c7-epel-i686/root'shell=Falseuid=501env={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=21600private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/pwauth.spec '] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HpxhNX + 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 -xf - + 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/cat /builddir/build/SOURCES/pwauth-make.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/pwauth-strchr.patch + /usr/bin/patch -p1 -b --suffix .strchr --fuzz=0 patching file main.c + echo 'Patch #3 (pwauth-cleanup.patch):' Patch #3 (pwauth-cleanup.patch): + /usr/bin/cat /builddir/build/SOURCES/pwauth-cleanup.patch + /usr/bin/patch -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.uvtB2d + umask 022 + cd /builddir/build/BUILD + cd pwauth-2.3.10 + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + 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 -j16 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o main.o main.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o auth_aix.o auth_aix.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o auth_bsd.o auth_bsd.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o auth_hpux.o auth_hpux.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o auth_mdw.o auth_mdw.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o auth_openbsd.o auth_openbsd.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o auth_pam.o auth_pam.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o auth_sun.o auth_sun.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o fail_log.o fail_log.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o lastlog.o lastlog.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o nologin.o nologin.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wno-comment -c -o snooze.o snooze.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; ^ lastlog.c: In function 'lastlog': lastlog.c:61:10: 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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.89oVxu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386 ++ dirname /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386 + cd pwauth-2.3.10 + mkdir -p /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386/usr/bin /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386/etc/pam.d + install -p -m 4750 -t /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386/usr/bin pwauth + install -p -m 0750 -t /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386/usr/bin unixgroup + install -p -T /builddir/build/SOURCES/pwauth.pam /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386/etc/pam.d/pwauth + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/pwauth-2.3.10 extracting debug info from /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386/usr/bin/pwauth dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 37 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: pwauth-2.3.10-9.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hxxXAL + umask 022 + cd /builddir/build/BUILD + cd pwauth-2.3.10 + DOCDIR=/builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386/usr/share/doc/pwauth-2.3.10 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386/usr/share/doc/pwauth-2.3.10 + cp -pr CHANGES /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386/usr/share/doc/pwauth-2.3.10 + cp -pr INSTALL /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386/usr/share/doc/pwauth-2.3.10 + cp -pr README /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386/usr/share/doc/pwauth-2.3.10 + exit 0 Provides: pwauth = 2.3.10-9.el7 pwauth(x86-32) = 2.3.10-9.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): httpd perl Requires: /usr/bin/perl libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libdl.so.2 libpam.so.0 libpam.so.0(LIBPAM_1.0) rtld(GNU_HASH) Processing files: pwauth-debuginfo-2.3.10-9.el7.i686 Provides: pwauth-debuginfo = 2.3.10-9.el7 pwauth-debuginfo(x86-32) = 2.3.10-9.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pwauth-2.3.10-9.el7.i386 warning: Could not canonicalize hostname: worker1.bsys.centos.org Wrote: /builddir/build/RPMS/pwauth-2.3.10-9.el7.i686.rpm Wrote: /builddir/build/RPMS/pwauth-debuginfo-2.3.10-9.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5hcmlB + umask 022 + cd /builddir/build/BUILD + cd pwauth-2.3.10 + exit 0 Child return code was: 0 LEAVE do -->