Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/clamsmtp.spec'], chrootPath='/var/lib/mock/f33-build-311058-57399/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=432000uid=987gid=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 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/clamsmtp-1.10-32.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/clamsmtp.spec'], chrootPath='/var/lib/mock/f33-build-311058-57399/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=432000uid=987gid=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 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qLEBXp + 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 . 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.v4mnwq + umask 022 + cd /builddir/build/BUILD + cd clamsmtp-1.10 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 riscv64-redhat-linux-gnu-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-redhat-linux-gnu checking host system type... riscv64-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 V=1 VERBOSE=1 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=riscv64-redhat-linux-gnu --host=riscv64-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=riscv64-redhat-linux-gnu host_alias=riscv64-redhat-linux-gnu CC=gcc CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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-redhat-linux-gnu-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-redhat-linux-gnu checking host system type... riscv64-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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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] 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:26: 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: warning: passing argument 3 of 'getpeername' from incompatible pointer type [-Wincompatible-pointer-types] 139 | 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 *'} 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../common/spio.c: In function 'read_raw': ../common/spio.c:466:21: warning: array subscript 4224 is above array bounds of 'char[4224]' [-Warray-bounds] 466 | io->line[SP_LINE_LENGTH] = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~ In file included from ../common/sppriv.h:42, from ../common/spio.c:64: ../common/smtppass.h:74:10: note: while referencing 'line' 74 | char line[SP_LINE_LENGTH]; | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/clamsmtp-1.10/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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] 219 | int r; | ^ ../common/smtppass.c: In function 'sp_run': ../common/smtppass.c:309:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 309 | siginterrupt(SIGINT, 1); | ^~~~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from ../common/smtppass.c:48: /usr/include/signal.h:311:12: note: declared here 311 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c:310:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 310 | siginterrupt(SIGTERM, 1); | ^~~~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from ../common/smtppass.c:48: /usr/include/signal.h:311:12: note: declared here 311 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c: In function 'thread_main': ../common/smtppass.c:692:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 692 | siginterrupt(SIGINT, 1); | ^~~~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from ../common/smtppass.c:48: /usr/include/signal.h:311:12: note: declared here 311 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c:693:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 693 | siginterrupt(SIGTERM, 1); | ^~~~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from ../common/smtppass.c:48: /usr/include/signal.h:311:12: note: declared here 311 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c:730:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 730 | 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] 758 | 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 *'} 210 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../common/smtppass.c: In function 'sp_setup_forked': ../common/smtppass.c:1777:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 1777 | siginterrupt(SIGINT, 0); | ^~~~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from ../common/smtppass.c:48: /usr/include/signal.h:311:12: note: declared here 311 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c:1778:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 1778 | siginterrupt(SIGTERM, 0); | ^~~~~~~~~~~~ In file included from /usr/include/sys/param.h:28, from ../common/smtppass.c:48: /usr/include/signal.h:311:12: note: declared here 311 | extern int siginterrupt (int __sig, int __interrupt) __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] 540 | 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] 557 | write(fd, SMTP_STARTBUSY, KL(SMTP_STARTBUSY)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, 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:137:10: warning: '__strncat_chk' specified bound 1024 equals destination size [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:137:10: warning: '__strncat_chk' specified bound 1024 equals destination size [-Wstringop-overflow=] ../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] 1655 | 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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' In function 'strncat', inlined from 'vmessage' at ../common/smtppass.c:1843:13: /usr/include/bits/string_fortified.h:137:10: warning: '__builtin___strncat_chk' specified bound 1024 equals destination size [-Wstringop-overflow=] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^ ../common/spio.c: In function 'read_raw': ../common/spio.c:466:38: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 466 | io->line[SP_LINE_LENGTH] = 0; | ^ ../common/smtppass.h:74:10: note: at offset 4224 to object 'line' with size 4224 declared here 74 | char line[SP_LINE_LENGTH]; | ^ /usr/bin/ld: /tmp/clamsmtpd.9O21jC.ltrans0.ltrans.o: in function `.L0 ': /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'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sf0ejo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64 + cd clamsmtp-1.10 + make install DESTDIR=/builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.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-32.fc33.riscv64/usr/sbin" install -p 'clamsmtpd' '/builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.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-32.fc33.riscv64/usr/share/man/man5" install -p -m 644 './clamsmtpd.conf.5' '/builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/share/man/man5/clamsmtpd.conf.5' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/share/man/man8" install -p -m 644 './clamsmtpd.8' '/builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.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-32.fc33.riscv64/etc + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/var/run/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/var/log/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/var/lib/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/var/run/clamd.clamsmtp + mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/var/run/clamsmtpd + install -Dp -m0644 /builddir/build/SOURCES/clamsmtpd.service /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/lib/systemd/system/clamsmtpd.service + install -Dp -m0644 /builddir/build/SOURCES/clamsmtpd.conf /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/etc/clamsmtpd.conf + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-clamd.logrotate /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/etc/logrotate.d/clamsmtp + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-clamd.service /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/lib/systemd/system/clamsmtp-clamd.service + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-clamd.conf /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/etc/clamd.d/clamsmtp.conf + install -Dp -m0644 /builddir/build/SOURCES/clamsmtp-tmpfile.conf /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/lib/tmpfiles.d/clamsmtp.conf + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.10-32.fc33 --unique-debug-suffix -1.10-32.fc33.riscv64 --unique-debug-src-base clamsmtp-1.10-32.fc33.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-32.fc33.riscv64/usr/sbin/clamsmtpd extracting debug info from /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/sbin/clamsmtpd original debug info size: 428kB, size after compression: 420kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 286 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: clamsmtp-1.10-32.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JRx7kr + umask 022 + cd /builddir/build/BUILD + cd clamsmtp-1.10 + DOCDIR=/builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/share/doc/clamsmtp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/share/doc/clamsmtp + cp -pr AUTHORS /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/share/doc/clamsmtp + cp -pr README /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/share/doc/clamsmtp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VapGEn + umask 022 + cd /builddir/build/BUILD + cd clamsmtp-1.10 + LICENSEDIR=/builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/share/licenses/clamsmtp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/share/licenses/clamsmtp + cp -pr COPYING /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64/usr/share/licenses/clamsmtp + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamsmtp = 1.10-32.fc33 clamsmtp(riscv-64) = 1.10-32.fc33 config(clamsmtp) = 1.10-32.fc33 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-32.fc33.riscv64 Provides: clamsmtp-debugsource = 1.10-32.fc33 clamsmtp-debugsource(riscv-64) = 1.10-32.fc33 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-32.fc33.riscv64 Provides: clamsmtp-debuginfo = 1.10-32.fc33 clamsmtp-debuginfo(riscv-64) = 1.10-32.fc33 debuginfo(build-id) = a4f0075229aad7afc52329343c8b4b8562c73952 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-32.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64 Wrote: /builddir/build/RPMS/clamsmtp-1.10-32.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/clamsmtp-debugsource-1.10-32.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/clamsmtp-debuginfo-1.10-32.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yBY0So + umask 022 + cd /builddir/build/BUILD + cd clamsmtp-1.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/clamsmtp-1.10-32.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0