<86>Oct 29 15:20:56 userdel[350461]: delete user 'rooter' <86>Oct 29 15:20:56 userdel[350461]: removed group 'rooter' owned by 'rooter' <86>Oct 29 15:20:56 userdel[350461]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 29 15:20:56 groupadd[350508]: group added to /etc/group: name=rooter, GID=1829 <86>Oct 29 15:20:56 groupadd[350508]: group added to /etc/gshadow: name=rooter <86>Oct 29 15:20:56 groupadd[350508]: new group: name=rooter, GID=1829 <86>Oct 29 15:20:56 useradd[350556]: new user: name=rooter, UID=1829, GID=1829, home=/root, shell=/bin/bash, from=none <86>Oct 29 15:20:56 userdel[350590]: delete user 'builder' <86>Oct 29 15:20:56 userdel[350590]: removed group 'builder' owned by 'builder' <86>Oct 29 15:20:56 userdel[350590]: removed shadow group 'builder' owned by 'builder' <86>Oct 29 15:20:56 groupadd[350653]: group added to /etc/group: name=builder, GID=1830 <86>Oct 29 15:20:56 groupadd[350653]: group added to /etc/gshadow: name=builder <86>Oct 29 15:20:56 groupadd[350653]: new group: name=builder, GID=1830 <86>Oct 29 15:20:56 useradd[350697]: new user: name=builder, UID=1830, GID=1830, home=/usr/src, shell=/bin/bash, from=none Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/clamsmtp-1.10-alt4.nosrc.rpm (w1.gzdio) Installing clamsmtp-1.10-alt4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.69477 + 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): + /usr/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.69477 + 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 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ 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' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./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... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/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... /usr/bin/ginstall -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... 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... /usr/bin/grep checking for egrep... /usr/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 -j16 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 -flto=auto -I/usr/local/include -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 -flto=auto -I/usr/local/include -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 -flto=auto -I/usr/local/include -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 -flto=auto -I/usr/local/include -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 -flto=auto -I/usr/local/include -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: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] 124 | if(getsockname(fd, &SANY_ADDR(locaddr), &SANY_LEN(locaddr)) == -1 || In file included from ../common/spio.c:46: /usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../common/spio.c:139:43: error: passing argument 3 of 'getpeername' from incompatible pointer type [-Wincompatible-pointer-types] 139 | if(getpeername(fd, &SANY_ADDR(*peer), &SANY_LEN(*peer)) == -1 || /usr/include/sys/socket.h:131:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ make[2]: *** [Makefile:277: clamsmtpd-spio.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' make[2]: *** Waiting for unfinished jobs.... 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 -flto=auto -I/usr/local/include -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] 228 | int r; | ^ ../common/smtppass.c: In function 'sp_run': ../common/smtppass.c:318:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 318 | siginterrupt(SIGINT, 1); | ^~~~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from ../common/smtppass.c:47: /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c:319:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 319 | siginterrupt(SIGTERM, 1); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c: In function 'thread_main': ../common/smtppass.c:701:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 701 | siginterrupt(SIGINT, 1); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c:702:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 702 | siginterrupt(SIGTERM, 1); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c: In function 'make_connections': ../common/smtppass.c:767:82: error: passing argument 5 of 'getsockopt' from incompatible pointer type [-Wincompatible-pointer-types] 767 | 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:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../common/smtppass.c: In function 'sp_setup_forked': ../common/smtppass.c:1786:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 1786 | siginterrupt(SIGINT, 0); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c:1787:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 1787 | siginterrupt(SIGTERM, 0); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __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] 549 | 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] 566 | write(fd, SMTP_STARTBUSY, KL(SMTP_STARTBUSY)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:291: clamsmtpd-smtppass.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/clamsmtp-1.10/src' make[1]: *** [Makefile:234: all-recursive] Error 1 make: *** [Makefile:173: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.69477 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.69477 (%build) Command exited with non-zero status 1 1.61user 3.27system 0:05.15elapsed 94%CPU (0avgtext+0avgdata 25520maxresident)k 0inputs+0outputs (0major+542197minor)pagefaults 0swaps hsh-rebuild: rebuild of `clamsmtp-1.10-alt4.src.rpm' failed. Command exited with non-zero status 1 0.56user 2.10system 0:10.02elapsed 26%CPU (0avgtext+0avgdata 12308maxresident)k 0inputs+0outputs (0major+87391minor)pagefaults 0swaps