Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/clamsmtp.spec'], chrootPath='/var/lib/mock/f29-build-12983355-948722/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/clamsmtp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/clamsmtp-1.10-26.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/clamsmtp.spec'], chrootPath='/var/lib/mock/f29-build-12983355-948722/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/clamsmtp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ik1NAH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf clamsmtp-1.10 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/clamsmtp-1.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd clamsmtp-1.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (clamsmtp-man.patch):' Patch #0 (clamsmtp-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .man --fuzz=0 patching file doc/clamsmtpd.8 + echo 'Patch #1 (clamsmtp-readme.patch):' Patch #1 (clamsmtp-readme.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .readme --fuzz=0 patching file README + echo 'Patch #2 (clamsmtp-include_order.patch):' Patch #2 (clamsmtp-include_order.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .include_order --fuzz=0 patching file common/smtppass.c patching file common/usuals.h patching file configure.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YJlJQm + umask 022 + cd /builddir/build/BUILD + cd clamsmtp-1.10 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -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 aarch64-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 ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-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... gcc checking for getsockname in -lsocket... no checking for getaddrinfo in -lnsl... no checking how to run the C preprocessor... 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... no checking for strlcpy... no 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 + /usr/bin/make -O -j4 cd . && /bin/sh /builddir/build/BUILD/clamsmtp-1.10/missing --run aclocal-1.10 /builddir/build/BUILD/clamsmtp-1.10/missing: line 54: aclocal-1.10: command not found WARNING: `aclocal-1.10' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh /builddir/build/BUILD/clamsmtp-1.10/missing --run autoconf /builddir/build/BUILD/clamsmtp-1.10/missing: line 54: autoconf: command not found WARNING: `autoconf' is missing on your system. You should only need it if you modified `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. cd . && /bin/sh /builddir/build/BUILD/clamsmtp-1.10/missing --run automake-1.10 --gnu /builddir/build/BUILD/clamsmtp-1.10/missing: line 54: automake-1.10: command not found WARNING: `automake-1.10' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info build_alias=aarch64-redhat-linux-gnu host_alias=aarch64-redhat-linux-gnu CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -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 aarch64-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 ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-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... gcc checking for getsockname in -lsocket... no checking for getaddrinfo in -lnsl... no checking how to run the C preprocessor... 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... no checking for strlcpy... no 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 /bin/sh ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands cd . && /bin/sh /builddir/build/BUILD/clamsmtp-1.10/missing --run autoheader rm -f stamp-h1 touch config.h.in /builddir/build/BUILD/clamsmtp-1.10/missing: line 54: autoheader: command not found WARNING: `autoheader' is missing on your system. You should only need it if you modified `acconfig.h' or `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 '/builddir/build/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 '/builddir/build/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 '/builddir/build/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 '/builddir/build/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/src' NOTE: Ignore any warnings about mktemp(). It's used safely in this case. make[2]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10/src' make[2]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 '/builddir/build/BUILD/clamsmtp-1.10/src' ../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]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-smtppass.o `test -f '../common/smtppass.c' || echo './'`../common/smtppass.c make[2]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10/src' ../common/smtppass.c: In function 'sp_init': ../common/smtppass.c:219:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r; ^ ../common/smtppass.c: In function 'thread_main': ../common/smtppass.c:730:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void*)(ret == 0 ? 0 : 1); ^ ../common/smtppass.c: In function 'make_connections': ../common/smtppass.c:758: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:47: /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:540: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:557:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, SMTP_STARTBUSY, KL(SMTP_STARTBUSY)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from ../common/usuals.h:49, from ../common/smtppass.c:43: In function 'strncat', inlined from 'vmessage' at ../common/smtppass.c:1843:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 1024 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/smtppass.c: In function 'sp_done_data': ../common/smtppass.c:1655: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]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/src' gcc -I../common/ -I../ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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: clamsmtpd-clamsmtpd.o: in function `virus_action': /builddir/build/BUILD/clamsmtp-1.10/src/clamsmtpd.c:730: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10/src' Making all in doc make[2]: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eqJMFT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64 ++ dirname /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64 + cd clamsmtp-1.10 + rm -rf /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64 + make install DESTDIR=/builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/src' NOTE: Ignore any warnings about mktemp(). It's used safely in this case. make[2]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/src' test -z "/usr/sbin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/sbin" install -p 'clamsmtpd' '/builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/sbin/clamsmtpd' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10/src' make[1]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10/src' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/doc' make[2]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/doc' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man5" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/share/man/man5" install -p -m 644 './clamsmtpd.conf.5' '/builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/share/man/man5/clamsmtpd.conf.5' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/share/man/man8" install -p -m 644 './clamsmtpd.8' '/builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/share/man/man8/clamsmtpd.8' make[2]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10/doc' make[1]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10/doc' make[1]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/clamsmtp-1.10' make[1]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10' + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/etc + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/var/run/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/var/log/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/var/lib/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/var/run/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/var/run/clamsmtpd + install -Dp -m0644 /builddir/build/SOURCES/clamsmtpd.service /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/lib/systemd/system/clamsmtpd.service + install -Dp -m0644 /builddir/build/SOURCES/clamsmtpd.conf /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/etc/clamsmtpd.conf + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-clamd.logrotate /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/etc/logrotate.d/clamsmtp + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-clamd.service /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/lib/systemd/system/clamsmtp-clamd.service + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-clamd.conf /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/etc/clamd.d/clamsmtp.conf + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-tmpfile.conf /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/lib/tmpfiles.d/clamsmtp.conf + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.10-26.fc29 --unique-debug-suffix -1.10-26.fc29.aarch64 --unique-debug-src-base clamsmtp-1.10-26.fc29.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/clamsmtp-1.10 extracting debug info from /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/sbin/clamsmtpd /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 286 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: clamsmtp-1.10-26.fc29.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dnyv8D + umask 022 + cd /builddir/build/BUILD + cd clamsmtp-1.10 + DOCDIR=/builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/share/doc/clamsmtp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/share/doc/clamsmtp + cp -pr AUTHORS /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/share/doc/clamsmtp + cp -pr COPYING /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/share/doc/clamsmtp + cp -pr README /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64/usr/share/doc/clamsmtp + exit 0 Provides: clamsmtp = 1.10-26.fc29 clamsmtp(aarch-64) = 1.10-26.fc29 config(clamsmtp) = 1.10-26.fc29 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh chkconfig systemd-sysv Requires(preun): /bin/sh chkconfig initscripts Requires(postun): /bin/sh initscripts Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: clamsmtp-debugsource-1.10-26.fc29.aarch64 Provides: clamsmtp-debugsource = 1.10-26.fc29 clamsmtp-debugsource(aarch-64) = 1.10-26.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clamsmtp-debuginfo-1.10-26.fc29.aarch64 Provides: clamsmtp-debuginfo = 1.10-26.fc29 clamsmtp-debuginfo(aarch-64) = 1.10-26.fc29 debuginfo(build-id) = f4d7aa0eb068c40a37ba0e27e53618d81d6f8ae6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamsmtp-debugsource(aarch-64) = 1.10-26.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64 Wrote: /builddir/build/RPMS/clamsmtp-1.10-26.fc29.aarch64.rpm Wrote: /builddir/build/RPMS/clamsmtp-debugsource-1.10-26.fc29.aarch64.rpm Wrote: /builddir/build/RPMS/clamsmtp-debuginfo-1.10-26.fc29.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RczxsE + umask 022 + cd /builddir/build/BUILD + cd clamsmtp-1.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/clamsmtp-1.10-26.fc29.aarch64 + exit 0 Child return code was: 0