Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/tcl-tcludp.spec'], chrootPath='/var/lib/mock/f43-build-59186467-6571591/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lwzlbnpk:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lwzlbnpk:/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', 'aeb621b37f134fb39b47490daa5bac55', '-D', '/var/lib/mock/f43-build-59186467-6571591/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lwzlbnpk:/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/tcl-tcludp.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 Building target platforms: ppc64le Building for target ppc64le sh: line 1: tclsh: command not found setting SOURCE_DATE_EPOCH=1737244800 Wrote: /builddir/build/SRPMS/tcl-tcludp-1.0.11-22.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/tcl-tcludp.spec'], chrootPath='/var/lib/mock/f43-build-59186467-6571591/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lwzlbnpk:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lwzlbnpk:/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', 'ff8029a5d1ae453f9dd9f5dff3b54b02', '-D', '/var/lib/mock/f43-build-59186467-6571591/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lwzlbnpk:/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/tcl-tcludp.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 Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1737244800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.F0SfNZ Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0dGp1i + umask 022 + cd /builddir/build/BUILD/tcl-tcludp-1.0.11-build + cd /builddir/build/BUILD/tcl-tcludp-1.0.11-build + rm -rf tcludp + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tcludp-1.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tcludp + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Nu1MWB + umask 022 + cd /builddir/build/BUILD/tcl-tcludp-1.0.11-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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 tcludp + 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 --- ./configure.backup 2014-08-23 05:25:28.000000000 +0000 +++ ./configure 2025-04-29 04:41:52.800009135 +0000 @@ -1697,7 +1697,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 -r --in-place=.backup '/lt_cv_sys_global_symbol_to_cdecl=/s#(".*"|'\''.*'\'')#"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 + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./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/bin --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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for correct TEA configuration... ok (TEA 3.9) configure: configuring udp 1.0.11 checking for Tcl configuration... found /usr/lib64/tclConfig.sh 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 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 existence of /usr/lib64/tclConfig.sh... loading checking platform... unix checking for ppc64le-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for ppc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib 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 if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking system version... Linux-6.13.8-200.fc41.ppc64le checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK checking for Tcl public headers... /usr/include checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) configure: WARNING: --enable-threads requested, but building against a Tcl that is NOT thread-enabled. This is an OK configuration that will also run in a thread-enabled core. checking how to build libraries... shared checking for ppc64le-redhat-linux-gnu-ranlib... ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking if compiler supports visibility "hidden"... yes checking if rpath support is requested... yes checking system version... (cached) Linux-6.13.8-200.fc41.ppc64le checking for ppc64le-redhat-linux-gnu-ar... no checking for ar... ar checking for cast to union support... yes checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for usable FD_CLOEXEC flag... yes checking for strerror in -lc... yes checking for tclsh... /usr/bin/tclsh9.0 checking for ppc64le-redhat-linux-gnu-dtplite... no checking for dtplite... no configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating pkgIndex.tcl configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j8 gcc -DPACKAGE_NAME=\"udp\" -DPACKAGE_TARNAME=\"udp\" -DPACKAGE_VERSION=\"1.0.11\" -DPACKAGE_STRING=\"udp\ 1.0.11\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_udp=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_FCNTL_H=1 -DHAVE_FLAG_FD_CLOEXEC=1 -DHAVE_STRERROR -I"/usr/include" -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 -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -c `echo ./generic/udp_tcl.c` -o udp_tcl.o (echo 'package ifneeded udp 1.0.11 \ [list load [file join $dir libudp1.0.11.so]]'\ ) > pkgIndex.tcl ./generic/udp_tcl.c:96:32: error: variable or field ‘udpClose’ declared void 96 | static Tcl_DriverCloseProc udpClose; | ^~~~~~~~ ./generic/udp_tcl.c:155:5: error: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 155 | udpClose, /* Close channel, clean instance data */ | ^~~~~~~~ ./generic/udp_tcl.c:155:5: note: (near initialization for ‘Udp_ChannelType.closeProc’) ./generic/udp_tcl.c:155:5: error: initializer element is not constant ./generic/udp_tcl.c:155:5: note: (near initialization for ‘Udp_ChannelType.closeProc’) ./generic/udp_tcl.c: In function ‘Udp_Init’: ./generic/udp_tcl.c:189:43: error: passing argument 3 of ‘tclStubsPtr->tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types] 189 | Tcl_CreateCommand(interp, "udp_open", udpOpen , | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) ./generic/udp_tcl.c:189:43: note: expected ‘int (*)(void *, Tcl_Interp *, int, const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int, char **)’ ./generic/udp_tcl.c:106:5: note: ‘udpOpen’ declared here 106 | int udpOpen(ClientData , Tcl_Interp *, int , CONST84 char * []); | ^~~~~~~ ./generic/udp_tcl.c:191:43: error: passing argument 3 of ‘tclStubsPtr->tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types] 191 | Tcl_CreateCommand(interp, "udp_conf", udpConf , | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) ./generic/udp_tcl.c:191:43: note: expected ‘int (*)(void *, Tcl_Interp *, int, const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int, char **)’ ./generic/udp_tcl.c:107:5: note: ‘udpConf’ declared here 107 | int udpConf(ClientData , Tcl_Interp *, int , CONST84 char * []); | ^~~~~~~ ./generic/udp_tcl.c:193:43: error: passing argument 3 of ‘tclStubsPtr->tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types] 193 | Tcl_CreateCommand(interp, "udp_peek", udpPeek , | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) ./generic/udp_tcl.c:193:43: note: expected ‘int (*)(void *, Tcl_Interp *, int, const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int, char **)’ ./generic/udp_tcl.c:108:5: note: ‘udpPeek’ declared here 108 | int udpPeek(ClientData , Tcl_Interp *, int , CONST84 char * []); | ^~~~~~~ ./generic/udp_tcl.c: At top level: ./generic/udp_tcl.c:220:38: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 220 | int objc, Tcl_Obj *CONST objv[]) | ^~~~ ./generic/udp_tcl.c:878:1: error: ‘udpClose’ redeclared as different kind of symbol 878 | udpClose(ClientData instanceData, Tcl_Interp *interp) | ^~~~~~~~ ./generic/udp_tcl.c:96:32: note: previous declaration of ‘udpClose’ with type ‘int’ 96 | static Tcl_DriverCloseProc udpClose; | ^~~~~~~~ ./generic/udp_tcl.c: In function ‘udpClose’: ./generic/udp_tcl.c:916:62: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjGetElements’ from incompatible pointer type [-Wincompatible-pointer-types] 916 | Tcl_ListObjGetElements(interp, dupGroupList, &objc, &objv); | ^~~~~ | | | int * ./generic/udp_tcl.c:916:62: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/udp_tcl.c: At top level: ./generic/udp_tcl.c:1008:1: error: conflicting types for ‘udpOutput’; have ‘int(void *, char *, int, int *)’ 1008 | udpOutput(ClientData instanceData, CONST84 char *buf, int toWrite, int *errorCode) | ^~~~~~~~~ ./generic/udp_tcl.c:94:32: note: previous declaration of ‘udpOutput’ with type ‘Tcl_DriverOutputProc’ {aka ‘int(void *, const char *, int, int *)’} 94 | static Tcl_DriverOutputProc udpOutput; | ^~~~~~~~~ ./generic/udp_tcl.c: In function ‘LSearch’: ./generic/udp_tcl.c:1191:43: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjGetElements’ from incompatible pointer type [-Wincompatible-pointer-types] 1191 | Tcl_ListObjGetElements(NULL, listObj, &objc, &objv); | ^~~~~ | | | int * ./generic/udp_tcl.c:1191:43: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/udp_tcl.c: In function ‘UdpMulticast’: ./generic/udp_tcl.c:1228:53: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1228 | result = Tcl_ListObjLength(interp, tcllist, &len); | ^~~~ | | | int * ./generic/udp_tcl.c:1228:53: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/udp_tcl.c:1247:89: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1247 | strcpy(ifreq.ifr_name,Tcl_GetStringFromObj(nw_interface,&lenPtr)); | ^~~~~~~ | | | int * ./generic/udp_tcl.c:1247:89: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/udp_tcl.c:1253:94: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1253 | nwinterface_index = if_nametoindex(Tcl_GetStringFromObj(nw_interface,&lenPtr)); | ^~~~~~~ | | | int * ./generic/udp_tcl.c:1253:94: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/udp_tcl.c: At top level: ./generic/udp_tcl.c:1384:1: error: conflicting types for ‘udpGetOption’; have ‘int(void *, Tcl_Interp *, char *, Tcl_DString *)’ 1384 | udpGetOption(ClientData instanceData, Tcl_Interp *interp, | ^~~~~~~~~~~~ ./generic/udp_tcl.c:100:32: note: previous declaration of ‘udpGetOption’ with type ‘Tcl_DriverGetOptionProc’ {aka ‘int(void *, Tcl_Interp *, const char *, Tcl_DString *)’} 100 | static Tcl_DriverGetOptionProc udpGetOption; | ^~~~~~~~~~~~ ./generic/udp_tcl.c: In function ‘udpGetOption’: ./generic/udp_tcl.c:1396:24: error: assignment to ‘const char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 1396 | for (p = options; *p != NULL; p++) { | ^ ./generic/udp_tcl.c:1419:17: warning: the comparison will always evaluate as ‘true’ for the address of ‘remotehost’ will never be NULL [-Waddress] 1419 | if (statePtr->remotehost && *statePtr->remotehost) { | ^~~~~~~~ In file included from ./generic/udp_tcl.c:17: ./generic/udp_tcl.h:91:21: note: ‘remotehost’ declared here 91 | char remotehost[256]; /* send packets to */ | ^~~~~~~~~~ ./generic/udp_tcl.c:1429:16: warning: the comparison will always evaluate as ‘true’ for the address of ‘peerhost’ will never be NULL [-Waddress] 1429 | if (statePtr->peerhost && *statePtr->peerhost) { | ^~~~~~~~ ./generic/udp_tcl.h:93:21: note: ‘peerhost’ declared here 93 | char peerhost[256]; /* receive packets from */ | ^~~~~~~~ ./generic/udp_tcl.c:1440:77: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjGetElements’ from incompatible pointer type [-Wincompatible-pointer-types] 1440 | Tcl_ListObjGetElements(interp, statePtr->groupsObj, &objc, &objv); | ^~~~~ | | | int * ./generic/udp_tcl.c:1440:77: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/udp_tcl.c: At top level: ./generic/udp_tcl.c:1496:1: error: conflicting types for ‘udpSetOption’; have ‘int(void *, Tcl_Interp *, char *, char *)’ 1496 | udpSetOption(ClientData instanceData, Tcl_Interp *interp, | ^~~~~~~~~~~~ ./generic/udp_tcl.c:99:32: note: previous declaration of ‘udpSetOption’ with type ‘Tcl_DriverSetOptionProc’ {aka ‘int(void *, Tcl_Interp *, const char *, const char *)’} 99 | static Tcl_DriverSetOptionProc udpSetOption; | ^~~~~~~~~~~~ ./generic/udp_tcl.c: In function ‘udpSetOption’: ./generic/udp_tcl.c:1504:56: warning: passing argument 3 of ‘udpSetRemoteOption’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1504 | r = udpSetRemoteOption(statePtr,interp,(const char *)newValue); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/udp_tcl.c:121:85: note: expected ‘char *’ but argument is of type ‘const char *’ 121 | static int udpSetRemoteOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue); | ~~~~~~^~~~~~~~ ./generic/udp_tcl.c:1506:64: warning: passing argument 3 of ‘udpSetMulticastAddOption’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1506 | r = udpSetMulticastAddOption(statePtr, interp, (const char *)newValue); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/udp_tcl.c:122:91: note: expected ‘char *’ but argument is of type ‘const char *’ 122 | static int udpSetMulticastAddOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue); | ~~~~~~^~~~~~~~ ./generic/udp_tcl.c:1508:65: warning: passing argument 3 of ‘udpSetMulticastDropOption’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1508 | r = udpSetMulticastDropOption(statePtr, interp, (const char *)newValue); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/udp_tcl.c:123:92: note: expected ‘char *’ but argument is of type ‘const char *’ 123 | static int udpSetMulticastDropOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue); | ~~~~~~^~~~~~~~ ./generic/udp_tcl.c:1510:61: warning: passing argument 3 of ‘udpSetBroadcastOption’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1510 | r = udpSetBroadcastOption(statePtr, interp, (const char*) newValue); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/udp_tcl.c:124:88: note: expected ‘char *’ but argument is of type ‘const char *’ 124 | static int udpSetBroadcastOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue); | ~~~~~~^~~~~~~~ ./generic/udp_tcl.c:1512:61: warning: passing argument 3 of ‘udpSetMcastloopOption’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1512 | r = udpSetMcastloopOption(statePtr, interp, (const char*) newValue); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/udp_tcl.c:126:88: note: expected ‘char *’ but argument is of type ‘const char *’ 126 | static int udpSetMcastloopOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue); | ~~~~~~^~~~~~~~ ./generic/udp_tcl.c:1514:55: warning: passing argument 3 of ‘udpSetTtlOption’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1514 | r = udpSetTtlOption(statePtr, interp, (const char*) newValue); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/udp_tcl.c:128:82: note: expected ‘char *’ but argument is of type ‘const char *’ 128 | static int udpSetTtlOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue); | ~~~~~~^~~~~~~~ ./generic/udp_tcl.c: In function ‘udpSetRemoteOption’: ./generic/udp_tcl.c:1738:52: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1738 | result = Tcl_ListObjLength(interp, valPtr, &len); | ^~~~ | | | int * ./generic/udp_tcl.c:1738:52: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/udp_tcl.c: In function ‘udpTrace’: ./generic/udp_tcl.c:1862:5: error: implicit declaration of function ‘va_start’ [-Wimplicit-function-declaration] 1862 | va_start (args, format); | ^~~~~~~~ ./generic/udp_tcl.c:1868:5: error: implicit declaration of function ‘va_end’ [-Wimplicit-function-declaration] 1868 | va_end(args); | ^~~~~~ ./generic/udp_tcl.c: In function ‘UdpSockGetPort’: ./generic/udp_tcl.c:1915:1: warning: old-style function definition [-Wold-style-definition] 1915 | UdpSockGetPort(interp, string, proto, portPtr) | ^~~~~~~~~~~~~~ ./generic/udp_tcl.c:1923:5: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST84’? 1923 | CONST char *native; | ^~~~~ | CONST84 ./generic/udp_tcl.c:1923:5: note: each undeclared identifier is reported only once for each function it appears in ./generic/udp_tcl.c:1923:10: error: expected ‘;’ before ‘char’ 1923 | CONST char *native; | ^~~~~ | ; ./generic/udp_tcl.c:1930:9: error: ‘native’ undeclared (first use in this function) 1930 | native = Tcl_UtfToExternalDString(NULL, string, -1, &ds); | ^~~~~~ ./generic/udp_tcl.c: At top level: ./generic/udp_tcl.c:94:32: warning: ‘udpOutput’ used but never defined 94 | static Tcl_DriverOutputProc udpOutput; | ^~~~~~~~~ ./generic/udp_tcl.c:99:32: warning: ‘udpSetOption’ used but never defined 99 | static Tcl_DriverSetOptionProc udpSetOption; | ^~~~~~~~~~~~ ./generic/udp_tcl.c:100:32: warning: ‘udpGetOption’ used but never defined 100 | static Tcl_DriverGetOptionProc udpGetOption; | ^~~~~~~~~~~~ ./generic/udp_tcl.c:1496:1: warning: ‘udpSetOption’ defined but not used [-Wunused-function] 1496 | udpSetOption(ClientData instanceData, Tcl_Interp *interp, | ^~~~~~~~~~~~ ./generic/udp_tcl.c:1384:1: warning: ‘udpGetOption’ defined but not used [-Wunused-function] 1384 | udpGetOption(ClientData instanceData, Tcl_Interp *interp, | ^~~~~~~~~~~~ ./generic/udp_tcl.c:1008:1: warning: ‘udpOutput’ defined but not used [-Wunused-function] 1008 | udpOutput(ClientData instanceData, CONST84 char *buf, int toWrite, int *errorCode) | ^~~~~~~~~ ./generic/udp_tcl.c:878:1: warning: ‘udpClose’ defined but not used [-Wunused-function] 878 | udpClose(ClientData instanceData, Tcl_Interp *interp) | ^~~~~~~~ make: *** [Makefile:283: udp_tcl.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Nu1MWB (%build) Bad exit status from /var/tmp/rpm-tmp.Nu1MWB (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M ff8029a5d1ae453f9dd9f5dff3b54b02 -D /var/lib/mock/f43-build-59186467-6571591/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.lwzlbnpk:/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/tcl-tcludp.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, 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 ff8029a5d1ae453f9dd9f5dff3b54b02 -D /var/lib/mock/f43-build-59186467-6571591/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.lwzlbnpk:/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/tcl-tcludp.spec'