Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/simscan.spec'], chrootPath='/var/lib/mock/epel-8-x86_64/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=7797gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.37d99lrl:/etc/resolv.conf', '--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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.37d99lrl:/etc/resolv.conf', '--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', '8826ec48e5b943b89ec77f93a2d1b267', '-D', '/var/lib/mock/epel-8-x86_64/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.37d99lrl:/etc/resolv.conf', '--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', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/simscan.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-1.4.0-5.qt.el8.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.spec'], chrootPath='/var/lib/mock/epel-8-x86_64/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=7797gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.37d99lrl:/etc/resolv.conf', '--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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.37d99lrl:/etc/resolv.conf', '--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', '1fa9e73276df4332ba6222b5f2cb1830', '-D', '/var/lib/mock/epel-8-x86_64/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.37d99lrl:/etc/resolv.conf', '--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', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/simscan.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.knck0t + 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 -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd simscan-1.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (simscan-1.4.0-combined.4.patch): + echo 'Patch #0 (simscan-1.4.0-combined.4.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure patching file configure.in patching file simscan.c patching file simscanmk.c Patch #1 (simscan-o_create.patch): + echo 'Patch #1 (simscan-o_create.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file simscanmk.c Hunk #1 succeeded at 131 (offset 1 line). Hunk #2 succeeded at 426 (offset 50 lines). Patch #2 (simscan-nouserchk.patch): + echo 'Patch #2 (simscan-nouserchk.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.in patching file configure Patch #3 (simscan-noripchk.patch): + echo 'Patch #3 (simscan-noripchk.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.in patching file configure + echo 'Patch #4 (simscan-nosapchk.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #4 (simscan-nosapchk.patch): patching file configure.in patching file configure Patch #5 (simscan-nocavdbchk.patch): + echo 'Patch #5 (simscan-nocavdbchk.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.in patching file configure Patch #6 (simscan-nostlchk.patch): + echo 'Patch #6 (simscan-nostlchk.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.in patching file configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sjYSHT + umask 022 + cd /builddir/build/BUILD + cd simscan-1.4.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -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' + for i in $(find $(dirname ./configure) -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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.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-attach --enable-clamdscan=/usr/bin/clamdscan --enable-clamavdb-path=/var/lib/clamav --enable-custom-smtp-reject --enable-per-domain --enable-qmaildir=/var/qmail --enable-qmail-queue=/var/qmail/bin/qmail-queue --enable-received --enable-ripmime=/usr/bin/ripmime --enable-sigtool-path=/usr/bin/sigtool --enable-spam --enable-spam-hits=40 --enable-spamassassin-path=/usr/bin/spamassassin --enable-spamc=/usr/bin/spamc --enable-user=clamav 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 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 = clamav qmail directory = /var/qmail work directory = /var/qmail/simscan control directory = /var/qmail/control qmail queue program = /var/qmail/bin/qmail-queue clamdscan program = /usr/bin/clamdscan clamav scan = ON trophie scanning = OFF attachement scan = ON ripmime program = /usr/bin/ripmime custom smtp reject = ON 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/perl -pi -e 's|-O2|-fPIC -O2|g' cdb/conf-cc + /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 /builddir/build/BUILD/simscan-1.4.0/missing: line 46: autoconf: command not found WARNING: `autoconf' is missing on your system. You should only need it if you modified `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. /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-attach --enable-clamdscan=/usr/bin/clamdscan --enable-clamavdb-path=/var/lib/clamav --enable-custom-smtp-reject --enable-per-domain --enable-qmaildir=/var/qmail --enable-qmail-queue=/var/qmail/bin/qmail-queue --enable-received --enable-ripmime=/usr/bin/ripmime --enable-sigtool-path=/usr/bin/sigtool --enable-spam --enable-spam-hits=40 --enable-spamassassin-path=/usr/bin/spamassassin --enable-spamc=/usr/bin/spamc --enable-user=clamav CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu --no-create --no-recursion 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 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 Current settings --------------------------------------- user = clamav qmail directory = /var/qmail work directory = /var/qmail/simscan control directory = /var/qmail/control qmail queue program = /var/qmail/bin/qmail-queue clamdscan program = /usr/bin/clamdscan clamav scan = ON trophie scanning = OFF attachement scan = ON ripmime program = /usr/bin/ripmime custom smtp reject = ON 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 cd . && /bin/sh /builddir/build/BUILD/simscan-1.4.0/missing --run autoheader /builddir/build/BUILD/simscan-1.4.0/missing: line 46: autoheader: command not found WARNING: `autoheader' is missing on your system. You should only need it if you modified `acconfig.h' or `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. touch ./config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged /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_bread': cdb_seek.c:18:11: warning: implicit declaration of function 'read'; did you mean 'cdb_read'? [-Wimplicit-function-declaration] r = read(fd,buf,len); ^~~~ cdb_read cdb_seek.c: In function 'cdb_seek': cdb_seek.c:65:7: warning: implicit declaration of function 'lseek'; did you mean 'cdb_seek'? [-Wimplicit-function-declaration] if (lseek(fd,(off_t) pos,SEEK_SET) == -1) { ^~~~~ cdb_seek cdb_seek.c:66:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf("cdb_seek error 1\n"); ^~~~~~ cdb_seek.c:66:5: warning: incompatible implicit declaration of built-in function 'printf' cdb_seek.c:66:5: note: include '' or provide a declaration of 'printf' cdb_seek.c:5:1: +#include cdb_seek.c:66:5: printf("cdb_seek error 1\n"); ^~~~~~ cdb_seek.c:71:5: warning: incompatible implicit declaration of built-in function 'printf' printf("cdb_seek error 2\n"); ^~~~~~ cdb_seek.c:71:5: note: include '' or provide a declaration of 'printf' cdb_seek.c:75:9: warning: implicit declaration of function 'cdb_unpack'; did you mean 'cdb_seek'? [-Wimplicit-function-declaration] pos = cdb_unpack(packbuf); ^~~~~~~~~~ cdb_seek cdb_seek.c:83:7: warning: incompatible implicit declaration of built-in function 'printf' printf("cdb_seek error 3\n"); ^~~~~~ cdb_seek.c:83:7: note: include '' or provide a declaration of 'printf' cdb_seek.c:87:7: warning: incompatible implicit declaration of built-in function 'printf' printf("cdb_seek error 4\n"); ^~~~~~ cdb_seek.c:87:7: note: include '' or provide a declaration of 'printf' cdb_seek.c:94:9: warning: incompatible implicit declaration of built-in function 'printf' printf("cdb_seek error 5\n"); ^~~~~~ cdb_seek.c:94:9: note: include '' or provide a declaration of 'printf' cdb_seek.c:98:9: warning: incompatible implicit declaration of built-in function 'printf' printf("cdb_seek error 6\n"); ^~~~~~ cdb_seek.c:98:9: note: include '' or provide a declaration of 'printf' cdb_seek.c:104:13: warning: incompatible implicit declaration of built-in function 'printf' printf("cdb_seek error 7\n"); ^~~~~~ cdb_seek.c:104:13: note: include '' or provide a declaration of 'printf' ./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 seek_set.c: In function 'seek_set': seek_set.c:7:7: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } ^~~~~ ./compile seek_cur.c seek_cur.c: In function 'seek_cur': seek_cur.c:7:10: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] { return lseek(fd,(off_t) 0,CUR); } ^~~~~ ./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' [-Wbuiltin-declaration-mismatch] 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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: In function 'is_clam': simscan.c:1071:12: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(*tmpstr!=':' && tmpstr>clambuf) --tmpstr; ++tmpstr; ^~~~~ simscan.c:1071:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(*tmpstr!=':' && tmpstr>clambuf) --tmpstr; ++tmpstr; ^~ simscan.c: In function 'str_rstr': simscan.c:1761:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(sh=h;*h!=0;++h); --h; ^~~ simscan.c:1761:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(sh=h;*h!=0;++h); --h; ^~ simscan.c:1762:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(sn=n;*n!=0;++n); --n; ^~~ simscan.c:1762:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(sn=n;*n!=0;++n); --n; ^~ simscan.c: In function 'main': simscan.c:366:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd_per,addr_buff+i, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ simscan.c:571:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(4,RejectMsg, strlen(RejectMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simscan.c:654:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(4,RejectMsg, strlen(RejectMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simscan.c:712:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(4,RejectMsg, strlen(RejectMsg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simscan.c: In function 'check_spam': simscan.c:1386:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(spam_fd, buffer,strlen(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simscan.c: In function 'format_dir': simscan.c:1493:37: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2029 [-Wformat-truncation=] snprintf(workdir,BUFFER_SIZE, "%s/%s", WORKDIR, unique_ext); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from simscan.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 20 and 2067 bytes into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simscan.c: In function 'main': simscan.c:313:53: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2044 [-Wformat-truncation=] snprintf(message_name, sizeof(message_name), "msg.%s", unique_ext); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from simscan.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 2052 bytes into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simscan.c:346:48: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2043 [-Wformat-truncation=] snprintf(addr_name, sizeof(addr_name), "addr.%s", unique_ext); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from simscan.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 2053 bytes into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simscan.c:681:69: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2038 [-Wformat-truncation=] snprintf(spam_message_name, sizeof(spam_message_name), "spamc.msg.%s", unique_ext); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from simscan.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 11 and 2058 bytes into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simscan.c:652:56: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 451 [-Wformat-truncation=] "DYour email was rejected because it contains the %s virus", ^~ VirusName ); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from simscan.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 56 and 2103 bytes into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -c `test -f 'simscanmk.c' || echo './'`simscanmk.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.fG4Dvx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64 + cd simscan-1.4.0 + rm -rf /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64 + install -d /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/var/qmail + install -d /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/var/qmail/simscan + install -Dp /builddir/build/SOURCES/update-simscan /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/var/qmail/bin/update-simscan + install -Dp /builddir/build/SOURCES/simcontrol /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/var/qmail/control/simcontrol + install /builddir/build/BUILD/simscan-1.4.0/simscan /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/var/qmail/bin/simscan + install /builddir/build/BUILD/simscan-1.4.0/simscanmk /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/var/qmail/bin/simscanmk + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -Dp /builddir/build/BUILD/simscan-1.4.0/AUTHORS /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/usr/share/doc/simscan-1.4.0/AUTHORS + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -Dp /builddir/build/BUILD/simscan-1.4.0/ChangeLog /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/usr/share/doc/simscan-1.4.0/ChangeLog + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -Dp /builddir/build/BUILD/simscan-1.4.0/INSTALL /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/usr/share/doc/simscan-1.4.0/INSTALL + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -Dp /builddir/build/BUILD/simscan-1.4.0/README /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/usr/share/doc/simscan-1.4.0/README + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -Dp /builddir/build/BUILD/simscan-1.4.0/TODO /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/usr/share/doc/simscan-1.4.0/TODO + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -Dp /builddir/build/BUILD/simscan-1.4.0/ssattach.example /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/usr/share/doc/simscan-1.4.0/ssattach.example + /usr/bin/mkdir /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/etc + touch /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64/etc/ld.so.conf + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs --files ' ./var/qmail/control/simcontrol ./usr/share/doc/simscan-1.4.0/AUTHORS ./usr/share/doc/simscan-1.4.0/ChangeLog ./usr/share/doc/simscan-1.4.0/INSTALL ./usr/share/doc/simscan-1.4.0/README ./usr/share/doc/simscan-1.4.0/TODO ./usr/share/doc/simscan-1.4.0/ssattach.example' Processing files: simscan-1.4.0-5.qt.el8.x86_64 Provides: config(simscan) = 1.4.0-5.qt.el8 simscan = 1.4.0-5.qt.el8 simscan(x86-64) = 1.4.0-5.qt.el8 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64 Wrote: /builddir/build/RPMS/simscan-1.4.0-5.qt.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CHTFUl + umask 022 + cd /builddir/build/BUILD + cd simscan-1.4.0 + rm -rf /builddir/build/BUILDROOT/simscan-1.4.0-5.qt.el8.x86_64 + exit 0 Child return code was: 0