Installing /root/rpmbuild/SRPMS/simscan-toaster-1.4.0-1.4.1.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.21985 + umask 022 + cd /root/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + cd /root/rpmbuild/BUILD + rm -rf simscan-1.4.0 + /bin/gzip -dc /root/rpmbuild/SOURCES/simscan-1.4.0.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd simscan-1.4.0 ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /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/bzip2 -d + patch -p1 -s + STATUS=0 + '[' 0 -ne 0 ']' + echo 'Patch #1 (o_creat.patch.bz2):' Patch #1 (o_creat.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -s + STATUS=0 + '[' 0 -ne 0 ']' + echo 'Patch #2 (simscan-debug.patch):' Patch #2 (simscan-debug.patch): + patch -p1 -s + '[' -f /var/tmp/simscan-1.4.0-gcc ']' + echo gcc + '[' -f /var/tmp/simscan-1.4.0-show_flags ']' + cat + chmod u+x /var/tmp/simscan-1.4.0-show_flags + /var/tmp/simscan-1.4.0-show_flags  RPM RELEASE: simscan-toaster-1.4.0-1.4.1   OS TYPE IS : CentOS 5 Linux   BUILD DATE : Fri Jun 12 2009   CCFLAGS : -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables   LDFLAGS : -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables  + '[' -f /var/tmp/simscan-1.4.0-show_flags ']' + rm -f /var/tmp/simscan-1.4.0-show_flags + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.99686 + umask 022 + cd /root/rpmbuild/BUILD + cd simscan-1.4.0 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export FFLAGS ++ 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 ']' + /bin/rm -f ./config.sub ++ basename ./config.sub + /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 ']' + /bin/rm -f ./config.guess ++ basename ./config.guess + /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess `/usr/lib/rpm/redhat/config.guess' -> `./config.guess' + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-user=clamav --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-reject 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... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking for style of include used by make... GNU checking for i686-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 i686-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 clamav 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 = 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/make cd . && /bin/sh /root/rpmbuild/BUILD/simscan-1.4.0/missing --run aclocal-1.6 cd . && \ /bin/sh /root/rpmbuild/BUILD/simscan-1.4.0/missing --run automake-1.6 --foreign Makefile cd . && /bin/sh /root/rpmbuild/BUILD/simscan-1.4.0/missing --run autoconf cd . && /bin/sh /root/rpmbuild/BUILD/simscan-1.4.0/missing --run autoheader touch ./config.h.in /usr/bin/make all-recursive make[1]: Entering directory `/root/rpmbuild/BUILD/simscan-1.4.0' Making all in cdb make[2]: Entering directory `/root/rpmbuild/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: warning: incompatible implicit declaration of built-in function 'printf' cdb_seek.c:71: warning: incompatible implicit declaration of built-in function 'printf' cdb_seek.c:83: warning: incompatible implicit declaration of built-in function 'printf' cdb_seek.c:87: warning: incompatible implicit declaration of built-in function 'printf' cdb_seek.c:94: warning: incompatible implicit declaration of built-in function 'printf' cdb_seek.c:98: warning: incompatible implicit declaration of built-in function 'printf' cdb_seek.c:104: warning: incompatible implicit declaration of built-in function '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 ./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 `/root/rpmbuild/BUILD/simscan-1.4.0/cdb' make[2]: Entering directory `/root/rpmbuild/BUILD/simscan-1.4.0' gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -c `test -f 'simscan.c' || echo './'`simscan.c simscan.c: In function 'main': simscan.c:755: warning: missing sentinel in function call simscan.c:251: warning: unused variable 'message' simscan.c:560: warning: ignoring return value of 'write', declared with attribute warn_unused_result simscan.c:643: warning: ignoring return value of 'write', declared with attribute warn_unused_result simscan.c:698: warning: ignoring return value of 'write', declared with attribute warn_unused_result simscan.c: In function 'run_ripmime': simscan.c:879: warning: unused variable 'message' simscan.c: In function 'check_clam': simscan.c:924: warning: unused variable 'message' simscan.c: In function 'check_spam': simscan.c:1279: warning: unused variable 'message' simscan.c:1371: warning: ignoring return value of 'write', declared with attribute warn_unused_result simscan.c: In function 'per_domain_lookup': simscan.c:1777: warning: 'val' may be used uninitialized in this function gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -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. -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -c `test -f 'simscanmk.c' || echo './'`simscanmk.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -o simscanmk simscanmk.o cdb/cdb.a cdb/buffer.a cdb/unix.a cdb/byte.a cdb/alloc.a make[2]: Leaving directory `/root/rpmbuild/BUILD/simscan-1.4.0' make[1]: Leaving directory `/root/rpmbuild/BUILD/simscan-1.4.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.85109 + umask 022 + cd /root/rpmbuild/BUILD + cd simscan-1.4.0 + LANG=C + export LANG + unset DISPLAY + '[' -n /var/tmp/simscan-toaster-1.4.0-root -a /var/tmp/simscan-toaster-1.4.0-root '!=' / ']' + rm -rf /var/tmp/simscan-toaster-1.4.0-root + mkdir -p /var/tmp/simscan-toaster-1.4.0-root + install -d -o root -g root /var/tmp/simscan-toaster-1.4.0-root/var/qmail + install -d -o root -g root /var/tmp/simscan-toaster-1.4.0-root/var/qmail/bin + install -d -o root -g root /var/tmp/simscan-toaster-1.4.0-root/var/qmail/control + install -d -m750 -o clamav -g root /var/tmp/simscan-toaster-1.4.0-root/var/qmail/simscan + install -d -o root -g root /var/tmp/simscan-toaster-1.4.0-root/usr/share/doc/simscan-1.4.0 + install -m4711 -o clamav -g root /root/rpmbuild/BUILD/simscan-1.4.0/simscan /var/tmp/simscan-toaster-1.4.0-root/var/qmail/bin/simscan + install -m4755 -o root -g root /root/rpmbuild/BUILD/simscan-1.4.0/simscanmk /var/tmp/simscan-toaster-1.4.0-root/var/qmail/bin/simscanmk + install -m755 -o root -g root /root/rpmbuild/SOURCES/update-simscan.bz2 /var/tmp/simscan-toaster-1.4.0-root/var/qmail/bin/update-simscan.bz2 + bunzip2 /var/tmp/simscan-toaster-1.4.0-root/var/qmail/bin/update-simscan.bz2 + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 -o 0 -g 0 /root/rpmbuild/BUILD/simscan-1.4.0/AUTHORS /var/tmp/simscan-toaster-1.4.0-root/usr/share/doc/simscan-1.4.0 + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 -o 0 -g 0 /root/rpmbuild/BUILD/simscan-1.4.0/ChangeLog /var/tmp/simscan-toaster-1.4.0-root/usr/share/doc/simscan-1.4.0 + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 -o 0 -g 0 /root/rpmbuild/BUILD/simscan-1.4.0/INSTALL /var/tmp/simscan-toaster-1.4.0-root/usr/share/doc/simscan-1.4.0 + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 -o 0 -g 0 /root/rpmbuild/BUILD/simscan-1.4.0/README /var/tmp/simscan-toaster-1.4.0-root/usr/share/doc/simscan-1.4.0 + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 -o 0 -g 0 /root/rpmbuild/BUILD/simscan-1.4.0/TODO /var/tmp/simscan-toaster-1.4.0-root/usr/share/doc/simscan-1.4.0 + for i in AUTHORS ChangeLog INSTALL README TODO ssattach.example + install -m644 -o 0 -g 0 /root/rpmbuild/BUILD/simscan-1.4.0/ssattach.example /var/tmp/simscan-toaster-1.4.0-root/usr/share/doc/simscan-1.4.0 + pushd /var/tmp/simscan-toaster-1.4.0-root/var/qmail/control /var/tmp/simscan-toaster-1.4.0-root/var/qmail/control ~/rpmbuild/BUILD/simscan-1.4.0 + echo :clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif + popd ~/rpmbuild/BUILD/simscan-1.4.0 + /usr/lib/rpm/check-rpaths /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/lib/rpm/redhat/brp-java-repack-jars Processing files: simscan-toaster-1.4.0-1.4.1 Provides: config(simscan-toaster) = 1.4.0-1.4.1 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: /bin/sh clamav-toaster config(simscan-toaster) = 1.4.0-1.4.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) qmail-toaster >= 1.03-1.2.4 ripmime-toaster rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/simscan-toaster-1.4.0-root Wrote: /root/rpmbuild/RPMS/i386/simscan-toaster-1.4.0-1.4.1.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.95595 + umask 022 + cd /root/rpmbuild/BUILD + cd simscan-1.4.0 + '[' -n /var/tmp/simscan-toaster-1.4.0-root -a /var/tmp/simscan-toaster-1.4.0-root '!=' / ']' + rm -rf /var/tmp/simscan-toaster-1.4.0-root + '[' -d /root/rpmbuild/BUILD/simscan-1.4.0 ']' + rm -rf /root/rpmbuild/BUILD/simscan-1.4.0 + '[' -f /var/tmp/simscan-1.4.0-gcc ']' + rm -f /var/tmp/simscan-1.4.0-gcc + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.95595 + umask 022 + cd /root/rpmbuild/BUILD + rm -rf simscan-1.4.0 + exit 0