Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/tcl-zlib.spec'], chrootPath='/var/lib/mock/f43-build-57093539-6548360/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.hx5l7cw7:/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.hx5l7cw7:/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', '1fb2dc3639904307a76881a244bd037d', '-D', '/var/lib/mock/f43-build-57093539-6548360/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hx5l7cw7:/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-zlib.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 Wrote: /builddir/build/SRPMS/tcl-zlib-2.0.1-0.36.svn40.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-zlib.spec'], chrootPath='/var/lib/mock/f43-build-57093539-6548360/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.hx5l7cw7:/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.hx5l7cw7:/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', 'ce81e5070fb344b1a617c9b0a4fe461f', '-D', '/var/lib/mock/f43-build-57093539-6548360/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hx5l7cw7:/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-zlib.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.Jz9dHX + umask 022 + cd /builddir/build/BUILD/tcl-zlib-2.0.1-build + test -d /builddir/build/BUILD/tcl-zlib-2.0.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/tcl-zlib-2.0.1-build + /usr/bin/rm -rf /builddir/build/BUILD/tcl-zlib-2.0.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/tcl-zlib-2.0.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/tcl-zlib-2.0.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MNksg0 + umask 022 + cd /builddir/build/BUILD/tcl-zlib-2.0.1-build + cd /builddir/build/BUILD/tcl-zlib-2.0.1-build + rm -rf zlib + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zlib.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zlib + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tcl-zlib-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I1YOdL + umask 022 + cd /builddir/build/BUILD/tcl-zlib-2.0.1-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-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 zlib + 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-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' ./zlib-1.2.2/configure + diff -u ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + mv ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./zlib-1.2.2/configure + diff -u ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + mv ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./zlib-1.2.2/configure + diff -u ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + mv ./zlib-1.2.2/configure.backup ./zlib-1.2.2/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' ./zlib-1.2.2/configure + diff -u ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + mv ./zlib-1.2.2/configure.backup ./zlib-1.2.2/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'\''"#' ./zlib-1.2.2/configure + diff -u ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + mv ./zlib-1.2.2/configure.backup ./zlib-1.2.2/configure + 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 --- ./configure.backup 2025-02-08 14:17:48.201240334 +0000 +++ ./configure 2025-02-08 14:17:48.241238988 +0000 @@ -4540,7 +4540,7 @@ #if defined (__stub_sin) || defined (__stub___sin) choke me #else -char (*f) () = sin; +__attribute__ ((used)) char (*f) () = sin; #endif #ifdef __cplusplus } @@ -4931,7 +4931,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -5028,7 +5028,7 @@ #if defined (__stub_setsockopt) || defined (__stub___setsockopt) choke me #else -char (*f) () = setsockopt; +__attribute__ ((used)) char (*f) () = setsockopt; #endif #ifdef __cplusplus } @@ -5197,7 +5197,7 @@ #if defined (__stub_accept) || defined (__stub___accept) choke me #else -char (*f) () = accept; +__attribute__ ((used)) char (*f) () = accept; #endif #ifdef __cplusplus } @@ -5294,7 +5294,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -7629,7 +7629,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -7732,7 +7732,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /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 + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ 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 --with-tcl=/usr/lib64 checking for ppc64le-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 ANSI C... none needed checking for zlib location... /usr checking for deflateBound in -lz... yes checking for correct TEA configuration... ok (TEA 3.2) checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading 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 ANSI C... (cached) none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for ppc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for egrep... 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 for Tcl public headers... /usr/include checking for building with threads... no (default) checking how to build libraries... shared checking for tclsh... /usr/bin/tclsh9.0 checking if 64bit support is enabled... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... Linux-6.12.11-200.fc41.ppc64le checking for dlopen in -ldl... yes checking for ar... ar checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no configure: creating ./config.status config.status: creating Makefile + make gcc -pipe -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"zlib\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_ZLIB=1 -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 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -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 -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/zlib.c` -o zlib.o ./generic/zlib.c: warning: -Wno-implicit-int detected - is this intentional ? In file included from ./generic/zlib.c:20: ./generic/tclZlib.h:28:13: error: expected ‘;’ before ‘char’ 28 | EXTERN CONST char * Zlib_InitStubs _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~ | ; ./generic/tclZlib.h:28:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 28 | EXTERN CONST char * Zlib_InitStubs _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclZlib.h:31:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 31 | EXTERN int Zlib_Init _ANSI_ARGS_((Tcl_Interp *interp)) ; | ^~~~~~~~~~~ In file included from ./generic/tclZlib.h:53: ./generic/zlibDecls.h:33:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 33 | EXTERN int Zlib_Deflate _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/zlibDecls.h:39:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 39 | EXTERN int Zlib_Inflate _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/zlibDecls.h:45:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 45 | EXTERN unsigned int Zlib_CRC32 _ANSI_ARGS_((unsigned int crc, | ^~~~~~~~~~~ ./generic/zlibDecls.h:51:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 51 | EXTERN unsigned int Zlib_Adler32 _ANSI_ARGS_((unsigned int adler, | ^~~~~~~~~~~ ./generic/zlibDecls.h:57:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 57 | EXTERN int Zlib_StreamInit _ANSI_ARGS_((Tcl_Interp * interp, | ^~~~~~~~~~~ ./generic/zlibDecls.h:64:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 64 | EXTERN Tcl_Obj * Zlib_StreamGetCommandName _ANSI_ARGS_(( | ^~~~~~~~~~~ ./generic/zlibDecls.h:70:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 70 | EXTERN int Zlib_StreamEof _ANSI_ARGS_((ZlibHandle zshandle)); | ^~~~~~~~~~~ ./generic/zlibDecls.h:75:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 75 | EXTERN int Zlib_StreamAdler32 _ANSI_ARGS_((ZlibHandle zshandle)); | ^~~~~~~~~~~ ./generic/zlibDecls.h:80:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 80 | EXTERN int Zlib_StreamPut _ANSI_ARGS_((ZlibHandle zshandle, | ^~~~~~~~~~~ ./generic/zlibDecls.h:86:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 86 | EXTERN int Zlib_StreamGet _ANSI_ARGS_((ZlibHandle zshandle, | ^~~~~~~~~~~ ./generic/zlibDecls.h:92:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 92 | EXTERN int Zlib_StreamClose _ANSI_ARGS_((ZlibHandle zshandle)); | ^~~~~~~~~~~ ./generic/zlibDecls.h:97:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 97 | EXTERN int Zlib_StreamReset _ANSI_ARGS_((ZlibHandle zshandle)); | ^~~~~~~~~~~ ./generic/zlibDecls.h:104:25: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 104 | int (*zlib_Deflate) _ANSI_ARGS_((Tcl_Interp * interp, int format, Tcl_Obj * data, int level)); /* 0 */ | ^~~~~~~~~~~ ./generic/zlib.c:27:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 27 | static int ZlibCmd _ANSI_ARGS_((ClientData dummy, Tcl_Interp *ip, | ^~~~~~~~~~~ ./generic/zlib.c:30:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 30 | static int ZlibStreamCmd _ANSI_ARGS_((ClientData cd, Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/zlib.c:33:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 33 | static void ZlibStreamCmdDelete _ANSI_ARGS_((ClientData cd)); | ^~~~~~~~~~~ ./generic/zlib.c: In function ‘Zlib_StreamInit’: ./generic/zlib.c:339:1: warning: old-style function definition [-Wold-style-definition] 339 | Zlib_StreamInit(interp, mode, format, level, zshandle) | ^~~~~~~~~~~~~~~ ./generic/zlib.c:437:60: error: ‘ZlibStreamCmd’ undeclared (first use in this function); did you mean ‘Zlib_StreamInit’? 437 | Tcl_CreateObjCommand(interp, Tcl_DStringValue(&cmdname), ZlibStreamCmd, | ^~~~~~~~~~~~~ | Zlib_StreamInit ./generic/zlib.c:437:60: note: each undeclared identifier is reported only once for each function it appears in ./generic/zlib.c:438:42: error: ‘ZlibStreamCmdDelete’ undeclared (first use in this function); did you mean ‘zlibStreamHandle’? 438 | (ClientData) zsh, ZlibStreamCmdDelete); | ^~~~~~~~~~~~~~~~~~~ | zlibStreamHandle ./generic/zlib.c: In function ‘ZlibStreamCmdDelete’: ./generic/zlib.c:461:1: warning: old-style function definition [-Wold-style-definition] 461 | ZlibStreamCmdDelete (cd) | ^~~~~~~~~~~~~~~~~~~ ./generic/zlib.c: In function ‘Zlib_StreamClose’: ./generic/zlib.c:482:1: warning: old-style function definition [-Wold-style-definition] 482 | Zlib_StreamClose (zshandle) | ^~~~~~~~~~~~~~~~ ./generic/zlib.c: In function ‘Zlib_StreamReset’: ./generic/zlib.c:492:1: warning: old-style function definition [-Wold-style-definition] 492 | Zlib_StreamReset (zshandle) | ^~~~~~~~~~~~~~~~ ./generic/zlib.c: In function ‘Zlib_StreamGetCommandName’: ./generic/zlib.c:547:1: warning: old-style function definition [-Wold-style-definition] 547 | Zlib_StreamGetCommandName(zshandle) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/zlib.c: In function ‘Zlib_StreamEof’: ./generic/zlib.c:555:1: warning: old-style function definition [-Wold-style-definition] 555 | Zlib_StreamEof(zshandle) | ^~~~~~~~~~~~~~ ./generic/zlib.c: In function ‘Zlib_StreamAdler32’: ./generic/zlib.c:563:1: warning: old-style function definition [-Wold-style-definition] 563 | Zlib_StreamAdler32(zshandle) | ^~~~~~~~~~~~~~~~~~ ./generic/zlib.c: In function ‘Zlib_StreamPut’: ./generic/zlib.c:623:1: warning: old-style function definition [-Wold-style-definition] 623 | Zlib_StreamPut(zshandle, data, flush) | ^~~~~~~~~~~~~~ In file included from /usr/include/tcl.h:2439, from ./generic/zlib.c:16: ./generic/zlib.c:640:57: error: passing argument 3 of ‘tclStubsPtr->tcl_GetBytesFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 640 | zsh->stream.next_in = Tcl_GetByteArrayFromObj(data, &size); | ^ | | | int * ./generic/zlib.c:640:57: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c:647:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 647 | zsh->stream.next_out=datatmp; | ^ ./generic/zlib.c:652:35: warning: pointer targets in passing argument 1 of ‘tclStubsPtr->tcl_NewByteArrayObj’ differ in signedness [-Wpointer-sign] 652 | obj = Tcl_NewByteArrayObj(datatmp, outsize - zsh->stream.avail_out ); | ^~~~~~~ | | | char * ./generic/zlib.c:652:35: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ ./generic/zlib.c:662:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 662 | zsh->stream.next_out=datatmp; | ^ ./generic/zlib.c:667:33: warning: pointer targets in passing argument 1 of ‘tclStubsPtr->tcl_NewByteArrayObj’ differ in signedness [-Wpointer-sign] 667 | obj = Tcl_NewByteArrayObj(datatmp, outsize - zsh->stream.avail_out ); | ^~~~~~~ | | | char * ./generic/zlib.c:667:33: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ ./generic/zlib.c: In function ‘Zlib_StreamGet’: ./generic/zlib.c:682:1: warning: old-style function definition [-Wold-style-definition] 682 | Zlib_StreamGet(zshandle, data, count) | ^~~~~~~~~~~~~~ ./generic/zlib.c:715:56: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 715 | if ( Tcl_ListObjLength(zsh->interp, zsh->indata, &llength)!=TCL_OK ) return TCL_ERROR; | ^~~~~~~~ | | | int * ./generic/zlib.c:715:56: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c:719:49: error: passing argument 3 of ‘tclStubsPtr->tcl_GetBytesFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 719 | itemptr = Tcl_GetByteArrayFromObj(lobj, &itemlen); | ^ | | | int * ./generic/zlib.c:719:49: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c:744:47: error: passing argument 3 of ‘tclStubsPtr->tcl_GetBytesFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 744 | itemptr = Tcl_GetByteArrayFromObj(lobj, &itemlen); | ^ | | | int * ./generic/zlib.c:744:47: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c:773:55: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 773 | if ( Tcl_ListObjLength(zsh->interp, zsh->outdata, &llength)!=TCL_OK ) return TCL_ERROR; | ^~~~~~~~ | | | int * ./generic/zlib.c:773:55: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c:779:51: error: passing argument 3 of ‘tclStubsPtr->tcl_GetBytesFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 779 | itemptr = Tcl_GetByteArrayFromObj(lobj, &itemlen); | ^ | | | int * ./generic/zlib.c:779:51: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c:791:75: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 791 | while ( count>datapos && Tcl_ListObjLength(zsh->interp, zsh->outdata, &llength)==TCL_OK && llength > 0) { | ^~~~~~~~ | | | int * ./generic/zlib.c:791:75: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c:793:47: error: passing argument 3 of ‘tclStubsPtr->tcl_GetBytesFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 793 | itemptr = Tcl_GetByteArrayFromObj(lobj, &itemlen); | ^ | | | int * ./generic/zlib.c:793:47: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c: In function ‘Zlib_Deflate’: ./generic/zlib.c:814:1: warning: old-style function definition [-Wold-style-definition] 814 | Zlib_Deflate(interp, format, data, level) | ^~~~~~~~~~~~ ./generic/zlib.c:851:41: error: passing argument 3 of ‘tclStubsPtr->tcl_GetBytesFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 851 | bdata = Tcl_GetByteArrayFromObj(data, &bdlen); | ^ | | | int * ./generic/zlib.c:851:41: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c: In function ‘Zlib_Inflate’: ./generic/zlib.c:935:39: error: passing argument 3 of ‘tclStubsPtr->tcl_GetBytesFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 935 | indata=Tcl_GetByteArrayFromObj(data,&inlen); | ^ | | | int * ./generic/zlib.c:935:39: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c: In function ‘Zlib_CRC32’: ./generic/zlib.c:1002:21: warning: pointer targets in passing argument 2 of ‘crc32’ differ in signedness [-Wpointer-sign] 1002 | return crc32(crc, buf, len); | ^~~ | | | const char * In file included from ./generic/zlib.c:17: /usr/include/zlib.h:1705:79: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 1705 | Z_EXTERN unsigned long Z_EXPORT crc32(unsigned long crc, const unsigned char *buf, unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~~ ./generic/zlib.c: In function ‘Zlib_Adler32’: ./generic/zlib.c:1007:25: warning: pointer targets in passing argument 2 of ‘adler32’ differ in signedness [-Wpointer-sign] 1007 | return adler32(adler, buf, len); | ^~~ | | | const char * /usr/include/zlib.h:1669:83: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 1669 | Z_EXTERN unsigned long Z_EXPORT adler32(unsigned long adler, const unsigned char *buf, unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~~ ./generic/zlib.c: In function ‘ZlibCmd’: ./generic/zlib.c:1017:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 1017 | Tcl_Obj *CONST objv[]; | ^~~~ ./generic/zlib.c:1013:1: warning: old-style function definition [-Wold-style-definition] 1013 | ZlibCmd(notUsed, interp, objc, objv) | ^~~~~~~ ./generic/zlib.c:1028:17: error: expected ‘;’ before ‘char’ 1028 | static CONST84 char* commands[] = { | ^~~~~ | ; ./generic/zlib.c:1039:17: error: expected ‘;’ before ‘char’ 1039 | static CONST84 char* stream_formats[] = { | ^~~~~ | ; ./generic/zlib.c:1047:33: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 1047 | Tcl_WrongNumArgs(interp, 1, objv, "command arg ?...?"); | ^~~~ | | | int ./generic/zlib.c:1047:33: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/zlib.c:1051:39: error: subscripted value is neither array nor pointer nor vector 1051 | if (Tcl_GetIndexFromObj(interp, objv[1], commands, "command", 0, &command) != TCL_OK) | ^ ./generic/zlib.c:1056:53: error: subscripted value is neither array nor pointer nor vector 1056 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &start) != TCL_OK) { | ^ ./generic/zlib.c:1056:58: warning: pointer targets in passing argument 3 of ‘tclStubsPtr->tcl_GetIntFromObj’ differ in signedness [-Wpointer-sign] 1056 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &start) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1056:58: note: expected ‘int *’ but argument is of type ‘unsigned int *’ ./generic/zlib.c:1062:40: error: subscripted value is neither array nor pointer nor vector 1062 | data=Tcl_GetByteArrayFromObj(objv[2],&dlen); | ^ ./generic/zlib.c:1062:44: error: passing argument 3 of ‘tclStubsPtr->tcl_GetBytesFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1062 | data=Tcl_GetByteArrayFromObj(objv[2],&dlen); | ^ | | | int * ./generic/zlib.c:1062:44: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c:1063:46: warning: pointer targets in passing argument 2 of ‘Zlib_Adler32’ differ in signedness [-Wpointer-sign] 1063 | Tcl_SetIntObj(obj, Zlib_Adler32(start, data, dlen)); | ^~~~ | | | Byte * {aka unsigned char *} ./generic/zlib.c:1006:46: note: expected ‘const char *’ but argument is of type ‘Byte *’ {aka ‘unsigned char *’} 1006 | Zlib_Adler32(unsigned int adler, const char *buf, unsigned int len) { | ~~~~~~~~~~~~^~~ ./generic/zlib.c:1066:53: error: subscripted value is neither array nor pointer nor vector 1066 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &start) != TCL_OK) { | ^ ./generic/zlib.c:1066:58: warning: pointer targets in passing argument 3 of ‘tclStubsPtr->tcl_GetIntFromObj’ differ in signedness [-Wpointer-sign] 1066 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &start) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1066:58: note: expected ‘int *’ but argument is of type ‘unsigned int *’ ./generic/zlib.c:1072:40: error: subscripted value is neither array nor pointer nor vector 1072 | data=Tcl_GetByteArrayFromObj(objv[2],&dlen); | ^ ./generic/zlib.c:1072:44: error: passing argument 3 of ‘tclStubsPtr->tcl_GetBytesFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1072 | data=Tcl_GetByteArrayFromObj(objv[2],&dlen); | ^ | | | int * ./generic/zlib.c:1072:44: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/zlib.c:1073:44: warning: pointer targets in passing argument 2 of ‘Zlib_CRC32’ differ in signedness [-Wpointer-sign] 1073 | Tcl_SetIntObj(obj, Zlib_CRC32(start, data, dlen)); | ^~~~ | | | Byte * {aka unsigned char *} ./generic/zlib.c:1000:42: note: expected ‘const char *’ but argument is of type ‘Byte *’ {aka ‘unsigned char *’} 1000 | Zlib_CRC32(unsigned int crc, const char *buf, unsigned int len) { | ~~~~~~~~~~~~^~~ ./generic/zlib.c:1076:53: error: subscripted value is neither array nor pointer nor vector 1076 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^ ./generic/zlib.c:1076:58: warning: pointer targets in passing argument 3 of ‘tclStubsPtr->tcl_GetIntFromObj’ differ in signedness [-Wpointer-sign] 1076 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1076:58: note: expected ‘int *’ but argument is of type ‘unsigned int *’ ./generic/zlib.c:1079:56: error: subscripted value is neither array nor pointer nor vector 1079 | return Zlib_Deflate(interp, ZLIB_FORMAT_RAW, objv[2], level); | ^ ./generic/zlib.c:1081:53: error: subscripted value is neither array nor pointer nor vector 1081 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^ ./generic/zlib.c:1081:58: warning: pointer targets in passing argument 3 of ‘tclStubsPtr->tcl_GetIntFromObj’ differ in signedness [-Wpointer-sign] 1081 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1081:58: note: expected ‘int *’ but argument is of type ‘unsigned int *’ ./generic/zlib.c:1084:57: error: subscripted value is neither array nor pointer nor vector 1084 | return Zlib_Deflate(interp, ZLIB_FORMAT_ZLIB, objv[2], level); | ^ ./generic/zlib.c:1086:53: error: subscripted value is neither array nor pointer nor vector 1086 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^ ./generic/zlib.c:1086:58: warning: pointer targets in passing argument 3 of ‘tclStubsPtr->tcl_GetIntFromObj’ differ in signedness [-Wpointer-sign] 1086 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1086:58: note: expected ‘int *’ but argument is of type ‘unsigned int *’ ./generic/zlib.c:1089:57: error: subscripted value is neither array nor pointer nor vector 1089 | return Zlib_Deflate(interp, ZLIB_FORMAT_GZIP, objv[2], level); | ^ ./generic/zlib.c:1091:53: error: subscripted value is neither array nor pointer nor vector 1091 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &buffersize) != TCL_OK) { | ^ ./generic/zlib.c:1091:58: warning: pointer targets in passing argument 3 of ‘tclStubsPtr->tcl_GetIntFromObj’ differ in signedness [-Wpointer-sign] 1091 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &buffersize) != TCL_OK) { | ^~~~~~~~~~~ | | | unsigned int * ./generic/zlib.c:1091:58: note: expected ‘int *’ but argument is of type ‘unsigned int *’ ./generic/zlib.c:1094:56: error: subscripted value is neither array nor pointer nor vector 1094 | return Zlib_Inflate(interp, ZLIB_FORMAT_RAW, objv[2], buffersize); | ^ ./generic/zlib.c:1098:53: error: subscripted value is neither array nor pointer nor vector 1098 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &buffersize) != TCL_OK) { | ^ ./generic/zlib.c:1098:58: warning: pointer targets in passing argument 3 of ‘tclStubsPtr->tcl_GetIntFromObj’ differ in signedness [-Wpointer-sign] 1098 | if (objc > 3 && Tcl_GetIntFromObj(interp, objv[3], &buffersize) != TCL_OK) { | ^~~~~~~~~~~ | | | unsigned int * ./generic/zlib.c:1098:58: note: expected ‘int *’ but argument is of type ‘unsigned int *’ ./generic/zlib.c:1101:57: error: subscripted value is neither array nor pointer nor vector 1101 | return Zlib_Inflate(interp, ZLIB_FORMAT_AUTO, objv[2], buffersize); | ^ ./generic/zlib.c:1103:43: error: subscripted value is neither array nor pointer nor vector 1103 | if (Tcl_GetIndexFromObj(interp, objv[2], stream_formats, "stream format", 0, &format) != TCL_OK) { | ^ ./generic/zlib.c:1128:43: error: subscripted value is neither array nor pointer nor vector 1128 | if (Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^ ./generic/zlib.c:1128:48: warning: pointer targets in passing argument 3 of ‘tclStubsPtr->tcl_GetIntFromObj’ differ in signedness [-Wpointer-sign] 1128 | if (Tcl_GetIntFromObj(interp, objv[3], &level) != TCL_OK) { | ^~~~~~ | | | unsigned int * ./generic/zlib.c:1128:48: note: expected ‘int *’ but argument is of type ‘unsigned int *’ ./generic/zlib.c: In function ‘ZlibStreamCmd’: ./generic/zlib.c:1179:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 1179 | Tcl_Obj *CONST objv[]; | ^~~~ ./generic/zlib.c:1175:1: warning: old-style function definition [-Wold-style-definition] 1175 | ZlibStreamCmd(cd, interp, objc, objv) | ^~~~~~~~~~~~~ ./generic/zlib.c:1187:17: error: expected ‘;’ before ‘char’ 1187 | static CONST84 char* cmds[] = { | ^~~~~ | ; ./generic/zlib.c:1193:17: error: expected ‘;’ before ‘char’ 1193 | static CONST84 char* add_options[] = { | ^~~~~ | ; ./generic/zlib.c:1199:33: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 1199 | Tcl_WrongNumArgs(interp, 1, objv, "option data ?...?"); | ^~~~ | | | int ./generic/zlib.c:1199:33: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/zlib.c:1203:39: error: subscripted value is neither array nor pointer nor vector 1203 | if (Tcl_GetIndexFromObj(interp, objv[1], cmds, "option", 0, &command) != TCL_OK) | ^ ./generic/zlib.c:1209:45: error: subscripted value is neither array nor pointer nor vector 1209 | if (Tcl_GetIndexFromObj(interp, objv[i], add_options, "option", 0, &index) | ^ ./generic/zlib.c:1239:48: error: subscripted value is neither array nor pointer nor vector 1239 | if ( Tcl_GetIntFromObj(interp, objv[i+1], &buffersize) != TCL_OK ) { | ^ ./generic/zlib.c:1251:47: error: subscripted value is neither array nor pointer nor vector 1251 | if (Zlib_StreamPut((ZlibHandle)zsh, objv[objc-1], flush) != TCL_OK) return TCL_ERROR; | ^ ./generic/zlib.c:1257:45: error: subscripted value is neither array nor pointer nor vector 1257 | if (Tcl_GetIndexFromObj(interp, objv[i], add_options, "option", 0, &index) | ^ ./generic/zlib.c:1289:50: error: subscripted value is neither array nor pointer nor vector 1289 | return Zlib_StreamPut((ZlibHandle)zsh, objv[objc-1], flush); | ^ ./generic/zlib.c:1293:44: error: subscripted value is neither array nor pointer nor vector 1293 | if ( Tcl_GetIntFromObj(interp, objv[2], &count) != TCL_OK ) return TCL_ERROR; | ^ RPM build errors: ./generic/zlib.c: At top level: ./generic/zlib.c:1175:1: warning: ‘ZlibStreamCmd’ defined but not used [-Wunused-function] 1175 | ZlibStreamCmd(cd, interp, objc, objv) | ^~~~~~~~~~~~~ ./generic/zlib.c:461:1: warning: ‘ZlibStreamCmdDelete’ defined but not used [-Wunused-function] 461 | ZlibStreamCmdDelete (cd) | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile:275: zlib.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.I1YOdL (%build) Bad exit status from /var/tmp/rpm-tmp.I1YOdL (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M ce81e5070fb344b1a617c9b0a4fe461f -D /var/lib/mock/f43-build-57093539-6548360/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.hx5l7cw7:/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-zlib.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 ce81e5070fb344b1a617c9b0a4fe461f -D /var/lib/mock/f43-build-57093539-6548360/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.hx5l7cw7:/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-zlib.spec'