Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/simscan-toaster.spec'], chrootPath='/var/lib/mock/1220891-epel-6-x86_64-1580824006.394934/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/simscan-toaster.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 warning: Could not canonicalize hostname: ip-172-30-2-217.ec2.internal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/simscan-toaster-1.4.1-1.4.11.kng.el6.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/simscan-toaster.spec'], chrootPath='/var/lib/mock/1220891-epel-6-x86_64-1580824006.394934/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/simscan-toaster.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CKRm8a + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf simscan-1.4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/simscan-1.4.1.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd simscan-1.4.1 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' -f /var/tmp/simscan-1.4.1-gcc ']' + echo gcc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PzRapy + umask 022 + cd /builddir/build/BUILD + cd simscan-1.4.1 + LANG=C + export LANG + unset DISPLAY + aclocal + autoconf + automake --add-missing + autoreconf --install + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --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 --enable-user=clam --enable-attach --enable-ripmime=/usr/bin/ripmime --enable-per-domain --enable-spam --enable-spam-hits=40 --enable-received --enable-clamavdb-path=/usr/share/clamav --enable-custom-smtp-rejectn --enable-clamdscan configure: WARNING: unrecognized options: --enable-custom-smtp-rejectn checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 dependency style of gcc... none checking for strsep... yes checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking whether the clam user exists... yes checking whether we can locate the clamdscan program... yes checking whether we can locate the spamc program... yes checking whether we can locate the qmail directory... yes checking setting the work directory... done checking setting the control directory... done checking whether we can locate the qmail-queue program... yes checking whether we can locate the ripmime program... yes checking whether we can locate the spamassassin-path... yes checking whether we can locate the clamav db path... yes checking whether we can locate the sigtool binary... yes checking enable the regex scanner... no checking whether system has nproc ulimit... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --enable-custom-smtp-rejectn Current settings --------------------------------------- user = clam qmail directory = /var/qmail work directory = /var/qmail/simscan control directory = /var/qmail/control qmail queue program = /var/qmail/bin/qmail-queue clamdscan program = yes clamav scan = ON trophie scanning = OFF attachement scan = ON ripmime program = /usr/bin/ripmime custom smtp reject = OFF drop message = OFF regex scanner = OFF quarantine processing = OFF domain based checking = ON add received header = ON spam scanning = ON spamc program = /usr/bin/spamc spamc arguments = spamc user = OFF authenticated users scanned = OFF spam passthru = OFF spam hits = 40 dspam scanning = OFF + /usr/bin/make /usr/bin/make all-recursive make[1]: Entering directory `/builddir/build/BUILD/simscan-1.4.1' Making all in cdb make[2]: Entering directory `/builddir/build/BUILD/simscan-1.4.1/cdb' ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\'; \ cat find-systype.sh; \ ) | sh > systype ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo 'rm -f "$main"'; \ echo 'ar cr "$main" ${1+"$@"}'; \ case "`cat systype`" in \ sunos-5.*) ;; \ unix_sv*) ;; \ irix64-*) ;; \ irix-*) ;; \ dgux-*) ;; \ hp-ux-*) ;; \ sco*) ;; \ *) echo 'ranlib "$main"' ;; \ esac \ ) > makelib chmod 755 makelib ( cat warn-auto.sh; \ echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' \ ) > compile chmod 755 compile ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo exec "`head -1 conf-ld`" \ '-o "$main" "$main".o ${1+"$@"}' \ ) > load chmod 755 load ( ( ./compile tryulong32.c && ./load tryulong32 && \ ./tryulong32 ) >/dev/null 2>&1 \ && cat uint32.h2 || cat uint32.h1 ) > uint32.h rm -f tryulong32.o tryulong32 ./compile cdb.c ./compile cdb_hash.c ./compile cdb_make.c ./compile cdb_unpack.c ./compile cdb_seek.c ./makelib cdb.a cdb.o cdb_hash.o cdb_make.o cdb_unpack.o cdb_seek.o ./compile strerr_sys.c ./compile buffer.c ./compile buffer_put.c ./compile buffer_2.c ./compile strerr_die.c ./compile buffer_get.c ./compile buffer_copy.c ./compile buffer_1.c ./compile buffer_0.c ./compile buffer_1s.c ./makelib buffer.a strerr_sys.o buffer.o buffer_put.o \ buffer_2.o strerr_die.o buffer_get.o buffer_copy.o \ buffer_1.o buffer_0.o buffer_1s.o ./compile error.c ./compile open_read.c ./compile open_trunc.c ./compile error_str.c ./compile seek_set.c ./compile seek_cur.c ./makelib unix.a error.o open_read.o open_trunc.o \ error_str.o seek_set.o seek_cur.o ./compile byte_copy.c ./compile byte_cr.c ./compile str_len.c ./compile fmt_ulong.c ./compile uint32_unpack.c ./compile byte_diff.c ./compile uint32_pack.c ./compile scan_ulong.c ./makelib byte.a byte_copy.o byte_cr.o str_len.o \ fmt_ulong.o uint32_unpack.o byte_diff.o uint32_pack.o \ scan_ulong.o ./compile alloc.c alloc.c:3: warning: conflicting types for built-in function 'malloc' ./makelib alloc.a alloc.o make[2]: Leaving directory `/builddir/build/BUILD/simscan-1.4.1/cdb' make[2]: Entering directory `/builddir/build/BUILD/simscan-1.4.1' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -c simscan.c simscan.c: In function 'main': simscan.c:368: warning: ignoring return value of 'write', declared with attribute warn_unused_result simscan.c: In function 'check_spam': simscan.c:1364: warning: ignoring return value of 'write', declared with attribute warn_unused_result simscan.c: In function 'check_attach': simscan.c:1734: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' simscan.c:1734: warning: format '%d' expects type 'int', but argument 6 has type 'size_t' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -o simscan simscan.o cdb/cdb.a cdb/buffer.a cdb/unix.a cdb/byte.a cdb/alloc.a gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -c simscanmk.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -o simscanmk simscanmk.o cdb/cdb.a cdb/buffer.a cdb/unix.a cdb/byte.a cdb/alloc.a make[2]: Leaving directory `/builddir/build/BUILD/simscan-1.4.1' make[1]: Leaving directory `/builddir/build/BUILD/simscan-1.4.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xetqWa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 + cd simscan-1.4.1 + LANG=C + export LANG + unset DISPLAY + '[' -n /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 -a /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 + install -d /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail + install -d /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/bin + install -d /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/control + install -d -m750 /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/simscan + install -d /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/usr/share/doc/simscan-1.4.1 + install -d /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/supervise + install -d /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/supervise/clamd + install -d /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/supervise/clamd/log + install -d /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/supervise/clamd/supervise + install -m4711 /builddir/build/BUILD/simscan-1.4.1/simscan /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/bin/simscan + install -m4755 /builddir/build/BUILD/simscan-1.4.1/simscanmk /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/bin/simscanmk + install -m755 /builddir/build/SOURCES/update-simscan /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/bin/update-simscan + install /builddir/build/SOURCES/supervise-clamd.run /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/supervise/clamd/down + perl -pi '-es| clam | clam |' /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/supervise/clamd/down + install /builddir/build/SOURCES/supervise-clamd-log.run /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/supervise/clamd/log/down + for i in AUTHORS ChangeLog README TODO ssattach.example + install -m644 /builddir/build/BUILD/simscan-1.4.1/AUTHORS /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/usr/share/doc/simscan-1.4.1 + for i in AUTHORS ChangeLog README TODO ssattach.example + install -m644 /builddir/build/BUILD/simscan-1.4.1/ChangeLog /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/usr/share/doc/simscan-1.4.1 + for i in AUTHORS ChangeLog README TODO ssattach.example + install -m644 /builddir/build/BUILD/simscan-1.4.1/README /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/usr/share/doc/simscan-1.4.1 + for i in AUTHORS ChangeLog README TODO ssattach.example + install -m644 /builddir/build/BUILD/simscan-1.4.1/TODO /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/usr/share/doc/simscan-1.4.1 + for i in AUTHORS ChangeLog README TODO ssattach.example + install -m644 /builddir/build/BUILD/simscan-1.4.1/ssattach.example /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/usr/share/doc/simscan-1.4.1 + pushd /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/control ~/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64/var/qmail/control ~/build/BUILD/simscan-1.4.1 ~/build/BUILD/simscan-1.4.1 + echo :clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif + popd + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: simscan-toaster-1.4.1-1.4.11.kng.el6.x86_64 Provides: config(simscan-toaster) = 1.4.1-1.4.11.kng.el6 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Obsoletes: clamav-toaster ripmime-toaster Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 warning: Could not canonicalize hostname: ip-172-30-2-217.ec2.internal Wrote: /builddir/build/RPMS/simscan-toaster-1.4.1-1.4.11.kng.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.G7p1Gq + umask 022 + cd /builddir/build/BUILD + cd simscan-1.4.1 + '[' -n /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 -a /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/simscan-1.4.1-1.4.11.kng.el6.x86_64 + '[' -d /builddir/build/BUILD/simscan-1.4.1 ']' + rm -rf /builddir/build/BUILD/simscan-1.4.1 + '[' -f /var/tmp/simscan-1.4.1-gcc ']' + rm -f /var/tmp/simscan-1.4.1-gcc + exit 0 Child return code was: 0