Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/clamsmtp.spec'], chrootPath='/var/lib/mock/f30-build-39264-22541/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=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/clamsmtp-1.10-27.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/clamsmtp.spec'], chrootPath='/var/lib/mock/f30-build-39264-22541/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=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qs8iUO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf clamsmtp-1.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/clamsmtp-1.10.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd clamsmtp-1.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (clamsmtp-man.patch): + echo '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 Patch #2 (clamsmtp-include_order.patch): + echo '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.1142IZ + 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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 riscv64-koji-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... riscv64-koji-linux-gnu checking host system type... riscv64-koji-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 BUILDSTDERR: /builddir/build/BUILD/clamsmtp-1.10/missing: line 54: aclocal-1.10: command not found BUILDSTDERR: WARNING: `aclocal-1.10' is missing on your system. You should only need it if BUILDSTDERR: you modified `acinclude.m4' or `configure.in'. You might want BUILDSTDERR: to install the `Automake' and `Perl' packages. Grab them from BUILDSTDERR: any GNU archive site. cd . && /bin/sh /builddir/build/BUILD/clamsmtp-1.10/missing --run autoconf BUILDSTDERR: /builddir/build/BUILD/clamsmtp-1.10/missing: line 54: autoconf: command not found BUILDSTDERR: WARNING: `autoconf' is missing on your system. You should only need it if BUILDSTDERR: you modified `configure.in'. You might want to install the BUILDSTDERR: `Autoconf' and `GNU m4' packages. Grab them from any GNU BUILDSTDERR: archive site. cd . && /bin/sh /builddir/build/BUILD/clamsmtp-1.10/missing --run automake-1.10 --gnu BUILDSTDERR: /builddir/build/BUILD/clamsmtp-1.10/missing: line 54: automake-1.10: command not found BUILDSTDERR: WARNING: `automake-1.10' is missing on your system. You should only need it if BUILDSTDERR: you modified `Makefile.am', `acinclude.m4' or `configure.in'. BUILDSTDERR: You might want to install the `Automake' and `Perl' packages. BUILDSTDERR: Grab them from any GNU archive site. /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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=riscv64-koji-linux-gnu host_alias=riscv64-koji-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,--as-needed -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 riscv64-koji-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... riscv64-koji-linux-gnu checking host system type... riscv64-koji-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 BUILDSTDERR: /builddir/build/BUILD/clamsmtp-1.10/missing: line 54: autoheader: command not found BUILDSTDERR: WARNING: `autoheader' is missing on your system. You should only need it if BUILDSTDERR: you modified `acconfig.h' or `configure.in'. You might want BUILDSTDERR: to install the `Autoconf' and `GNU m4' packages. Grab them BUILDSTDERR: 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-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' BUILDSTDERR: ../common/spio.c: In function 'spio_attach': BUILDSTDERR: ../common/spio.c:124:45: warning: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if(getsockname(fd, &SANY_ADDR(locaddr), &SANY_LEN(locaddr)) == -1 || BUILDSTDERR: In file included from ../common/spio.c:46: BUILDSTDERR: /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 *'} BUILDSTDERR: socklen_t *__restrict __len) __THROW; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: ../common/spio.c:139:43: warning: passing argument 3 of 'getpeername' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if(getpeername(fd, &SANY_ADDR(*peer), &SANY_LEN(*peer)) == -1 || BUILDSTDERR: In file included from ../common/spio.c:46: BUILDSTDERR: /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 *'} BUILDSTDERR: socklen_t *__restrict __len) __THROW; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~^~~~~ 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-smtppass.o `test -f '../common/smtppass.c' || echo './'`../common/smtppass.c make[2]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10/src' BUILDSTDERR: ../common/smtppass.c: In function 'sp_init': BUILDSTDERR: ../common/smtppass.c:219:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int r; BUILDSTDERR: ^ BUILDSTDERR: ../common/smtppass.c: In function 'thread_main': BUILDSTDERR: ../common/smtppass.c:730:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: return (void*)(ret == 0 ? 0 : 1); BUILDSTDERR: ^ BUILDSTDERR: ../common/smtppass.c: In function 'make_connections': BUILDSTDERR: ../common/smtppass.c:758:82: warning: passing argument 5 of 'getsockopt' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if(getsockopt(ctx->client.fd, SOL_IP, SO_ORIGINAL_DST, &SANY_ADDR(addr), &SANY_LEN(addr)) == -1) BUILDSTDERR: In file included from ../common/smtppass.c:47: BUILDSTDERR: /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 *'} BUILDSTDERR: socklen_t *__restrict __optlen) __THROW; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: ../common/smtppass.c: In function 'connection_loop': BUILDSTDERR: ../common/smtppass.c:540:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, SMTP_STARTFAILED, KL(SMTP_STARTFAILED)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../common/smtppass.c:557:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, SMTP_STARTBUSY, KL(SMTP_STARTBUSY)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../common/usuals.h:49, BUILDSTDERR: from ../common/smtppass.c:43: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'vmessage' at ../common/smtppass.c:1843:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 1024 equals destination size [-Wstringop-overflow=] BUILDSTDERR: return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../common/smtppass.c: In function 'sp_done_data': BUILDSTDERR: ../common/smtppass.c:1655:20: warning: 'header_len' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if(spio_write_data_raw(ctx, &(ctx->server), (unsigned char*)header, header_len) == -1 || BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,--as-needed -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 make[2]: Leaving directory '/builddir/build/BUILD/clamsmtp-1.10/src' BUILDSTDERR: /usr/bin/ld: clamsmtpd-clamsmtpd.o: in function `virus_action': BUILDSTDERR: /builddir/build/BUILD/clamsmtp-1.10/src/clamsmtpd.c:730: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' Making all in doc make[2]: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sVLXqP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64 + cd clamsmtp-1.10 + make install DESTDIR=/builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64 '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-27.fc30.riscv64/usr/sbin" install -p 'clamsmtpd' '/builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/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-27.fc30.riscv64/usr/share/man/man5" install -p -m 644 './clamsmtpd.conf.5' '/builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/share/man/man5/clamsmtpd.conf.5' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/share/man/man8" install -p -m 644 './clamsmtpd.8' '/builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/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-27.fc30.riscv64/etc + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/var/run/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/var/log/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/var/lib/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/var/run/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/var/run/clamsmtpd + install -Dp -m0644 /builddir/build/SOURCES/clamsmtpd.service /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/lib/systemd/system/clamsmtpd.service + install -Dp -m0644 /builddir/build/SOURCES/clamsmtpd.conf /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/etc/clamsmtpd.conf + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-clamd.logrotate /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/etc/logrotate.d/clamsmtp + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-clamd.service /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/lib/systemd/system/clamsmtp-clamd.service + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-clamd.conf /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/etc/clamd.d/clamsmtp.conf + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-tmpfile.conf /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/lib/tmpfiles.d/clamsmtp.conf + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.10-27.fc30 --unique-debug-suffix -1.10-27.fc30.riscv64 --unique-debug-src-base clamsmtp-1.10-27.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/clamsmtp-1.10 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/sbin/clamsmtpd extracting debug info from /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/sbin/clamsmtpd /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 286 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: clamsmtp-1.10-27.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.msxFkx + umask 022 + cd /builddir/build/BUILD + cd clamsmtp-1.10 + DOCDIR=/builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/share/doc/clamsmtp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/share/doc/clamsmtp + cp -pr AUTHORS /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/share/doc/clamsmtp + cp -pr README /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/share/doc/clamsmtp + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.d5m5yU + umask 022 + cd /builddir/build/BUILD + cd clamsmtp-1.10 + LICENSEDIR=/builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/share/licenses/clamsmtp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/share/licenses/clamsmtp + cp -pr COPYING /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64/usr/share/licenses/clamsmtp + exit 0 Provides: clamsmtp = 1.10-27.fc30 clamsmtp(riscv-64) = 1.10-27.fc30 config(clamsmtp) = 1.10-27.fc30 Requires(interp): /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 systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: clamsmtp-debugsource-1.10-27.fc30.riscv64 Provides: clamsmtp-debugsource = 1.10-27.fc30 clamsmtp-debugsource(riscv-64) = 1.10-27.fc30 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-27.fc30.riscv64 Provides: clamsmtp-debuginfo = 1.10-27.fc30 clamsmtp-debuginfo(riscv-64) = 1.10-27.fc30 debuginfo(build-id) = fd09d7bec68314cad73847b990249462140816ab Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamsmtp-debugsource(riscv-64) = 1.10-27.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64 Wrote: /builddir/build/RPMS/clamsmtp-1.10-27.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/clamsmtp-debugsource-1.10-27.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/clamsmtp-debuginfo-1.10-27.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xTAcM6 + umask 022 + cd /builddir/build/BUILD + cd clamsmtp-1.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/clamsmtp-1.10-27.fc30.riscv64 + exit 0 Child return code was: 0