<86>Apr 25 12:46:47 userdel[20713]: delete user `rooter' <86>Apr 25 12:46:47 userdel[20713]: remove group `rooter' <86>Apr 25 12:46:47 groupadd[20714]: new group: name=rooter, gid=501 <86>Apr 25 12:46:47 useradd[20715]: new user: name=rooter, uid=501, gid=501, home=/root, shell=/bin/bash <86>Apr 25 12:46:47 userdel[20717]: delete user `builder' <86>Apr 25 12:46:47 userdel[20717]: remove group `builder' <86>Apr 25 12:46:47 groupadd[20718]: new group: name=builder, gid=502 <86>Apr 25 12:46:47 useradd[20719]: new user: name=builder, uid=502, gid=502, home=/usr/src, shell=/bin/bash Installing clamsmtp-1.10-alt1.src.rpm Building target platforms: ppc Building for target ppc Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.19296 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf clamsmtp-1.10 + echo 'Source #0 (clamsmtp-1.10.tar.gz):' Source #0 (clamsmtp-1.10.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/clamsmtp-1.10.tar.gz + /bin/tar -xf - + cd clamsmtp-1.10 + /bin/chmod -c -Rf u+rwX,go-w . mode of `./common/.svn/all-wcprops' changed to 0644 (rw-r--r--) mode of `./common/.svn/format' changed to 0644 (rw-r--r--) mode of `./common/.svn/entries' changed to 0644 (rw-r--r--) mode of `./common/.svn/prop-base/sock_any.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/prop-base/spio.c.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/prop-base/smtppass.c.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/prop-base/sppriv.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/prop-base/compat.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/prop-base/sock_any.c.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/prop-base/stringx.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/prop-base/compat.c.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/prop-base/usuals.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/prop-base/smtppass.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/prop-base/stringx.c.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/text-base/sock_any.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/text-base/spio.c.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/text-base/smtppass.c.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/text-base/sppriv.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/text-base/compat.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/text-base/sock_any.c.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/text-base/stringx.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/text-base/compat.c.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/text-base/usuals.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/text-base/smtppass.h.svn-base' changed to 0644 (rw-r--r--) mode of `./common/.svn/text-base/stringx.c.svn-base' changed to 0644 (rw-r--r--) mode of `./scripts/.svn/all-wcprops' changed to 0644 (rw-r--r--) mode of `./scripts/.svn/format' changed to 0644 (rw-r--r--) mode of `./scripts/.svn/entries' changed to 0644 (rw-r--r--) mode of `./scripts/.svn/prop-base/virus_action.sh.svn-base' changed to 0644 (rw-r--r--) mode of `./scripts/.svn/prop-base/clamsmtpd.sh.svn-base' changed to 0644 (rw-r--r--) mode of `./scripts/.svn/text-base/virus_action.sh.svn-base' changed to 0644 (rw-r--r--) mode of `./scripts/.svn/text-base/clamsmtpd.sh.svn-base' changed to 0644 (rw-r--r--) + echo 'Patch #0 (clamsmtp-1.6-alt-mkstemp.patch):' Patch #0 (clamsmtp-1.6-alt-mkstemp.patch): + /usr/bin/patch -p1 patching file src/clamsmtpd.c Hunk #1 succeeded at 727 (offset 60 lines). + echo 'Patch #2 (clamsmtp-1.9-alt-strncat-buffer-overflow.patch):' Patch #2 (clamsmtp-1.9-alt-strncat-buffer-overflow.patch): + /usr/bin/patch -p1 patching file common/smtppass.c Hunk #1 succeeded at 1840 (offset 23 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.19296 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd clamsmtp-1.10 + CFLAGS='-pipe -Wall -O2 -fsigned-char' + export CFLAGS + CXXFLAGS='-pipe -Wall -O2 -fsigned-char' + export CXXFLAGS + FFLAGS='-pipe -Wall -O2 -fsigned-char' + export FFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + '[' -f configure.ac -o -f configure.in ']' + libtoolize --copy --force Remember to add `AC_PROG_LIBTOOL' to `configure.in'. You should update your `aclocal.m4' by running aclocal. + ./configure --build=ppc-alt-linux --host=ppc-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext checking for a BSD-compatible install... /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 for ppc-alt-linux-gcc... ppc-alt-linux-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 ppc-alt-linux-gcc accepts -g... yes checking for ppc-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of ppc-alt-linux-gcc... none checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... powerpc-alt-linux-gnu checking host system type... powerpc-alt-linux-gnu checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... ppc-alt-linux-gcc checking for getsockname in -lsocket... no checking for getaddrinfo in -lnsl... yes checking how to run the C preprocessor... ppc-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for unistd.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for linux/netfilter_ipv4.h... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether PTHREAD_MUTEX_ERRORCHECK_NP is declared... yes checking for struct tm.tm_gmtoff... yes checking for global variable __argv... no checking for memset... yes checking for strerror... yes checking for malloc... yes checking for realloc... yes checking for getopt... yes checking for strchr... yes checking for tolower... yes checking for getaddrinfo... yes checking for strlwr... no checking for strlcat... yes checking for strlcpy... yes checking for strncat... yes checking for strncpy... yes checking for strcasestr... yes checking for setenv... yes checking for daemon... yes checking for getline... yes checking for getdelim... yes checking for flockfile... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands + '[' -n '' ']' + NPROCS=48 + make -j48 make: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10' make all-recursive make[1]: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10' Making all in src make[2]: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10/src' ppc-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -Wall -O2 -fsigned-char -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-clamsmtpd.o `test -f 'clamsmtpd.c' || echo './'`clamsmtpd.c ppc-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -Wall -O2 -fsigned-char -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-spio.o `test -f '../common/spio.c' || echo './'`../common/spio.c ppc-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -Wall -O2 -fsigned-char -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-smtppass.o `test -f '../common/smtppass.c' || echo './'`../common/smtppass.c ppc-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -Wall -O2 -fsigned-char -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-stringx.o `test -f '../common/stringx.c' || echo './'`../common/stringx.c ppc-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -Wall -O2 -fsigned-char -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-sock_any.o `test -f '../common/sock_any.c' || echo './'`../common/sock_any.c ppc-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -Wall -O2 -fsigned-char -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-compat.o `test -f '../common/compat.c' || echo './'`../common/compat.c NOTE: Ignore any warnings about mktemp(). It's used safely in this case. ../common/smtppass.c: In function 'connection_loop': ../common/smtppass.c:540: warning: ignoring return value of 'write', declared with attribute warn_unused_result ../common/smtppass.c:557: warning: ignoring return value of 'write', declared with attribute warn_unused_result ../common/smtppass.c: In function 'sp_write_data': ../common/smtppass.c:1378: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result ../common/spio.c: In function 'read_raw': ../common/spio.c:466: warning: array subscript is above array bounds clamsmtpd.c: In function 'cb_check_data': clamsmtpd.c:352: warning: 'virus' may be used uninitialized in this function ../common/smtppass.c: In function 'sp_done_data': ../common/smtppass.c:1576: warning: 'header_len' may be used uninitialized in this function ppc-alt-linux-gcc -I../common/ -I../ -pipe -Wall -O2 -fsigned-char -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -L/usr/local/lib -o clamsmtpd clamsmtpd-clamsmtpd.o clamsmtpd-spio.o clamsmtpd-smtppass.o clamsmtpd-stringx.o clamsmtpd-sock_any.o clamsmtpd-compat.o -lnsl make[2]: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10/src' Making all in doc make[2]: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10/doc' make[2]: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10' make[2]: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10' make[1]: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10' make: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.58395 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/clamsmtp-buildroot + : + /bin/rm -rf -- /usr/src/tmp/clamsmtp-buildroot + cd clamsmtp-1.10 + make DESTDIR=/usr/src/tmp/clamsmtp-buildroot install make: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10' Making install in src make[1]: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10/src' NOTE: Ignore any warnings about mktemp(). It's used safely in this case. make[2]: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10/src' test -z "/usr/sbin" || /bin/mkdir -p "/usr/src/tmp/clamsmtp-buildroot/usr/sbin" /bin/install -c 'clamsmtpd' '/usr/src/tmp/clamsmtp-buildroot/usr/sbin/clamsmtpd' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10/src' make[1]: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10/src' Making install in doc make[1]: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10/doc' make[2]: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10/doc' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/man/man5" || /bin/mkdir -p "/usr/src/tmp/clamsmtp-buildroot/usr/share/man/man5" /bin/install -c -m 644 './clamsmtpd.conf.5' '/usr/src/tmp/clamsmtp-buildroot/usr/share/man/man5/clamsmtpd.conf.5' test -z "/usr/share/man/man8" || /bin/mkdir -p "/usr/src/tmp/clamsmtp-buildroot/usr/share/man/man8" /bin/install -c -m 644 './clamsmtpd.8' '/usr/src/tmp/clamsmtp-buildroot/usr/share/man/man8/clamsmtpd.8' make[2]: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10/doc' make[1]: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10/doc' make[1]: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10' make[2]: Entering directory `/usr/src/RPM/BUILD/clamsmtp-1.10' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10' make[1]: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10' make: Leaving directory `/usr/src/RPM/BUILD/clamsmtp-1.10' + install -pD -m755 /usr/src/RPM/SOURCES/clamsmtpd.init /usr/src/tmp/clamsmtp-buildroot/etc/rc.d/init.d/clamsmtpd + install -pD -m644 /usr/src/RPM/SOURCES/clamsmtpd.conf /usr/src/tmp/clamsmtp-buildroot/etc/ + mkdir -p /usr/src/tmp/clamsmtp-buildroot/var/run/clamsmtp + install -m644 /usr/src/RPM/SOURCES/clamsmtp-README.ALT-ru_RU.UTF-8 /usr/src/RPM/BUILD/clamsmtp-1.10/README.ALT-ru_RU.UTF-8 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/clamsmtp-buildroot (auto) Verifying and fixing files in /usr/src/tmp/clamsmtp-buildroot (binconfig,pkgconfig,libtool) Compressing files in /usr/src/tmp/clamsmtp-buildroot (auto) Verifying ELF objects in /usr/src/tmp/clamsmtp-buildroot (arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Stripping binaries in /usr/src/tmp/clamsmtp-buildroot (executable,shared) Processing files: clamsmtp-1.10-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.58395 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd clamsmtp-1.10 + DOCDIR=/usr/src/tmp/clamsmtp-buildroot/usr/share/doc/clamsmtp-1.10 + export DOCDIR + rm -rf /usr/src/tmp/clamsmtp-buildroot/usr/share/doc/clamsmtp-1.10 + /bin/mkdir -p /usr/src/tmp/clamsmtp-buildroot/usr/share/doc/clamsmtp-1.10 + cp -prL AUTHORS ChangeLog README README.ALT-ru_RU.UTF-8 /usr/src/tmp/clamsmtp-buildroot/usr/share/doc/clamsmtp-1.10 + chmod -R go-w /usr/src/tmp/clamsmtp-buildroot/usr/share/doc/clamsmtp-1.10 + chmod -R a+rX /usr/src/tmp/clamsmtp-buildroot/usr/share/doc/clamsmtp-1.10 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing(Provides): /bin/sh -e /usr/src/tmp/rpm-tmp.58395 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /usr/lib/rpm/find-provides find-provides: running scripts (alternatives,lib,pam,perl,pkgconfig,python,shell) + exit 0 Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing(Requires(post)): /bin/sh -e /usr/src/tmp/rpm-tmp.21190 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /usr/lib/rpm/find-scriptlet-requires /usr/src/tmp/clamsmtp-buildroot/.post:clamsmtp + exit 0 Finding Requires(postun) (using /usr/lib/rpm/find-scriptlet-requires) Executing(Requires(postun)): /bin/sh -e /usr/src/tmp/rpm-tmp.90049 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /usr/lib/rpm/find-scriptlet-requires /usr/src/tmp/clamsmtp-buildroot/.postun:clamsmtp + exit 0 Finding Requires (using /usr/lib/rpm/find-requires) Executing(Requires): /bin/sh -e /usr/src/tmp/rpm-tmp.91936 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /usr/lib/rpm/find-requires find-requires: running scripts (files,lib,pam,perl,pkgconfig,pkgconfiglib,python,shebang,shell,static,symlinks) + exit 0 Requires(interp): /bin/sh, /bin/sh Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1, rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(post): /bin/sh, /usr/sbin/post_service Requires(postun): /bin/sh, /usr/sbin/preun_service Requires: clamav, /etc/rc.d/init.d(msg_reloading), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib/ld.so.1, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.2.5), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), rtld(GNU_HASH) Finding unpackaged files (using /usr/lib/rpm/check-files) Executing(check-files): /bin/sh -e /usr/src/tmp/rpm-tmp.89364 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /usr/lib/rpm/check-files + exit 0 Wrote: /usr/src/RPM/SRPMS/clamsmtp-1.10-alt1.src.rpm Wrote: /usr/src/RPM/RPMS/ppc/clamsmtp-1.10-alt1.ppc.rpm 7.54user 4.24system 0:16.01elapsed 73%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+918629minor)pagefaults 0swaps