<86>Nov 17 01:53:24 userdel[55173]: delete user 'rooter' <86>Nov 17 01:53:24 groupadd[55286]: group added to /etc/group: name=rooter, GID=591 <86>Nov 17 01:53:24 groupadd[55286]: group added to /etc/gshadow: name=rooter <86>Nov 17 01:53:24 groupadd[55286]: new group: name=rooter, GID=591 <86>Nov 17 01:53:24 useradd[55333]: new user: name=rooter, UID=591, GID=591, home=/root, shell=/bin/bash <86>Nov 17 01:53:24 userdel[55426]: delete user 'builder' <86>Nov 17 01:53:24 userdel[55426]: removed group 'builder' owned by 'builder' <86>Nov 17 01:53:24 userdel[55426]: removed shadow group 'builder' owned by 'builder' <86>Nov 17 01:53:24 groupadd[55505]: group added to /etc/group: name=builder, GID=592 <86>Nov 17 01:53:24 groupadd[55505]: group added to /etc/gshadow: name=builder <86>Nov 17 01:53:24 groupadd[55505]: new group: name=builder, GID=592 <86>Nov 17 01:53:24 useradd[55530]: new user: name=builder, UID=592, GID=592, home=/usr/src, shell=/bin/bash Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/clamsmtp-1.10-alt3.nosrc.rpm Installing clamsmtp-1.10-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.78968 + 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 . + echo 'Patch #0 (clamsmtp-1.9-alt-strncat-buffer-overflow.patch):' Patch #0 (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). + echo 'Patch #1 (clamsmtp-1.10-alt-smtppass.patch):' Patch #1 (clamsmtp-1.10-alt-smtppass.patch): + /usr/bin/patch -p1 patching file common/smtppass.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.78968 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd clamsmtp-1.10 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --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 x86_64-alt-linux-gcc... x86_64-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-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... x86_64-alt-linux-gnu checking host system type... x86_64-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... x86_64-alt-linux-gcc checking for getsockname in -lsocket... no checking for getaddrinfo in -lnsl... no checking how to run the C preprocessor... x86_64-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... yes 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 + make -j8 make all-recursive Making all in src make[2]: 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]: Leaving directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-compat.o `test -f '../common/compat.c' || echo './'`../common/compat.c make[2]: Leaving directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-stringx.o `test -f '../common/stringx.c' || echo './'`../common/stringx.c make[2]: Leaving directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-spio.o `test -f '../common/spio.c' || echo './'`../common/spio.c ../common/spio.c: In function 'spio_attach': ../common/spio.c:124:45: warning: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] if(getsockname(fd, &SANY_ADDR(locaddr), &SANY_LEN(locaddr)) == -1 || In file included from ../common/spio.c:46: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} socklen_t *__restrict __len) __THROW; ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../common/spio.c:139:43: warning: passing argument 3 of 'getpeername' from incompatible pointer type [-Wincompatible-pointer-types] if(getpeername(fd, &SANY_ADDR(*peer), &SANY_LEN(*peer)) == -1 || In file included from ../common/spio.c:46: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} socklen_t *__restrict __len) __THROW; ~~~~~~~~~~~~~~~~~~~~~~^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-clamsmtpd.o `test -f 'clamsmtpd.c' || echo './'`clamsmtpd.c make[2]: Leaving directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-smtppass.o `test -f '../common/smtppass.c' || echo './'`../common/smtppass.c ../common/smtppass.c: In function 'sp_init': ../common/smtppass.c:228:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r; ^ ../common/smtppass.c: In function 'make_connections': ../common/smtppass.c:767:82: warning: passing argument 5 of 'getsockopt' from incompatible pointer type [-Wincompatible-pointer-types] if(getsockopt(ctx->client.fd, SOL_IP, SO_ORIGINAL_DST, &SANY_ADDR(addr), &SANY_LEN(addr)) == -1) In file included from ../common/smtppass.c:49: /usr/include/sys/socket.h:210:32: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} socklen_t *__restrict __optlen) __THROW; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../common/smtppass.c: In function 'connection_loop': ../common/smtppass.c:549:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, SMTP_STARTFAILED, KL(SMTP_STARTFAILED)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/smtppass.c:566:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, SMTP_STARTBUSY, KL(SMTP_STARTBUSY)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/smtppass.c: In function 'sp_done_data': ../common/smtppass.c:1664:20: warning: 'header_len' may be used uninitialized in this function [-Wmaybe-uninitialized] if(spio_write_data_raw(ctx, &(ctx->server), (unsigned char*)header, header_len) == -1 || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' x86_64-alt-linux-gcc -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -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 /usr/bin/ld.default: clamsmtpd-clamsmtpd.o: in function `virus_action': /usr/src/RPM/BUILD/clamsmtp-1.10/src/clamsmtpd.c:730: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' Making all in doc make[2]: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.1592 + 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,desktop) Checking contents of files in /usr/src/tmp/clamsmtp-buildroot/ (default) Compressing files in /usr/src/tmp/clamsmtp-buildroot (auto) Verifying ELF objects in /usr/src/tmp/clamsmtp-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: clamsmtp-1.10-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.3277 + 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: /bin/sh -e /usr/src/tmp/rpm-tmp.n20jWD find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VtTPQS find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.L2yvYa Finding Requires(postun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jSjMcw Requires: clamav, /bin/sh, /etc/rc.d/init.d, /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, /lib64/ld-linux-x86-64.so.2, libc.so.6()(64bit) >= set:pojkwe, libc.so.6(ALT_2.24)(64bit), libc.so.6(GLIBC_2.15)(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), libpthread.so.0(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, /usr/sbin/post_service Requires(postun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lxHuyU Creating clamsmtp-debuginfo package Processing files: clamsmtp-debuginfo-1.10-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.94Cr4l find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jyiEIQ find-requires: running scripts (debuginfo) Requires: clamsmtp = 1.10-alt3, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libpthread.so.0) Adding to clamsmtp-debuginfo a strict dependency on clamsmtp Wrote: /usr/src/RPM/RPMS/x86_64/clamsmtp-1.10-alt3.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/clamsmtp-debuginfo-1.10-alt3.x86_64.rpm 5.34user 2.03system 0:15.70elapsed 46%CPU (0avgtext+0avgdata 38696maxresident)k 0inputs+0outputs (0major+825467minor)pagefaults 0swaps 6.63user 3.99system 0:21.81elapsed 48%CPU (0avgtext+0avgdata 38696maxresident)k 0inputs+0outputs (0major+1017551minor)pagefaults 0swaps