Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/agedu.spec'], chrootPath='/var/lib/mock/f27-build-11639539-866397/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/agedu.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: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/agedu-0-15.20171202.8a8299e.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/agedu.spec'], chrootPath='/var/lib/mock/f27-build-11639539-866397/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/agedu.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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MiIvPj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf agedu-20171202.8a8299e + /usr/bin/gzip -dc /builddir/build/SOURCES/agedu-20171202.8a8299e.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd agedu-20171202.8a8299e + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ziGQdi + umask 022 + cd /builddir/build/BUILD + cd agedu-20171202.8a8299e + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for ppc64le-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking for halibut... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether closedir returns void... no checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for library containing connect... none required checking for library containing inet_ntoa... none required checking for library containing inet_addr... none required checking for library containing gethostbyname... none required checking for library containing getaddrinfo... none required checking for ftruncate... yes checking for fdopendir... yes checking for lstat64... yes checking for stat64... yes checking for memchr... yes checking for munmap... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strerror... yes checking for strrchr... yes checking for strspn... yes checking for strtoul... yes checking for strtoull... yes checking for connect... yes checking for inet_ntoa... yes checking for inet_addr... yes checking for gethostbyname... yes checking for getaddrinfo... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/agedu-20171202.8a8299e' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -c -o agedu.o agedu.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -c -o du.o du.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -c -o alloc.o alloc.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -c -o trie.o trie.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -c -o index.o index.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -c -o html.o html.c html.c: In function 'format_string': html.c:708:30: warning: unused variable 'opt' [-Wunused-variable] struct format_option opt = get_format_option(&stepfmt); ^~~ html.c:684:29: warning: unused variable 'parseret' [-Wunused-variable] unsigned long indexout, parseret; ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -c -o httpd.o httpd.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -c -o fgetline.o fgetline.c httpd.c: In function 'check_owning_uid': httpd.c:392:9: warning: variable 'connected' set but not used [-Wunused-but-set-variable] int connected; ^~~~~~~~~ httpd.c: In function 'run_httpd': httpd.c:755:15: warning: unused variable 'addrlen' [-Wunused-variable] socklen_t addrlen; ^~~~~~~ httpd.c:754:24: warning: unused variable 'addr' [-Wunused-variable] struct sockaddr_in addr; ^~~~ httpd.c:749:9: warning: unused variable 'ret' [-Wunused-variable] int ret, port; ^~~ gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -c -o licence.o licence.c agedu.c: In function 'main': agedu.c:1146:7: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] if (lseek(fd, totalsize-1, SEEK_SET) < 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -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 -m64 -mcpu=power8 -mtune=power8 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o agedu agedu.o du.o alloc.o trie.o index.o html.o httpd.o fgetline.o licence.o make[1]: Leaving directory '/builddir/build/BUILD/agedu-20171202.8a8299e' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tHM12j + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le ++ dirname /builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le + cd agedu-20171202.8a8299e + rm -rf /builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le + make install DESTDIR=/builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le 'INSTALL=install -p' make[1]: Entering directory '/builddir/build/BUILD/agedu-20171202.8a8299e' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le/usr/bin' install -p agedu '/builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le/usr/share/man/man1' install -p -m 644 agedu.1 '/builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/agedu-20171202.8a8299e' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0-15.20171202.8a8299e.fc27 --unique-debug-suffix -0-15.20171202.8a8299e.fc27.ppc64le --unique-debug-src-base agedu-0-15.20171202.8a8299e.fc27.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/agedu-20171202.8a8299e extracting debug info from /builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le/usr/bin/agedu /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 341 blocks + /usr/lib/rpm/check-buildroot + /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 Processing files: agedu-0-15.20171202.8a8299e.fc27.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KABEgm + umask 022 + cd /builddir/build/BUILD + cd agedu-20171202.8a8299e + DOCDIR=/builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le/usr/share/doc/agedu + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le/usr/share/doc/agedu + cp -pr LICENCE /builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le/usr/share/doc/agedu + cp -pr TODO /builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le/usr/share/doc/agedu + exit 0 Provides: agedu = 0-15.20171202.8a8299e.fc27 agedu(ppc-64) = 0-15.20171202.8a8299e.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: agedu-debugsource-0-15.20171202.8a8299e.fc27.ppc64le Provides: agedu-debugsource = 0-15.20171202.8a8299e.fc27 agedu-debugsource(ppc-64) = 0-15.20171202.8a8299e.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: agedu-debuginfo-0-15.20171202.8a8299e.fc27.ppc64le Provides: agedu-debuginfo = 0-15.20171202.8a8299e.fc27 agedu-debuginfo(ppc-64) = 0-15.20171202.8a8299e.fc27 debuginfo(build-id) = 74e236d5e98204d023b997e71e317b330ff5aaa1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: agedu-debugsource(ppc-64) = 0-15.20171202.8a8299e.fc27 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le Wrote: /builddir/build/RPMS/agedu-0-15.20171202.8a8299e.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/agedu-debugsource-0-15.20171202.8a8299e.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/agedu-debuginfo-0-15.20171202.8a8299e.fc27.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.m2IGAo + umask 022 + cd /builddir/build/BUILD + cd agedu-20171202.8a8299e + /usr/bin/rm -rf /builddir/build/BUILDROOT/agedu-0-15.20171202.8a8299e.fc27.ppc64le + exit 0 Child return code was: 0