Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/procmail.spec'], chrootPath='/var/lib/mock/dist-oc9-build-44149-14591/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/procmail.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/procmail-3.22-6.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/procmail.spec'], chrootPath='/var/lib/mock/dist-oc9-build-44149-14591/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/procmail.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AkJIzr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf procmail-3.22 + /usr/bin/gzip -dc /builddir/build/SOURCES/v3.22.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd procmail-3.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-rhconfig.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/procmail-3.15.1-man.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/procmail_3.22-8.debian.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-truncate.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-ipv6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-getline.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-CVE-2014-3618.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-crash-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-CVE-2017-16844.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/procmail-3.22-coverity-scan-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find examples -type f + xargs chmod 644 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VsoEmd + umask 022 + cd /builddir/build/BUILD + cd procmail-3.22 ++ getconf LFS_CFLAGS + make RPM_OPT_FLAGS= autoconf.h /bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" \ "-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lsun -lgen -lsockdns" \ "/lib /usr/lib" \ /dev/null "make" o \ "cc" " " " " "procmail lockfile formail mailstat" \ "procmail formail lockfile" \ "procmailrc procmailsc procmailex" "src man" \ "/usr/bin" \ "strip" cc seems to work fine, using that as the C-compiler ...scanning for 11 libraries... Added LDFLAGS= -lm -lc cd src; make ../autoconf.h make[1]: Entering directory '/builddir/build/BUILD/procmail-3.22/src' /bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f" /dev/null \ "grep -F" "make" o "100 " \ "/usr/bin" ../autoconf.h Using the following directories for the LOCKINGTESTs: 100 Initiating fcntl()/kernel-locking-support tests Proceeding with kernel-locking-support tests in the background Testing for const Testing for volatile Testing for prototypes Testing for enum Checking for POSIX and ANSI/ISO system include files Checking for network/comsat/biff support Testing for void*, size_t, off_t, pid_t, time_t, mode_t, uid_t & gid_t Checking realloc implementation Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WSIGTERM() Testing for various struct passwd members Testing for memmove, strchr, strpbrk, strcspn, strtol, strstr, rename, setrgid, setegid, pow, opendir, mkdir, waitpid, fsync, ftruncate, strtod, strncasecmp, strerror, strlcat, memset, bzero, and _exit Determining the maximum number of 16 byte arguments execv() takes Benchmarking your system's strstr() implementation Collecting results from kernel-locking tests =============================autoconf.h=================================== /* This file was automagically generated by autoconf */ /* 5 moves in 64 steps of size 16384 when reallocing */ #define NOpw_passwd #define NOpw_class #define NOpw_gecos #define NOstrlcat #define NOsetrgid #define GOT_bin_test #define MAX_argc 83765 /* Your system's strstr() is 3.40 times FASTER than my C-routine */ #define setrgid_RUNTIME_CHECK #define MAILSPOOLDIR "/var/spool/mail/" #define SENDMAIL "/usr/sbin/sendmail" #define CF_no_procmail_yet #define defPATH "PATH=$HOME/bin:/bin" #define defSPATH "PATH=/bin" #define PM_VERSION "3.22" /* Hotwire LOCKINGTEST=100 */ /* Procmail will lock via: dotlocking, fcntl() */ /* autoconf completed */ ========================================================================== make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.22/src' ++ getconf LFS_CFLAGS + make 'RPM_OPT_FLAGS=-O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments ' echo Housekeeping file >config.check cd src; make ../new/procmail ../new/lockfile ../new/formail ../new/mailstat make[1]: Entering directory '/builddir/build/BUILD/procmail-3.22/src' cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments procmail.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments cstdio.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments common.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments exopen.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments goodies.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments locking.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments mailfold.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments foldinfo.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments misc.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments pipes.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments regexp.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments robust.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments sublib.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments acommon.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments mcommon.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments lastdirsep.c cc -c -DPROCMAIL -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments authenticate.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments lmtp.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments memblk.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments variables.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments from.c cc -c -O2 -g -pie -Wl,-z,relro,-z,now -Wno-comments comsat.c /usr/bin/ld: setid.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status make[1]: *** [Makefile:248: setid] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/procmail-3.22/src' make: *** [Makefile:148: bins] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.VsoEmd (%build) Bad exit status from /var/tmp/rpm-tmp.VsoEmd (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/procmail.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/procmail.spec