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/tdom.spec'], chrootPath='/var/lib/mock/f43-build-58391076-6565001/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.a4ukmfzi:/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.a4ukmfzi:/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', '89bee98315bb46e990b0ec99dfa7a772', '-D', '/var/lib/mock/f43-build-58391076-6565001/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a4ukmfzi:/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/tdom.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 sh: line 1: tclsh: command not found sh: line 1: tclsh: command not found sh: line 1: tclsh: command not found setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/tdom-0.8.2-38.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/tdom.spec'], chrootPath='/var/lib/mock/f43-build-58391076-6565001/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.a4ukmfzi:/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.a4ukmfzi:/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', '95f23091c5a74169a0afdfeba335db00', '-D', '/var/lib/mock/f43-build-58391076-6565001/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a4ukmfzi:/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/tdom.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=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Kgr2TM Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DZ9Uzv + umask 022 + cd /builddir/build/BUILD/tdom-0.8.2-build + cd /builddir/build/BUILD/tdom-0.8.2-build + rm -rf tDOM-0.8.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tDOM-0.8.2.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd tDOM-0.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (tdom-0.8.2-noexpat.patch): + echo 'Patch #0 (tdom-0.8.2-noexpat.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure patching file configure.in patching file Makefile.in Patch #1 (tdom-0.8.2-tcl8.6.patch): + echo 'Patch #1 (tdom-0.8.2-tcl8.6.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file generic/dom.h patching file generic/tcldom.c Patch #2 (tdom-configure-c99.patch): + echo 'Patch #2 (tdom-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qT6BD8 + umask 022 + cd /builddir/build/BUILD/tdom-0.8.2-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 tDOM-0.8.2 + 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' ./extensions/tnc/configure + diff -u ./extensions/tnc/configure.backup ./extensions/tnc/configure --- ./extensions/tnc/configure.backup 2007-08-11 23:10:31.000000000 +0000 +++ ./extensions/tnc/configure 2025-03-31 05:03:10.215950877 +0000 @@ -3708,7 +3708,7 @@ #if defined (__stub_sin) || defined (__stub___sin) choke me #else -char (*f) () = sin; +__attribute__ ((used)) char (*f) () = sin; #endif #ifdef __cplusplus } @@ -4101,7 +4101,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -4198,7 +4198,7 @@ #if defined (__stub_setsockopt) || defined (__stub___setsockopt) choke me #else -char (*f) () = setsockopt; +__attribute__ ((used)) char (*f) () = setsockopt; #endif #ifdef __cplusplus } @@ -4367,7 +4367,7 @@ #if defined (__stub_accept) || defined (__stub___accept) choke me #else -char (*f) () = accept; +__attribute__ ((used)) char (*f) () = accept; #endif #ifdef __cplusplus } @@ -4464,7 +4464,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -9703,7 +9703,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' ./extensions/tnc/configure + diff -u ./extensions/tnc/configure.backup ./extensions/tnc/configure + mv ./extensions/tnc/configure.backup ./extensions/tnc/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./extensions/tnc/configure + diff -u ./extensions/tnc/configure.backup ./extensions/tnc/configure + mv ./extensions/tnc/configure.backup ./extensions/tnc/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' ./extensions/tnc/configure + diff -u ./extensions/tnc/configure.backup ./extensions/tnc/configure + mv ./extensions/tnc/configure.backup ./extensions/tnc/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'\''"#' ./extensions/tnc/configure + diff -u ./extensions/tnc/configure.backup ./extensions/tnc/configure + mv ./extensions/tnc/configure.backup ./extensions/tnc/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' ./extensions/tdomhtml/configure + diff -u ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + mv ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./extensions/tdomhtml/configure + diff -u ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + mv ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./extensions/tdomhtml/configure + diff -u ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + mv ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/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' ./extensions/tdomhtml/configure + diff -u ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + mv ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/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'\''"#' ./extensions/tdomhtml/configure + diff -u ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/configure + mv ./extensions/tdomhtml/configure.backup ./extensions/tdomhtml/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' ./extensions/example/configure + diff -u ./extensions/example/configure.backup ./extensions/example/configure + mv ./extensions/example/configure.backup ./extensions/example/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./extensions/example/configure + diff -u ./extensions/example/configure.backup ./extensions/example/configure + mv ./extensions/example/configure.backup ./extensions/example/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./extensions/example/configure + diff -u ./extensions/example/configure.backup ./extensions/example/configure + mv ./extensions/example/configure.backup ./extensions/example/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' ./extensions/example/configure + diff -u ./extensions/example/configure.backup ./extensions/example/configure + mv ./extensions/example/configure.backup ./extensions/example/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'\''"#' ./extensions/example/configure + diff -u ./extensions/example/configure.backup ./extensions/example/configure + mv ./extensions/example/configure.backup ./extensions/example/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-03-31 05:03:10.195951644 +0000 +++ ./configure 2025-03-31 05:03:10.345945895 +0000 @@ -3711,7 +3711,7 @@ #if defined (__stub_sin) || defined (__stub___sin) choke me #else -char (*f) () = sin; +__attribute__ ((used)) char (*f) () = sin; #endif #ifdef __cplusplus } @@ -4104,7 +4104,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -4201,7 +4201,7 @@ #if defined (__stub_setsockopt) || defined (__stub___setsockopt) choke me #else -char (*f) () = setsockopt; +__attribute__ ((used)) char (*f) () = setsockopt; #endif #ifdef __cplusplus } @@ -4370,7 +4370,7 @@ #if defined (__stub_accept) || defined (__stub___accept) choke me #else -char (*f) () = accept; +__attribute__ ((used)) char (*f) () = accept; #endif #ifdef __cplusplus } @@ -4467,7 +4467,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -6175,7 +6175,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 } @@ -9757,7 +9757,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 --enable-threads checking for correct TEA configuration... ok (TEA 3.6) 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... 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 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 memmove... yes checking for bcopy... yes checking for AOLserver configuration... none found 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 if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking system version... Linux-6.12.10-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 checking for tclsh... /usr/bin/tclsh9.0 checking whether to enable dtd support... yes checking whether to enable namespace support... yes checking whether to enable built-in unknown command... no checking whether to enable tDOMs block allocator... yes configure: creating ./config.status config.status: creating Makefile config.status: creating tdomConfig.sh + make -j8 gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -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_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -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 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/xmlsimple.c` -o xmlsimple.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -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_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -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 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/utf8conv.c` -o utf8conv.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -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_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -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 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/dom.c` -o dom.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -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_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -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 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/domalloc.c` -o domalloc.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -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_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -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 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/domhtml.c` -o domhtml.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -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_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -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 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/domxpath.c` -o domxpath.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -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_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -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 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/domxslt.c` -o domxslt.o gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -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_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -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 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/domlock.c` -o domlock.o ./generic/xmlsimple.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/dom.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/utf8conv.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domalloc.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domxpath.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domhtml.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domxslt.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domlock.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/domalloc.c: In function ‘fillHashTable’: In file included from ./generic/dom.c:55: ./generic/tclexpat.h:152:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 152 | EXTERN int TclExpatObjCmd _ANSI_ARGS_((ClientData dummy, | ^~~~~~~~~~~ ./generic/tclexpat.h:155:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 155 | EXTERN int CheckExpatParserObj _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:157:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 157 | EXTERN int CHandlerSetInstall _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:160:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 160 | EXTERN int CHandlerSetRemove _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:163:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 163 | EXTERN CHandlerSet * CHandlerSetCreate _ANSI_ARGS_((char *name)); | ^~~~~~~~~~~ ./generic/tclexpat.h:164:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 164 | EXTERN CHandlerSet * CHandlerSetGet _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:167:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 167 | EXTERN void * CHandlerSetGetUserData _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/tclexpat.h:171:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 171 | EXTERN TclGenExpatInfo * GetExpatInfo _ANSI_ARGS_((Tcl_Interp *interp, | ^~~~~~~~~~~ ./generic/domalloc.c:143:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 143 | i = ( (unsigned int)mem >> BLOCK_SIZE_BITS) & BIN_HASH_MASK; | ^ ./generic/domalloc.c: In function ‘domFree’: ./generic/domalloc.c:397:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 397 | i = ( (unsigned int)mem >> BLOCK_SIZE_BITS) & BIN_HASH_MASK; | ^ ./generic/dom.c: In function ‘domPrecedes’: ./generic/dom.c:489:45: warning: variable ‘otherToplevel’ set but not used [-Wunused-but-set-variable] 489 | domNode *nodeAncestor, *otherAncestor, *otherToplevel; | ^~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.8.2\" -DPACKAGE_STRING=\"tdom\ 0.8.2\" -DPACKAGE_BUGREPORT=\"\" -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_MEMMOVE=1 -DHAVE_BCOPY=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1 -I./generic -I./expat -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 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tcldom.c` -o tcldom.o ./generic/domhtml.c: In function ‘HTML_SimpleParse’: ./generic/domhtml.c:882:39: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 882 | case 'd': if (!strcmp(pn,"dd") || | ^~ ./generic/domhtml.c:885:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 885 | ) autoclose = 1; break; | ^~~~~ ./generic/domhtml.c:886:39: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 886 | case 'h': if (!strcmp(pn,"head") || | ^~ ./generic/domhtml.c:887:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 887 | !strcmp(pn,"html")) autoclose = 1; break; | ^~~~~ ./generic/domhtml.c:888:39: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 888 | case 'f': if (!strcmp(pn,"font")|| | ^~ ./generic/domhtml.c:889:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 889 | !strcmp(pn,"form")) autoclose = 1; break; | ^~~~~ ./generic/domhtml.c:896:39: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 896 | case 't': if (!strcmp(pn,"tbody") || | ^~ ./generic/domhtml.c:902:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 902 | !strcmp(pn,"tt")) autoclose = 1; break; | ^~~~~ ./generic/dom.c: At top level: ./generic/dom.c:1735:5: error: unknown type name ‘CONST’; did you mean ‘CONST86’? 1735 | CONST char *openEntityNames, | ^~~~~ | CONST86 ./generic/dom.c:1736:5: error: unknown type name ‘CONST’; did you mean ‘CONST86’? 1736 | CONST char *base, | ^~~~~ | CONST86 ./generic/dom.c:1737:5: error: unknown type name ‘CONST’; did you mean ‘CONST86’? 1737 | CONST char *systemId, | ^~~~~ | CONST86 ./generic/dom.c:1738:5: error: unknown type name ‘CONST’; did you mean ‘CONST86’? 1738 | CONST char *publicId | ^~~~~ | CONST86 ./generic/domhtml.c:1340:28: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1340 | case 'b': if (!strcmp(node->nodeName,"br") || | ^~ ./generic/domhtml.c:1342:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1342 | !strcmp(node->nodeName,"basefont")) hasContent = 0; break; | ^~~~~ ./generic/domhtml.c:1347:28: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1347 | case 'i': if (!strcmp(node->nodeName,"img") || | ^~ ./generic/domhtml.c:1349:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1349 | !strcmp(node->nodeName,"isindex")) hasContent = 0; break; | ^~~~~ ./generic/domhtml.c:1442:23: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1442 | case 'd': if (!strcmp(pn,"dd") || | ^~ ./generic/domhtml.c:1443:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1443 | !strcmp(pn,"dt")) autoclose = 1; break; | ^~~~~ ./generic/domhtml.c:1444:23: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1444 | case 'h': if (!strcmp(pn,"head") || | ^~ ./generic/domhtml.c:1445:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1445 | !strcmp(pn,"html")) autoclose = 1; break; | ^~~~~ ./generic/domhtml.c:1449:23: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1449 | case 't': if (!strcmp(pn,"tbody") || | ^~ ./generic/domhtml.c:1454:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1454 | !strcmp(pn,"tr")) autoclose = 1; break; | ^~~~~ ./generic/tcldom.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/dom.c: In function ‘domReadDocument’: ./generic/dom.c:2063:50: error: ‘externalEntityRefHandler’ undeclared (first use in this function); did you mean ‘XML_ExternalEntityRefHandler’? 2063 | XML_SetExternalEntityRefHandler (parser, externalEntityRefHandler); | ^~~~~~~~~~~~~~~~~~~~~~~~ | XML_ExternalEntityRefHandler ./generic/dom.c:2063:50: note: each undeclared identifier is reported only once for each function it appears in ./generic/dom.c:2112:52: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 2112 | str = Tcl_GetStringFromObj(bufObj, &tclLen); | ^~~~~~~ | | | int * ./generic/dom.c:2112:52: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/domxslt.c: In function ‘doSortActions’: ./generic/domxslt.c:3467:43: warning: variable ‘lang’ set but not used [-Wunused-but-set-variable] 3467 | char *str, *evStr, *select, *lang; | ^~~~ ./generic/dom.c: In function ‘domXPointerAncestor’: ./generic/dom.c:4960:18: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 4960 | int found=0, result; | ^~~~~ ./generic/dom.c: In function ‘TclTdomObjCmd’: ./generic/dom.c:5155:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 5155 | Tcl_Obj *CONST objv[]; | ^~~~ ./generic/dom.c:5151:1: warning: old-style function definition [-Wold-style-definition] 5151 | TclTdomObjCmd (dummy, interp, objc, objv) | ^~~~~~~~~~~~~ ./generic/dom.c:5159:43: error: expected identifier or ‘(’ before ‘bool’ 5159 | int methodIndex, result, bool; | ^~~~ ./generic/domxslt.c: In function ‘getCdataSectionElements’: ./generic/domxslt.c:5607:20: warning: variable ‘h’ set but not used [-Wunused-but-set-variable] 5607 | Tcl_HashEntry *h; | ^ ./generic/domxslt.c: In function ‘getExternalDocument’: ./generic/domxslt.c:5851:5: error: ‘CONST84’ undeclared (first use in this function); did you mean ‘CONST86’? 5851 | CONST84 char *str; | ^~~~~~~ | CONST86 ./generic/domxslt.c:5851:5: note: each undeclared identifier is reported only once for each function it appears in ./generic/domxslt.c:5851:12: error: expected ‘;’ before ‘char’ 5851 | CONST84 char *str; | ^~~~~ | ; ./generic/domxslt.c:5893:52: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 5893 | result = Tcl_ListObjLength (interp, resultObj, &len); | ^~~~ | | | int * ./generic/domxslt.c:5893:52: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/domxslt.c:5904:57: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 5904 | xmlstring = Tcl_GetStringFromObj (xmlstringObj, &len); | ^~~~ | | | int * ./generic/domxslt.c:5904:57: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/domxslt.c:5969:9: error: ‘str’ undeclared (first use in this function) 5969 | str = Tcl_GetStringResult (interp); | ^~~ ./generic/dom.c:5165:19: error: expected ‘;’ before ‘char’ 5165 | static CONST84 char *tdomMethods[] = { | ^~~~~ | ; ./generic/dom.c:5180:38: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 5180 | Tcl_WrongNumArgs (interp, 1, objv, tdom_usage); | ^~~~ | | | int ./generic/dom.c:5180:38: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/domxslt.c: In function ‘xsltFreeState’: ./generic/domxslt.c:7000:9: warning: the comparison will always evaluate as ‘true’ for the address of ‘topLevelVars’ will never be NULL [-Waddress] 7000 | if (&xs->topLevelVars) { | ^ ./generic/domxslt.c:381:25: note: ‘topLevelVars’ declared here 381 | Tcl_HashTable topLevelVars; | ^~~~~~~~~~~~ ./generic/dom.c:5184:10: error: implicit declaration of function ‘CheckExpatParserObj’ [-Wimplicit-function-declaration] 5184 | if (!CheckExpatParserObj (interp, objv[1])) { | ^~~~~~~~~~~~~~~~~~~ ./generic/dom.c:5184:43: error: subscripted value is neither array nor pointer nor vector 5184 | if (!CheckExpatParserObj (interp, objv[1])) { | ^ In file included from /usr/include/tcl.h:2439, from ./generic/dom.c:49: ./generic/dom.c:5189:32: error: subscripted value is neither array nor pointer nor vector 5189 | method = Tcl_GetString(objv[2]); | ^ ./generic/dom.c:5190:42: error: subscripted value is neither array nor pointer nor vector 5190 | if (Tcl_GetIndexFromObj (interp, objv[2], tdomMethods, "method", 0, | ^ ./generic/dom.c:5204:22: error: implicit declaration of function ‘CHandlerSetCreate’ [-Wimplicit-function-declaration] 5204 | handlerSet = CHandlerSetCreate ("tdom"); | ^~~~~~~~~~~~~~~~~ ./generic/dom.c:5204:20: error: assignment to ‘CHandlerSet *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 5204 | handlerSet = CHandlerSetCreate ("tdom"); | ^ ./generic/domxpath.c: In function ‘xpathEvalFunction’: ./generic/domxpath.c:2829:32: warning: variable ‘useFastAdd’ set but not used [-Wunused-but-set-variable] 2829 | int left = 0, useFastAdd; | ^~~~~~~~~~ ./generic/dom.c:5220:17: error: implicit declaration of function ‘GetExpatInfo’ [-Wimplicit-function-declaration] 5220 | expat = GetExpatInfo (interp, objv[1]); | ^~~~~~~~~~~~ ./generic/dom.c:5220:43: error: subscripted value is neither array nor pointer nor vector 5220 | expat = GetExpatInfo (interp, objv[1]); | ^ In file included from ./generic/tcldom.c:53: ./generic/nodecmd.h:37:44: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 37 | Tcl_Obj *CONST objv[], | ^~~~ In file included from ./generic/tcldom.c:54: ./generic/tcldom.h:72:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 72 | EXTERN int Tdom_Init _ANSI_ARGS_((Tcl_Interp *interp)); | ^~~~~~~~~~~ ./generic/tcldom.h:73:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 73 | EXTERN int Tdom_SafeInit _ANSI_ARGS_((Tcl_Interp *interp)); | ^~~~~~~~~~~ ./generic/tcldom.c:525:5: error: unknown type name ‘CONST84’; did you mean ‘CONST86’? 525 | CONST84 char *name1, | ^~~~~~~ | CONST86 ./generic/tcldom.c:526:5: error: unknown type name ‘CONST84’; did you mean ‘CONST86’? 526 | CONST84 char *name2, | ^~~~~~~ | CONST86 ./generic/dom.c:5249:9: error: implicit declaration of function ‘CHandlerSetInstall’ [-Wimplicit-function-declaration] 5249 | CHandlerSetInstall (interp, objv[1], handlerSet); | ^~~~~~~~~~~~~~~~~~ ./generic/dom.c:5249:41: error: subscripted value is neither array nor pointer nor vector 5249 | CHandlerSetInstall (interp, objv[1], handlerSet); | ^ ./generic/tcldom.c:560:5: error: unknown type name ‘CONST84’; did you mean ‘CONST86’? 560 | CONST84 char *name1, | ^~~~~~~ | CONST86 ./generic/domxslt.c: At top level: ./generic/domxslt.c:466:13: warning: ‘printXML’ defined but not used [-Wunused-function] 466 | static void printXML (domNode *node, int level, int maxlevel) { | ^~~~~~~~ make: *** [Makefile:302: domxslt.o] Error 1 make: *** Waiting for unfinished jobs.... ./generic/tcldom.c:561:5: error: unknown type name ‘CONST84’; did you mean ‘CONST86’? 561 | CONST84 char *name2, | ^~~~~~~ | CONST86 ./generic/tcldom.c:898:25: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 898 | Tcl_Obj * CONST objv[] | ^~~~ ./generic/tcldom.c: In function ‘tcldom_appendXML’: ./generic/tcldom.c:1086:44: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1086 | xml_string = Tcl_GetStringFromObj(obj, &xml_string_len); | ^~~~~~~~~~~~~~~ | | | int * ./generic/tcldom.c:1086:44: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tcldom.c: In function ‘tcldom_xpathFuncCallBack’: ./generic/tcldom.c:1335:51: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1335 | rc = Tcl_ListObjLength(interp, resultPtr, &listLen); | ^~~~~~~~ | | | int * ./generic/tcldom.c:1335:51: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/dom.c:5253:16: error: implicit declaration of function ‘CHandlerSetGetUserData’ [-Wimplicit-function-declaration] 5253 | info = CHandlerSetGetUserData (interp, objv[1], "tdom"); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/dom.c:5253:52: error: subscripted value is neither array nor pointer nor vector 5253 | info = CHandlerSetGetUserData (interp, objv[1], "tdom"); | ^ ./generic/tcldom.c:1368:55: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1368 | rc = Tcl_ListObjLength(interp, value, &listLen); | ^~~~~~~~ | | | int * ./generic/tcldom.c:1368:55: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/dom.c:5258:43: error: subscripted value is neither array nor pointer nor vector 5258 | expat = GetExpatInfo (interp, objv[1]); | ^ ./generic/dom.c:5270:52: error: subscripted value is neither array nor pointer nor vector 5270 | info = CHandlerSetGetUserData (interp, objv[1], "tdom"); | ^ ./generic/tcldom.c:1414:66: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1414 | errStr = Tcl_GetStringFromObj( Tcl_GetObjResult(interp), &errStrLen); | ^~~~~~~~~~ | | | int * ./generic/tcldom.c:1414:66: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/dom.c:5284:46: error: subscripted value is neither array nor pointer nor vector 5284 | encodingName = Tcl_GetString(objv[3]); | ^ ./generic/dom.c:5305:52: error: subscripted value is neither array nor pointer nor vector 5305 | info = CHandlerSetGetUserData (interp, objv[1], "tdom"); | ^ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5312:48: error: subscripted value is neither array nor pointer nor vector 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5312:48: error: subscripted value is neither array nor pointer nor vector 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5312:54: error: expected expression before ‘bool’ 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5312:13: error: expression in static assertion is not an integer 5312 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~~~~~~~~~~~~~~~~~~ ./generic/dom.c:5313:37: error: expected expression before ‘bool’ 5313 | info->storeLineColumn = bool; | ^~~~ ./generic/tcldom.c: In function ‘tcldom_xpathResolveVar’: ./generic/tcldom.c:1481:5: error: ‘CONST’ undeclared (first use in this function); did you mean ‘CONST86’? 1481 | CONST char *varValue; | ^~~~~ | CONST86 ./generic/tcldom.c:1481:5: note: each undeclared identifier is reported only once for each function it appears in ./generic/tcldom.c:1481:10: error: expected ‘;’ before ‘char’ 1481 | CONST char *varValue; | ^~~~~ | ; ./generic/tcldom.c:1482:10: error: expected ‘;’ before ‘char’ 1482 | CONST char *termPtr; | ^~~~~ | ; ./generic/tcldom.c:1486:5: error: ‘varValue’ undeclared (first use in this function) 1486 | varValue = Tcl_ParseVar(interp, strToParse, &termPtr); | ^~~~~~~~ ./generic/tcldom.c:1486:50: error: ‘termPtr’ undeclared (first use in this function) 1486 | varValue = Tcl_ParseVar(interp, strToParse, &termPtr); | ^~~~~~~ ./generic/tcldom.c: At top level: ./generic/tcldom.c:1513:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 1513 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/dom.c:5319:18: error: implicit declaration of function ‘CHandlerSetRemove’ [-Wimplicit-function-declaration] 5319 | result = CHandlerSetRemove (interp, objv[1], "tdom"); | ^~~~~~~~~~~~~~~~~ ./generic/dom.c:5319:49: error: subscripted value is neither array nor pointer nor vector 5319 | result = CHandlerSetRemove (interp, objv[1], "tdom"); | ^ ./generic/tcldom.c: In function ‘tcldom_appendFromTclList’: ./generic/tcldom.c:1806:48: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1806 | if ((rc = Tcl_ListObjLength(interp, lnode, &length)) != TCL_OK) { | ^~~~~~~ | | | int * ./generic/tcldom.c:1806:48: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tcldom.c:1835:48: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1835 | value = Tcl_GetStringFromObj(valueObj, &valueLength); | ^~~~~~~~~~~~ | | | int * ./generic/tcldom.c:1835:48: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tcldom.c:1867:51: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1867 | pi_name = Tcl_GetStringFromObj(piNameObj, &length); | ^~~~~~~ | | | int * ./generic/tcldom.c:1867:51: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/dom.c:5331:52: error: subscripted value is neither array nor pointer nor vector 5331 | info = CHandlerSetGetUserData (interp, objv[1], "tdom"); | ^ ./generic/tcldom.c:1869:50: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1869 | value = Tcl_GetStringFromObj(valueObj, &valueLength); | ^~~~~~~~~~~~ | | | int * ./generic/tcldom.c:1869:50: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/dom.c:5339:40: error: subscripted value is neither array nor pointer nor vector 5339 | if (strcmp (Tcl_GetString (objv[3]), "") == 0) { | ^ ./generic/dom.c:5342:37: error: subscripted value is neither array nor pointer nor vector 5342 | info->extResolver = objv[3]; | ^ ./generic/tcldom.c:1895:54: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1895 | if ((rc = Tcl_ListObjLength(interp, attrListObj, &attrLength)) | ^~~~~~~~~~~ | | | int * ./generic/tcldom.c:1895:54: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tcldom.c:1917:51: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 1917 | attrValue = Tcl_GetStringFromObj(attrObj, &attrValueLength); | ^~~~~~~~~~~~~~~~ | | | int * ./generic/tcldom.c:1917:51: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tcldom.c:1929:55: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1929 | if ((rc = Tcl_ListObjLength(interp, childListObj, &childListLength)) | ^~~~~~~~~~~~~~~~ | | | int * ./generic/tcldom.c:1929:55: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/dom.c:5354:22: error: implicit declaration of function ‘CHandlerSetGet’ [-Wimplicit-function-declaration] 5354 | handlerSet = CHandlerSetGet (interp, objv[1], "tdom"); | ^~~~~~~~~~~~~~ ./generic/dom.c:5354:50: error: subscripted value is neither array nor pointer nor vector 5354 | handlerSet = CHandlerSetGet (interp, objv[1], "tdom"); | ^ ./generic/tcldom.c: In function ‘tcldom_treeAsHTML’: ./generic/tcldom.c:2548:20: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2548 | case 'i': if (!strcmp(tag,"img") || | ^~ ./generic/tcldom.c:2550:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2550 | !strcmp(tag,"isindex")) empty = 1; break; | ^~~~~ ./generic/tcldom.c:2554:20: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2554 | case 's': if (!strcmp(tag,"script") || | ^~ ./generic/tcldom.c:2555:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2555 | !strcmp(tag,"style")) scriptTag = 1; break; | ^~~~~ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:44: error: subscripted value is neither array nor pointer nor vector 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:44: error: subscripted value is neither array nor pointer nor vector 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:50: error: expected expression before ‘bool’ 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~ ./generic/dom.c:5361:9: error: expression in static assertion is not an integer 5361 | Tcl_GetBooleanFromObj (interp, objv[3], &bool); | ^~~~~~~~~~~~~~~~~~~~~ ./generic/dom.c:5362:36: error: expected expression before ‘bool’ 5362 | info->ignoreWhiteSpaces = !bool; | ^~~~ ./generic/dom.c:5363:42: error: expected expression before ‘bool’ 5363 | handlerSet->ignoreWhiteCDATAs = !bool; | ^~~~ ./generic/dom.c:5157:22: warning: variable ‘method’ set but not used [-Wunused-but-set-variable] 5157 | char *method, *encodingName; | ^~~~~~ ./generic/tcldom.c: At top level: ./generic/tcldom.c:2881:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 2881 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3030:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3030 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3128:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3128 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3218:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3218 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3272:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3272 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3311:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3311 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3353:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3353 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:3505:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3505 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c: In function ‘convertToXSLTCmd’: ./generic/tcldom.c:3588:46: error: ‘tcldom_XSLTObjCmd’ undeclared (first use in this function); did you mean ‘tcldom_NodeObjCmd’? 3588 | Tcl_CreateObjCommand(interp, objCmdName, tcldom_XSLTObjCmd, clientData, | ^~~~~~~~~~~~~~~~~ | tcldom_NodeObjCmd ./generic/tcldom.c: At top level: ./generic/tcldom.c:3607:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 3607 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c:4632:23: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 4632 | Tcl_Obj *CONST objv[] | ^~~~ ./generic/tcldom.c: In function ‘tcldom_parse’: ./generic/tcldom.c:5326:5: error: ‘CONST84’ undeclared (first use in this function); did you mean ‘CONST86’? 5326 | CONST84 char *interpResult; | ^~~~~~~ | CONST86 ./generic/tcldom.c:5326:12: error: expected ‘;’ before ‘char’ 5326 | CONST84 char *interpResult; | ^~~~~ | ; ./generic/tcldom.c:5340:19: error: expected ‘;’ before ‘char’ 5340 | static CONST84 char *parseOptions[] = { | ^~~~~ | ; ./generic/tcldom.c:5352:19: error: expected ‘;’ before ‘char’ 5352 | static CONST84 char *paramEntityParsingValues[] = { | ^~~~~ | ; ./generic/tcldom.c:5500:53: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 5500 | xml_string = Tcl_GetStringFromObj( objv[1], &xml_string_len); | ^~~~~~~~~~~~~~~ | | | int * ./generic/tcldom.c:5500:53: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/tcldom.c:5593:9: error: ‘interpResult’ undeclared (first use in this function); did you mean ‘IntResult’? 5593 | interpResult = Tcl_GetStringResult(interp); | ^~~~~~~~~~~~ | IntResult ./generic/tcldom.c: At top level: ./generic/tcldom.c:5645:24: error: expected ‘;’, ‘,’ or ‘)’ before ‘objv’ 5645 | Tcl_Obj * CONST objv[] | ^~~~ ./generic/tcldom.c: In function ‘tcldom_RegisterDocShared’: ./generic/tcldom.c:5947:9: warning: variable ‘refCount’ set but not used [-Wunused-but-set-variable] 5947 | int refCount, newEntry; | ^~~~~~~~ ./generic/tcldom.c: At top level: ./generic/tcldom.c:366:26: warning: ‘tcldom_docTrace’ used but never defined 366 | static Tcl_VarTraceProc tcldom_docTrace; | ^~~~~~~~~~~~~~~ ./generic/tcldom.c:367:26: warning: ‘tcldom_nodeTrace’ used but never defined 367 | static Tcl_VarTraceProc tcldom_nodeTrace; | ^~~~~~~~~~~~~~~~ ./generic/tcldom.c:5910:5: warning: ‘tcldom_EvalLocked’ defined but not used [-Wunused-function] 5910 | int tcldom_EvalLocked ( | ^~~~~~~~~~~~~~~~~ ./generic/tcldom.c:5315:5: warning: ‘tcldom_parse’ defined but not used [-Wunused-function] 5315 | int tcldom_parse ( | ^~~~~~~~~~~~ ./generic/tcldom.c:5270:5: warning: ‘tcldom_setResultEncoding’ defined but not used [-Wunused-function] 5270 | int tcldom_setResultEncoding ( | ^~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:5236:5: warning: ‘tcldom_createDocumentNS’ defined but not used [-Wunused-function] 5236 | int tcldom_createDocumentNS ( | ^~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:5207:5: warning: ‘tcldom_createDocumentNode’ defined but not used [-Wunused-function] 5207 | int tcldom_createDocumentNode ( | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:5175:5: warning: ‘tcldom_createDocument’ defined but not used [-Wunused-function] 5175 | int tcldom_createDocument ( | ^~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:3561:12: warning: ‘convertToXSLTCmd’ defined but not used [-Wunused-function] 3561 | static int convertToXSLTCmd ( | ^~~~~~~~~~~~~~~~ ./generic/tcldom.c:2611:6: warning: ‘tcldom_treeAsXML’ defined but not used [-Wunused-function] 2611 | void tcldom_treeAsXML ( | ^~~~~~~~~~~~~~~~ ./generic/tcldom.c:2428:6: warning: ‘tcldom_treeAsHTML’ defined but not used [-Wunused-function] 2428 | void tcldom_treeAsHTML ( | ^~~~~~~~~~~~~~~~~ ./generic/tcldom.c:1952:11: warning: ‘tcldom_treeAsTclList’ defined but not used [-Wunused-function] 1952 | Tcl_Obj * tcldom_treeAsTclList ( | ^~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:1787:5: warning: ‘tcldom_appendFromTclList’ defined but not used [-Wunused-function] 1787 | int tcldom_appendFromTclList ( | ^~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:1474:8: warning: ‘tcldom_xpathResolveVar’ defined but not used [-Wunused-function] 1474 | char * tcldom_xpathResolveVar ( | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:1436:6: warning: ‘tcldom_xsltMsgCB’ defined but not used [-Wunused-function] 1436 | void tcldom_xsltMsgCB ( | ^~~~~~~~~~~~~~~~ ./generic/tcldom.c:866:5: warning: ‘tcldom_xpointerAddCallback’ defined but not used [-Wunused-function] 866 | int tcldom_xpointerAddCallback ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:826:11: warning: ‘tcldom_find’ defined but not used [-Wunused-function] 826 | domNode * tcldom_find ( | ^~~~~~~~~~~ ./generic/tcldom.c:751:1: warning: ‘tcldom_getElementsByTagName’ defined but not used [-Wunused-function] 751 | tcldom_getElementsByTagName ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tcldom.c:281:13: warning: ‘node_usage’ defined but not used [-Wunused-variable] 281 | static char node_usage[] = | ^~~~~~~~~~ ./generic/tcldom.c:226:13: warning: ‘doc_usage’ defined but not used [-Wunused-variable] 226 | static char doc_usage[] = | ^~~~~~~~~ make: *** [Makefile:302: tcldom.o] Error 1 make: *** [Makefile:302: dom.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.qT6BD8 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qT6BD8 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 95f23091c5a74169a0afdfeba335db00 -D /var/lib/mock/f43-build-58391076-6565001/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.a4ukmfzi:/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/tdom.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 95f23091c5a74169a0afdfeba335db00 -D /var/lib/mock/f43-build-58391076-6565001/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.a4ukmfzi:/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/tdom.spec'