Mock Version: 2.5 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/epel-7-x86_64-1600417002.722551/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fuq5xofi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fuq5xofi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '120738fd01a84cf784197b696854309f', '-D', '/var/lib/mock/epel-7-x86_64-1600417002.722551/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fuq5xofi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/simscan-toaster-1.4.0-1.4.11.kng.el7.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/epel-7-x86_64-1600417002.722551/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fuq5xofi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fuq5xofi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b3d05d8795bf4c7ea20de0eab04bd555', '-D', '/var/lib/mock/epel-7-x86_64-1600417002.722551/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fuq5xofi:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.76N0eJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf simscan-1.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/simscan-1.4.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd simscan-1.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (simscan-1.4.0-combined.4.patch.bz2):' Patch #0 (simscan-1.4.0-combined.4.patch.bz2): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/simscan-1.4.0-combined.4.patch.bz2 patching file configure patching file configure.in patching file simscan.c patching file simscanmk.c Patch #1 (o_creat.patch.bz2): + echo 'Patch #1 (o_creat.patch.bz2):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/o_creat.patch.bz2 patching file simscanmk.c Hunk #1 succeeded at 131 (offset 1 line). Hunk #2 succeeded at 426 (offset 50 lines). + '[' -f /var/tmp/simscan-1.4.0-gcc ']' + echo gcc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DMsAML + umask 022 + cd /builddir/build/BUILD + cd simscan-1.4.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 --enable-user=clamscan --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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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 ANSI C... 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 ANSI C... (cached) none needed checking dependency style of gcc... (cached) none checking whether the clamscan 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 Current settings --------------------------------------- user = clamscan 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 cd . && /bin/sh /builddir/build/BUILD/simscan-1.4.0/missing --run aclocal-1.6 /builddir/build/BUILD/simscan-1.4.0/missing: line 46: aclocal-1.6: command not found WARNING: `aclocal-1.6' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && \ /bin/sh /builddir/build/BUILD/simscan-1.4.0/missing --run automake-1.6 --foreign Makefile /builddir/build/BUILD/simscan-1.4.0/missing: line 46: automake-1.6: command not found WARNING: `automake-1.6' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh /builddir/build/BUILD/simscan-1.4.0/missing --run autoconf /bin/sh ./config.status --recheck running /bin/sh ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 --enable-user=clamscan --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 CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic LDFLAGS=-Wl,-z,relro build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu --no-create --no-recursion 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 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 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 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 clamscan 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 configure: WARNING: unrecognized options: --enable-custom-smtp-rejectn Current settings --------------------------------------- user = clamscan 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 cd . && /bin/sh ./config.status Makefile config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting cd . && /bin/sh /builddir/build/BUILD/simscan-1.4.0/missing --run autoheader touch ./config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h /usr/bin/make all-recursive make[1]: Entering directory `/builddir/build/BUILD/simscan-1.4.0' Making all in cdb make[2]: Entering directory `/builddir/build/BUILD/simscan-1.4.0/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 cdb_seek.c: In function 'cdb_seek': cdb_seek.c:66:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("cdb_seek error 1\n"); ^ cdb_seek.c:71:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("cdb_seek error 2\n"); ^ cdb_seek.c:83:7: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("cdb_seek error 3\n"); ^ cdb_seek.c:87:7: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("cdb_seek error 4\n"); ^ cdb_seek.c:94:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("cdb_seek error 5\n"); ^ cdb_seek.c:98:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("cdb_seek error 6\n"); ^ cdb_seek.c:104:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] printf("cdb_seek error 7\n"); ^ ./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:14: warning: conflicting types for built-in function 'malloc' [enabled by default] extern char *malloc(); ^ ./makelib alloc.a alloc.o make[2]: Leaving directory `/builddir/build/BUILD/simscan-1.4.0/cdb' make[2]: Entering directory `/builddir/build/BUILD/simscan-1.4.0' gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c `test -f 'simscan.c' || echo './'`simscan.c simscan.c: In function 'main': simscan.c:775:7: warning: missing sentinel in function call [-Wformat=] execl(qmail_queue, qmail_queue, 0); ^ simscan.c:366:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd_per,addr_buff+i, 1); ^ simscan.c: In function 'check_spam': simscan.c:1386:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(spam_fd, buffer,strlen(buffer)); ^ simscan.c: In function 'per_domain_lookup': simscan.c:1815:31: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] while ( parm != NULL && val != NULL) { ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wl,-z,relro -o simscan simscan.o cdb/cdb.a cdb/buffer.a cdb/unix.a cdb/byte.a cdb/alloc.a gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -c `test -f 'simscanmk.c' || echo './'`simscanmk.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wl,-z,relro -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.0' make[1]: Leaving directory `/builddir/build/BUILD/simscan-1.4.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IVZSD1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64 + cd simscan-1.4.0 + '[' -n /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64 -a /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64 + install -d /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail + install -d /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/bin + install -d /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/control + install -d -m750 /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/simscan + install -d /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/usr/share/doc/simscan-1.4.0 + install -d /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/supervise + install -d /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/supervise/clamd + install -d /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/supervise/clamd/log + install -d /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/supervise/clamd/supervise + install -m4711 /builddir/build/BUILD/simscan-1.4.0/simscan /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/bin/simscan + install -m4755 /builddir/build/BUILD/simscan-1.4.0/simscanmk /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/bin/simscanmk + install -m755 /builddir/build/SOURCES/update-simscan /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/bin/update-simscan + install /builddir/build/SOURCES/supervise-clamd.run /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/supervise/clamd/down + perl -pi '-es| clam | clamscan |' /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/supervise/clamd/down + install /builddir/build/SOURCES/supervise-clamd-log.run /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/supervise/clamd/log/down + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 /builddir/build/BUILD/simscan-1.4.0/AUTHORS /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/usr/share/doc/simscan-1.4.0 + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 /builddir/build/BUILD/simscan-1.4.0/ChangeLog /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/usr/share/doc/simscan-1.4.0 + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 /builddir/build/BUILD/simscan-1.4.0/INSTALL /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/usr/share/doc/simscan-1.4.0 + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 /builddir/build/BUILD/simscan-1.4.0/README /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/usr/share/doc/simscan-1.4.0 + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 /builddir/build/BUILD/simscan-1.4.0/TODO /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/usr/share/doc/simscan-1.4.0 + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 /builddir/build/BUILD/simscan-1.4.0/ssattach.example /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/usr/share/doc/simscan-1.4.0 + pushd /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/control ~/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64/var/qmail/control ~/build/BUILD/simscan-1.4.0 ~/build/BUILD/simscan-1.4.0 + echo :clam=no,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-comment-note /usr/bin/strip /usr/bin/objdump + /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: simscan-toaster-1.4.0-1.4.11.kng.el7.x86_64 Provides: config(simscan-toaster) = 1.4.0-1.4.11.kng.el7 simscan-toaster = 1.4.0-1.4.11.kng.el7 simscan-toaster(x86-64) = 1.4.0-1.4.11.kng.el7 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.0-1.4.11.kng.el7.x86_64 Wrote: /builddir/build/RPMS/simscan-toaster-1.4.0-1.4.11.kng.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GFkppy + umask 022 + cd /builddir/build/BUILD + cd simscan-1.4.0 + '[' -n /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64 -a /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/simscan-1.4.0-1.4.11.kng.el7.x86_64 + '[' -d /builddir/build/BUILD/simscan-1.4.0 ']' + rm -rf /builddir/build/BUILD/simscan-1.4.0 + '[' -f /var/tmp/simscan-1.4.0-gcc ']' + rm -f /var/tmp/simscan-1.4.0-gcc + exit 0 Child return code was: 0