Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/clamsmtp.spec'], chrootPath='/var/lib/mock/f41-build-50544332-6052668/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': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mmnfdgql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mmnfdgql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8f00b53ca4014749b195b7e7b54bd311', '-D', '/var/lib/mock/f41-build-50544332-6052668/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mmnfdgql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1689724800 Wrote: /builddir/build/SRPMS/clamsmtp-1.10-40.fc41.src.rpm RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/clamsmtp.spec'], chrootPath='/var/lib/mock/f41-build-50544332-6052668/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': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mmnfdgql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mmnfdgql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3ceba37c6d104fabb950a38bc95bbbd4', '-D', '/var/lib/mock/f41-build-50544332-6052668/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mmnfdgql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0h5aD4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf clamsmtp-1.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clamsmtp-1.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd clamsmtp-1.10 + rm -rf /builddir/build/BUILD/clamsmtp-1.10-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/clamsmtp-1.10-SPECPARTS + /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 -f -p0 -b --suffix .man --fuzz=0 patching file doc/clamsmtpd.8 Patch #1 (clamsmtp-readme.patch): + echo 'Patch #1 (clamsmtp-readme.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -p1 -b --suffix .include_order --fuzz=0 patching file common/smtppass.c patching file common/usuals.h patching file configure.in Patch #3 (clamsmtp-autoconf-c99.patch): + echo 'Patch #3 (clamsmtp-autoconf-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .autoconf-c99 --fuzz=0 patching file acsite.m4 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HzhwzW + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clamsmtp-1.10 + autoreconf -vi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf configure.in:40: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.in:40: the top level configure.in:46: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:46: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:745: AM_CONFIG_HEADER is expanded from... configure.in:46: the top level configure.in:58: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:58: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:58: the top level configure.in:68: warning: The macro 'AC_LANG_C' is obsolete. configure.in:68: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... acsite.m4:4: ACX_PTHREAD is expanded from... configure.in:68: the top level configure.in:68: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:68: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... acsite.m4:4: ACX_PTHREAD is expanded from... configure.in:68: the top level configure.in:78: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:78: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:78: the top level configure.in:106: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:106: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acsite.m4:202: AC_CHECK_GLOBAL is expanded from... configure.in:106: the top level configure.in:116: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:116: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:116: the top level autoreconf: running: /usr/bin/autoheader autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: automake --add-missing --copy --no-force automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:40: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:40: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:49: installing './compile' src/Makefile.am:4: warning: source file '../common/spio.c' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least one source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. src/Makefile.am:4: warning: source file '../common/smtppass.c' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled src/Makefile.am:4: warning: source file '../common/stringx.c' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled src/Makefile.am:4: warning: source file '../common/sock_any.c' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled src/Makefile.am:4: warning: source file '../common/compat.c' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Leaving directory '.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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.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-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-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 --runstatedir=/run --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 /builddir/build/BUILD/clamsmtp-1.10/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/clamsmtp-1.10/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for ppc64le-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for getsockname in -lsocket... no checking for getaddrinfo in -lnsl... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for limits.h... yes checking for err.h... yes checking for paths.h... yes checking for unistd.h... (cached) yes checking for stdio.h... (cached) yes checking for stddef.h... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for assert.h... yes checking for errno.h... yes checking for stdarg.h... yes checking for string.h... (cached) 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 for gcc options needed to detect all undeclared functions... none needed checking whether PTHREAD_MUTEX_ERRORCHECK_NP is declared... yes checking for struct tm.tm_gmtoff... yes checking for global variable __argv... no checking for memset... yes checking for strerror... yes checking for malloc... yes checking for realloc... yes checking for getopt... yes checking for strchr... yes checking for tolower... yes checking for getaddrinfo... yes checking for strlwr... no checking for strlcat... yes checking for strlcpy... yes checking for strncat... yes checking for strncpy... yes checking for strcasestr... yes checking for setenv... yes checking for daemon... yes checking for getline... yes checking for getdelim... yes checking for flockfile... yes checking that generated files are newer than configure... done 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 -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -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: error: passing argument 3 of ‘getsockname’ from incompatible pointer type [-Wincompatible-pointer-types] 124 | if(getsockname(fd, &SANY_ADDR(locaddr), &SANY_LEN(locaddr)) == -1 || In file included from ../common/spio.c:46: /usr/include/sys/socket.h:117:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../common/spio.c:139:43: error: passing argument 3 of ‘getpeername’ from incompatible pointer type [-Wincompatible-pointer-types] 139 | if(getpeername(fd, &SANY_ADDR(*peer), &SANY_LEN(*peer)) == -1 || /usr/include/sys/socket.h:131:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ make[2]: *** [Makefile:416: clamsmtpd-spio.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-stringx.o `test -f '../common/stringx.c' || echo './'`../common/stringx.c make[2]: Leaving directory '/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-sock_any.o `test -f '../common/sock_any.c' || echo './'`../common/sock_any.c make[2]: Leaving directory '/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -c -o clamsmtpd-compat.o `test -f '../common/compat.c' || echo './'`../common/compat.c make[2]: Leaving directory '/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -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:324:12: note: declared here 324 | 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); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c: In function ‘thread_main’: ../common/smtppass.c:692:5: warning: ‘siginterrupt’ is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 692 | siginterrupt(SIGINT, 1); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | 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); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | 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: error: 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:257:46: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../common/smtppass.c: In function ‘sp_setup_forked’: ../common/smtppass.c:1777:5: warning: ‘siginterrupt’ is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 1777 | siginterrupt(SIGINT, 0); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | 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); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ ../common/smtppass.c: In function ‘connection_loop’: ../common/smtppass.c: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:430: clamsmtpd-smtppass.o] Error 1 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -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[1]: *** [Makefile:369: all-recursive] Error 1 make: *** [Makefile:310: all] Error 2 RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.HzhwzW (%build) %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.HzhwzW (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 3ceba37c6d104fabb950a38bc95bbbd4 -D /var/lib/mock/f41-build-50544332-6052668/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.mmnfdgql:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/clamsmtp.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 3ceba37c6d104fabb950a38bc95bbbd4 -D /var/lib/mock/f41-build-50544332-6052668/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.mmnfdgql:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/clamsmtp.spec'