<86>Dec 20 08:14:34 userdel[3402615]: delete user 'rooter'
<86>Dec 20 08:14:34 userdel[3402615]: removed group 'rooter' owned by 'rooter'
<86>Dec 20 08:14:34 userdel[3402615]: removed shadow group 'rooter' owned by 'rooter'
<86>Dec 20 08:14:34 groupadd[3402620]: group added to /etc/group: name=rooter, GID=627
<86>Dec 20 08:14:34 groupadd[3402620]: group added to /etc/gshadow: name=rooter
<86>Dec 20 08:14:34 groupadd[3402620]: new group: name=rooter, GID=627
<86>Dec 20 08:14:34 useradd[3402624]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash
<86>Dec 20 08:14:34 userdel[3402631]: delete user 'builder'
<86>Dec 20 08:14:34 userdel[3402631]: removed group 'builder' owned by 'builder'
<86>Dec 20 08:14:34 userdel[3402631]: removed shadow group 'builder' owned by 'builder'
<86>Dec 20 08:14:34 groupadd[3402636]: group added to /etc/group: name=builder, GID=628
<86>Dec 20 08:14:34 groupadd[3402636]: group added to /etc/gshadow: name=builder
<86>Dec 20 08:14:34 groupadd[3402636]: new group: name=builder, GID=628
<86>Dec 20 08:14:34 useradd[3402642]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/clamsmtp-1.10-alt3.nosrc.rpm
Installing clamsmtp-1.10-alt3.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.80554
+ 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.80554
+ 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 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=' -march=i586 -mtune=generic'
+ 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'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ ./configure --build=i586-alt-linux --host=i586-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=/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 i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes
checking for i586-alt-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i586-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... i586-alt-linux-gnu
checking host system type... i586-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... i586-alt-linux-gcc
checking for getsockname in -lsocket... no
checking for getaddrinfo in -lnsl... no
checking how to run the C preprocessor... i586-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'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..    -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..    -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..    -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..    -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-spio.o `test -f '../common/spio.c' || echo './'`../common/spio.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'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..    -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..    -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 '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'
i586-alt-linux-gcc -I../common/ -I../ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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.34794
+ 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)
verify-elf: WARNING: ./usr/sbin/clamsmtpd: uses non-LFS functions: fopen mkstemp
Hardlinking identical .pyc and .pyo files
Processing files: clamsmtp-1.10-alt3
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.472
+ 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.BDnklV
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.8gxMf0
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services)
Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.06PmAx
Finding Requires(postun) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.F98pwx
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, /lib/ld-linux.so.2, libc.so.6 >= set:pojkwe, libc.so.6(ALT_2.24), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.15), 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)
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.6no4YQ
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.sdEMiI
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ilKavR
find-requires: running scripts (debuginfo)
Requires: clamsmtp = 1.10-alt3, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libpthread.so.0)
Adding to clamsmtp-debuginfo a strict dependency on clamsmtp
Wrote: /usr/src/RPM/RPMS/i586/clamsmtp-1.10-alt3.i586.rpm
Wrote: /usr/src/RPM/RPMS/i586/clamsmtp-debuginfo-1.10-alt3.i586.rpm
10.59user 4.63system 0:19.42elapsed 78%CPU (0avgtext+0avgdata 30944maxresident)k
0inputs+0outputs (0major+733820minor)pagefaults 0swaps
12.92user 8.68system 0:24.95elapsed 86%CPU (0avgtext+0avgdata 30944maxresident)k
0inputs+0outputs (0major+911587minor)pagefaults 0swaps