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 aarch64 --nodeps /builddir/build/SPECS/tcl-tclvfs.spec'], chrootPath='/var/lib/mock/f43-build-58954600-6569406/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.g_rffezv:/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.g_rffezv:/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', '782b5ae29741410897ed5badd7e315dc', '-D', '/var/lib/mock/f43-build-58954600-6569406/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_rffezv:/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 aarch64 --nodeps /builddir/build/SPECS/tcl-tclvfs.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: aarch64 Building for target aarch64 sh: line 1: tclsh: command not found setting SOURCE_DATE_EPOCH=1737244800 Wrote: /builddir/build/SRPMS/tcl-tclvfs-20080503-35.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/tcl-tclvfs.spec'], chrootPath='/var/lib/mock/f43-build-58954600-6569406/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.g_rffezv:/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.g_rffezv:/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', 'a2403591db0d4099b298e173494e6e2c', '-D', '/var/lib/mock/f43-build-58954600-6569406/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_rffezv:/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 aarch64 --nodeps /builddir/build/SPECS/tcl-tclvfs.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1737244800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.P7YuyY Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4SAu4e + umask 022 + cd /builddir/build/BUILD/tcl-tclvfs-20080503-build + cd /builddir/build/BUILD/tcl-tclvfs-20080503-build + rm -rf tclvfs-20080503 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tclvfs-20080503.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tclvfs-20080503 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (tclvfs-20080503-tcl86.patch): + echo 'Patch #0 (tclvfs-20080503-tcl86.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .tcl86 --fuzz=0 patching file generic/vfs.c Patch #1 (tcl-tclvfs-configure-c99.patch): + echo 'Patch #1 (tcl-tclvfs-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .configure-c99 --fuzz=0 patching file configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AXMDxj + umask 022 + cd /builddir/build/BUILD/tcl-tclvfs-20080503-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 tclvfs-20080503 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-04-20 13:48:50.152784488 +0000 +++ ./configure 2025-04-20 13:48:50.165784621 +0000 @@ -3675,7 +3675,7 @@ #if defined (__stub_sin) || defined (__stub___sin) choke me #else -char (*f) () = sin; +__attribute__ ((used)) char (*f) () = sin; #endif #ifdef __cplusplus } @@ -4068,7 +4068,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -4165,7 +4165,7 @@ #if defined (__stub_setsockopt) || defined (__stub___setsockopt) choke me #else -char (*f) () = setsockopt; +__attribute__ ((used)) char (*f) () = setsockopt; #endif #ifdef __cplusplus } @@ -4334,7 +4334,7 @@ #if defined (__stub_accept) || defined (__stub___accept) choke me #else -char (*f) () = accept; +__attribute__ ((used)) char (*f) () = accept; #endif #ifdef __cplusplus } @@ -4431,7 +4431,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -9446,7 +9446,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 -r --in-place=.backup '/lt_cv_sys_global_symbol_to_cdecl=/s#(".*"|'\''.*'\'')#"sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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 checking for correct TEA configuration... ok (TEA 3.5) checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading checking for aarch64-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 aarch64-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 private include files... Using srcdir found in tclConfig.sh: /usr/include/tcl-private 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.13.8-200.fc41.aarch64 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 configure: creating ./config.status config.status: creating Makefile config.status: creating pkgIndex.tcl + sed -i 's|/generic:|\$(srcdir)/generic:|g' Makefile + make -j12 gcc -pipe -DPACKAGE_NAME=\"vfs\" -DPACKAGE_TARNAME=\"vfs\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"vfs\ 1.3\" -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 -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 -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/generic" -I"/usr/include/tcl-private/unix" -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/vfs.c` -o vfs.o ./generic/vfs.c: warning: -Wno-implicit-int detected - is this intentional ? ./generic/vfs.c:46:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 46 | EXTERN int Vfs_Init _ANSI_ARGS_((Tcl_Interp*)); | ^~~~~~~~~~~ ./generic/vfs.c:52:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 52 | static void Vfs_AddVolume _ANSI_ARGS_((Tcl_Obj*)); | ^~~~~~~~~~~ ./generic/vfs.c:53:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 53 | static int Vfs_RemoveVolume _ANSI_ARGS_((Tcl_Obj*)); | ^~~~~~~~~~~ ./generic/vfs.c:141:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 141 | static int VfsFilesystemObjCmd _ANSI_ARGS_((ClientData dummy, | ^~~~~~~~~~~ ./generic/vfs.c:228:5: error: expected specifier-qualifier-list before ‘CONST’ 228 | CONST char* mountPoint; | ^~~~~ ./generic/vfs.c:268:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 268 | static void Vfs_UnregisterWithInterp _ANSI_ARGS_((ClientData, | ^~~~~~~~~~~ ./generic/vfs.c:270:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ANSI_ARGS_’ 270 | static void Vfs_RegisterWithInterp _ANSI_ARGS_((Tcl_Interp*)); | ^~~~~~~~~~~ ./generic/vfs.c:281:35: error: unknown type name ‘CONST’; did you mean ‘CONST86’? 281 | CONST char* cmd, Tcl_Obj * pathPtr); | ^~~~~ | CONST86 ./generic/vfs.c: In function ‘Vfs_Init’: ./generic/vfs.c:315:1: warning: old-style function definition [-Wold-style-definition] 315 | Vfs_Init(interp) | ^~~~~~~~ ./generic/vfs.c:346:53: error: ‘VfsFilesystemObjCmd’ undeclared (first use in this function); did you mean ‘vfsFilesystem’? 346 | Tcl_CreateObjCommand(interp, "vfs::filesystem", VfsFilesystemObjCmd, | ^~~~~~~~~~~~~~~~~~~ | vfsFilesystem ./generic/vfs.c:346:53: note: each undeclared identifier is reported only once for each function it appears in ./generic/vfs.c:348:5: error: implicit declaration of function ‘Vfs_RegisterWithInterp’ [-Wimplicit-function-declaration] 348 | Vfs_RegisterWithInterp(interp); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/vfs.c: At top level: ./generic/vfs.c:371:1: warning: conflicting types for ‘Vfs_RegisterWithInterp’; have ‘void()’ 371 | Vfs_RegisterWithInterp(interp) | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/vfs.c:371:1: error: static declaration of ‘Vfs_RegisterWithInterp’ follows non-static declaration ./generic/vfs.c:348:5: note: previous implicit declaration of ‘Vfs_RegisterWithInterp’ with type ‘void()’ 348 | Vfs_RegisterWithInterp(interp); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/vfs.c: In function ‘Vfs_RegisterWithInterp’: ./generic/vfs.c:371:1: warning: old-style function definition [-Wold-style-definition] 371 | Vfs_RegisterWithInterp(interp) | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/vfs.c:380:22: error: ‘Vfs_UnregisterWithInterp’ undeclared (first use in this function); did you mean ‘Vfs_RegisterWithInterp’? 380 | Vfs_UnregisterWithInterp, (ClientData) 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ | Vfs_RegisterWithInterp ./generic/vfs.c: In function ‘Vfs_UnregisterWithInterp’: ./generic/vfs.c:410:1: warning: old-style function definition [-Wold-style-definition] 410 | Vfs_UnregisterWithInterp(dummy, interp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./generic/vfs.c: In function ‘Vfs_AddMount’: ./generic/vfs.c:450:1: warning: old-style function definition [-Wold-style-definition] 450 | Vfs_AddMount(mountPoint, isVolume, interp, mountCmd) | ^~~~~~~~~~~~ ./generic/vfs.c:477:47: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 477 | strRep = Tcl_GetStringFromObj(mountPoint, &len); | ^~~~ | | | int * ./generic/vfs.c:477:47: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/vfs.c:478:13: error: ‘VfsMount’ has no member named ‘mountPoint’ 478 | newMount->mountPoint = (char*) ckalloc(1+(unsigned)len); | ^~ ./generic/vfs.c:479:13: error: ‘VfsMount’ has no member named ‘mountLen’ 479 | newMount->mountLen = len; | ^~ ./generic/vfs.c:481:17: error: ‘VfsMount’ has no member named ‘mountPoint’ 481 | if (newMount->mountPoint == NULL) { | ^~ ./generic/vfs.c:486:27: error: ‘VfsMount’ has no member named ‘mountPoint’ 486 | strcpy((char*)newMount->mountPoint, strRep); | ^~ ./generic/vfs.c:487:13: error: ‘VfsMount’ has no member named ‘interpCmd’ 487 | newMount->interpCmd.mountCmd = mountCmd; | ^~ ./generic/vfs.c:488:13: error: ‘VfsMount’ has no member named ‘interpCmd’ 488 | newMount->interpCmd.interp = interp; | ^~ ./generic/vfs.c:489:13: error: ‘VfsMount’ has no member named ‘isVolume’ 489 | newMount->isVolume = isVolume; | ^~ ./generic/vfs.c:492:13: error: ‘VfsMount’ has no member named ‘nextMount’ 492 | newMount->nextMount = tsdPtr->listOfMounts; | ^~ ./generic/vfs.c:496:9: error: implicit declaration of function ‘Vfs_AddVolume’; did you mean ‘Vfs_AddMount’? [-Wimplicit-function-declaration] 496 | Vfs_AddVolume(mountPoint); | ^~~~~~~~~~~~~ | Vfs_AddMount ./generic/vfs.c: In function ‘Vfs_RemoveMount’: ./generic/vfs.c:528:1: warning: old-style function definition [-Wold-style-definition] 528 | Vfs_RemoveMount(mountPoint, interp) | ^~~~~~~~~~~~~~~ ./generic/vfs.c:542:51: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 542 | strRep = Tcl_GetStringFromObj(mountPoint, &len); | ^~~~ | | | int * ./generic/vfs.c:542:51: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/vfs.c:548:33: error: ‘VfsMount’ has no member named ‘interpCmd’ 548 | if ((interp == mountIter->interpCmd.interp) | ^~ ./generic/vfs.c:550:27: error: ‘VfsMount’ has no member named ‘mountLen’ 550 | (mountIter->mountLen == len && | ^~ ./generic/vfs.c:551:35: error: ‘VfsMount’ has no member named ‘mountPoint’ 551 | !strcmp(mountIter->mountPoint, strRep)))) { | ^~ ./generic/vfs.c:554:49: error: ‘VfsMount’ has no member named ‘nextMount’ 554 | tsdPtr->listOfMounts = mountIter->nextMount; | ^~ ./generic/vfs.c:556:26: error: ‘VfsMount’ has no member named ‘nextMount’ 556 | lastMount->nextMount = mountIter->nextMount; | ^~ ./generic/vfs.c:556:49: error: ‘VfsMount’ has no member named ‘nextMount’ 556 | lastMount->nextMount = mountIter->nextMount; | ^~ ./generic/vfs.c:559:26: error: ‘VfsMount’ has no member named ‘isVolume’ 559 | if (mountIter->isVolume) { | ^~ ./generic/vfs.c:561:65: error: ‘VfsMount’ has no member named ‘mountPoint’ 561 | Tcl_Obj *volObj = Tcl_NewStringObj(mountIter->mountPoint, | ^~ ./generic/vfs.c:562:65: error: ‘VfsMount’ has no member named ‘mountLen’ 562 | mountIter->mountLen); | ^~ ./generic/vfs.c:564:21: error: implicit declaration of function ‘Vfs_RemoveVolume’; did you mean ‘Vfs_RemoveMount’? [-Wimplicit-function-declaration] 564 | Vfs_RemoveVolume(volObj); | ^~~~~~~~~~~~~~~~ | Vfs_RemoveMount ./generic/vfs.c:570:36: error: ‘VfsMount’ has no member named ‘mountPoint’ 570 | ckfree((char*)mountIter->mountPoint); | ^~ In file included from ./generic/vfs.c:23: ./generic/vfs.c:571:39: error: ‘VfsMount’ has no member named ‘interpCmd’ 571 | Tcl_DecrRefCount(mountIter->interpCmd.mountCmd); | ^~ /usr/include/tcl-private/generic/tcl.h:2536:33: note: in definition of macro ‘Tcl_DecrRefCount’ 2536 | Tcl_Obj *_objPtr = (objPtr); \ | ^~~~~~ ./generic/vfs.c:577:30: error: ‘VfsMount’ has no member named ‘nextMount’ 577 | mountIter = mountIter->nextMount; | ^~ ./generic/vfs.c: In function ‘Vfs_FindMount’: ./generic/vfs.c:605:1: warning: old-style function definition [-Wold-style-definition] 605 | Vfs_FindMount(pathMount, mountLen) | ^~~~~~~~~~~~~ ./generic/vfs.c:618:52: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 618 | mountStr = Tcl_GetStringFromObj(pathMount, &mountLen); | ^~~~~~~~~ | | | int * ./generic/vfs.c:618:52: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/vfs.c:625:22: error: ‘VfsMount’ has no member named ‘mountLen’ 625 | if (mountIter->mountLen == mountLen && | ^~ ./generic/vfs.c:626:29: error: ‘VfsMount’ has no member named ‘mountPoint’ 626 | !strncmp(mountIter->mountPoint, mountStr, (size_t)mountLen)) { | ^~ ./generic/vfs.c:627:44: error: ‘VfsMount’ has no member named ‘interpCmd’ 627 | Vfs_InterpCmd *ret = &mountIter->interpCmd; | ^~ ./generic/vfs.c:630:30: error: ‘VfsMount’ has no member named ‘nextMount’ 630 | mountIter = mountIter->nextMount; | ^~ ./generic/vfs.c: In function ‘Vfs_ListMounts’: ./generic/vfs.c:656:52: error: ‘VfsMount’ has no member named ‘mountPoint’ 656 | Tcl_Obj* mount = Tcl_NewStringObj(mountIter->mountPoint, | ^~ ./generic/vfs.c:657:52: error: ‘VfsMount’ has no member named ‘mountLen’ 657 | mountIter->mountLen); | ^~ ./generic/vfs.c:659:30: error: ‘VfsMount’ has no member named ‘nextMount’ 659 | mountIter = mountIter->nextMount; | ^~ ./generic/vfs.c: In function ‘VfsFilesystemObjCmd’: ./generic/vfs.c:687:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘objv’ 687 | Tcl_Obj *CONST objv[]; | ^~~~ ./generic/vfs.c:683:1: warning: old-style function definition [-Wold-style-definition] 683 | VfsFilesystemObjCmd(dummy, interp, objc, objv) | ^~~~~~~~~~~~~~~~~~~ ./generic/vfs.c:692:17: error: expected ‘;’ before ‘char’ 692 | static CONST char *optionStrings[] = { | ^~~~~ | ; ./generic/vfs.c:704:37: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 704 | Tcl_WrongNumArgs(interp, 1, objv, "option ?arg ...?"); | ^~~~ | | | int ./generic/vfs.c:704:37: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ In file included from /usr/include/tcl-private/generic/tcl.h:2439: ./generic/vfs.c:707:41: error: subscripted value is neither array nor pointer nor vector 707 | if (Tcl_GetIndexFromObj(interp, objv[1], optionStrings, "option", 0, | ^ /usr/include/tcl-private/generic/tclDecls.h:4047:60: note: in definition of macro ‘Tcl_GetIndexFromObjStruct’ 4047 | (tclStubsPtr->tcl_GetIndexFromObjStruct((interp), (objPtr), (tablePtr), (offset), (msg), \ | ^~~~~~ ./generic/vfs.c:707:9: note: in expansion of macro ‘Tcl_GetIndexFromObj’ 707 | if (Tcl_GetIndexFromObj(interp, objv[1], optionStrings, "option", 0, | ^~~~~~~~~~~~~~~~~~~ ./generic/vfs.c:715:45: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 715 | Tcl_WrongNumArgs(interp, 2, objv, "?script?"); | ^~~~ | | | int ./generic/vfs.c:715:45: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/vfs.c:729:42: error: subscripted value is neither array nor pointer nor vector 729 | Tcl_GetStringFromObj(objv[2], &len); | ^ ./generic/vfs.c:729:47: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 729 | Tcl_GetStringFromObj(objv[2], &len); | ^~~~ | | | int * ./generic/vfs.c:729:47: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/vfs.c:735:55: error: subscripted value is neither array nor pointer nor vector 735 | tsdPtr->internalErrorScript = objv[2]; | ^ ./generic/vfs.c:744:45: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 744 | Tcl_WrongNumArgs(interp, 2, objv, "errorcode"); | ^~~~ | | | int ./generic/vfs.c:744:45: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/vfs.c:747:45: error: subscripted value is neither array nor pointer nor vector 747 | if (Tcl_GetIntFromObj(NULL, objv[2], &posixError) != TCL_OK) { | ^ ./generic/vfs.c:756:45: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 756 | Tcl_WrongNumArgs(interp, 2, objv, "path"); | ^~~~ | | | int ./generic/vfs.c:756:45: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/vfs.c:759:54: error: subscripted value is neither array nor pointer nor vector 759 | path = VfsFullyNormalizePath(interp, objv[2]); | ^ ./generic/vfs.c:762:66: error: subscripted value is neither array nor pointer nor vector 762 | "not a valid path \"", Tcl_GetString(objv[2]), | ^ /usr/include/tcl-private/generic/tclDecls.h:4029:30: note: in definition of macro ‘Tcl_GetString’ 4029 | Tcl_GetStringFromObj(objPtr, (Tcl_Size *)NULL) | ^~~~~~ ./generic/vfs.c:772:45: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 772 | Tcl_WrongNumArgs(interp, 1, objv, "mount ?-volume? path cmd"); | ^~~~ | | | int ./generic/vfs.c:772:45: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/vfs.c:776:50: error: subscripted value is neither array nor pointer nor vector 776 | char *option = Tcl_GetString(objv[2]); | ^ /usr/include/tcl-private/generic/tclDecls.h:4029:30: note: in definition of macro ‘Tcl_GetString’ 4029 | Tcl_GetStringFromObj(objPtr, (Tcl_Size *)NULL) | ^~~~~~ ./generic/vfs.c:783:41: error: subscripted value is neither array nor pointer nor vector 783 | return Vfs_AddMount(objv[3], 1, interp, objv[4]); | ^ ./generic/vfs.c:783:61: error: subscripted value is neither array nor pointer nor vector 783 | return Vfs_AddMount(objv[3], 1, interp, objv[4]); | ^ ./generic/vfs.c:787:58: error: subscripted value is neither array nor pointer nor vector 787 | path = VfsFullyNormalizePath(interp, objv[2]); | ^ ./generic/vfs.c:788:60: error: subscripted value is neither array nor pointer nor vector 788 | retVal = Vfs_AddMount(path, 0, interp, objv[3]); | ^ ./generic/vfs.c:796:45: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 796 | Tcl_WrongNumArgs(interp, 2, objv, "path"); | ^~~~ | | | int ./generic/vfs.c:796:45: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/vfs.c:804:41: error: subscripted value is neither array nor pointer nor vector 804 | val = Vfs_FindMount(objv[2], -1); | ^ ./generic/vfs.c:807:62: error: subscripted value is neither array nor pointer nor vector 807 | path = VfsFullyNormalizePath(interp, objv[2]); | ^ ./generic/vfs.c:812:71: error: subscripted value is neither array nor pointer nor vector 812 | "no such mount \"", Tcl_GetString(objv[2]), | ^ /usr/include/tcl-private/generic/tclDecls.h:4029:30: note: in definition of macro ‘Tcl_GetString’ 4029 | Tcl_GetStringFromObj(objPtr, (Tcl_Size *)NULL) | ^~~~~~ ./generic/vfs.c:823:45: error: passing argument 3 of ‘tclStubsPtr->tcl_WrongNumArgs’ makes pointer from integer without a cast [-Wint-conversion] 823 | Tcl_WrongNumArgs(interp, 2, objv, "path"); | ^~~~ | | | int ./generic/vfs.c:823:45: note: expected ‘Tcl_Obj * const*’ but argument is of type ‘int’ ./generic/vfs.c:826:37: error: subscripted value is neither array nor pointer nor vector 826 | if (Vfs_RemoveMount(objv[2], interp) == TCL_ERROR) { | ^ ./generic/vfs.c:829:58: error: subscripted value is neither array nor pointer nor vector 829 | path = VfsFullyNormalizePath(interp, objv[2]); | ^ ./generic/vfs.c:834:67: error: subscripted value is neither array nor pointer nor vector 834 | "no such mount \"", Tcl_GetString(objv[2]), | ^ /usr/include/tcl-private/generic/tclDecls.h:4029:30: note: in definition of macro ‘Tcl_GetString’ 4029 | Tcl_GetStringFromObj(objPtr, (Tcl_Size *)NULL) | ^~~~~~ ./generic/vfs.c: In function ‘VfsPathInFilesystem’: ./generic/vfs.c:962:46: error: passing argument 2 of ‘tclStubsPtr->tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types] 962 | normed = Tcl_GetStringFromObj(normedObj, &len); | ^~~~ | | | int * ./generic/vfs.c:962:46: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/vfs.c: In function ‘VfsStat’: ./generic/vfs.c:1077:1: warning: old-style function definition [-Wold-style-definition] 1077 | VfsStat(pathPtr, bufPtr) | ^~~~~~~ ./generic/vfs.c:1082:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 1082 | Tcl_SavedResult savedResult; | ^~~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c:1086:16: error: implicit declaration of function ‘VfsBuildCommandForPath’ [-Wimplicit-function-declaration] 1086 | mountCmd = VfsBuildCommandForPath(&interp, "stat", pathPtr); | ^~~~~~~~~~~~~~~~~~~~~~ ./generic/vfs.c:1086:14: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1086 | mountCmd = VfsBuildCommandForPath(&interp, "stat", pathPtr); | ^ ./generic/vfs.c:1091:5: error: implicit declaration of function ‘Tcl_SaveResult’; did you mean ‘Tcl_SetResult’? [-Wimplicit-function-declaration] 1091 | Tcl_SaveResult(interp, &savedResult); | ^~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c:1098:47: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1098 | if (Tcl_ListObjLength(interp, resPtr, &statListLength) == TCL_ERROR) { | ^~~~~~~~~~~~~~~ | | | int * ./generic/vfs.c:1098:47: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/vfs.c:1214:5: error: implicit declaration of function ‘Tcl_RestoreResult’; did you mean ‘Tcl_ResetResult’? [-Wimplicit-function-declaration] 1214 | Tcl_RestoreResult(interp, &savedResult); | ^~~~~~~~~~~~~~~~~ | Tcl_ResetResult ./generic/vfs.c: In function ‘VfsAccess’: ./generic/vfs.c:1226:1: warning: old-style function definition [-Wold-style-definition] 1226 | VfsAccess(pathPtr, mode) | ^~~~~~~~~ ./generic/vfs.c:1231:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 1231 | Tcl_SavedResult savedResult; | ^~~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c:1235:14: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1235 | mountCmd = VfsBuildCommandForPath(&interp, "access", pathPtr); | ^ ./generic/vfs.c: In function ‘VfsOpenFileChannel’: ./generic/vfs.c:1278:1: warning: old-style function definition [-Wold-style-definition] 1278 | VfsOpenFileChannel(cmdInterp, pathPtr, mode, permissions) | ^~~~~~~~~~~~~~~~~~ ./generic/vfs.c:1290:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 1290 | Tcl_SavedResult savedResult; | ^~~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c:1294:14: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1294 | mountCmd = VfsBuildCommandForPath(&interp, "open", pathPtr); | ^ ./generic/vfs.c:1314:51: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1314 | if ((Tcl_ListObjLength(interp, resultObj, &reslen) == TCL_ERROR) | ^~~~~~~ | | | int * ./generic/vfs.c:1314:51: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/vfs.c:1360:13: error: implicit declaration of function ‘Tcl_DiscardResult’; did you mean ‘Tcl_ResetResult’? [-Wimplicit-function-declaration] 1360 | Tcl_DiscardResult(&savedResult); | ^~~~~~~~~~~~~~~~~ | Tcl_ResetResult ./generic/vfs.c: In function ‘VfsCloseProc’: ./generic/vfs.c:1426:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 1426 | Tcl_SavedResult savedResult; | ^~~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c: At top level: ./generic/vfs.c:1478:5: error: unknown type name ‘CONST’; did you mean ‘CONST86’? 1478 | CONST char *pattern, /* Pattern to match against. */ | ^~~~~ | CONST86 ./generic/vfs.c: In function ‘VfsDeleteFile’: ./generic/vfs.c:1570:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 1570 | Tcl_SavedResult savedResult; | ^~~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c:1574:14: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1574 | mountCmd = VfsBuildCommandForPath(&interp, "deletefile", pathPtr); | ^ ./generic/vfs.c: In function ‘VfsCreateDirectory’: ./generic/vfs.c:1596:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 1596 | Tcl_SavedResult savedResult; | ^~~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c:1600:14: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1600 | mountCmd = VfsBuildCommandForPath(&interp, "createdirectory", pathPtr); | ^ ./generic/vfs.c: In function ‘VfsRemoveDirectory’: ./generic/vfs.c:1628:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 1628 | Tcl_SavedResult savedResult; | ^~~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c:1632:14: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1632 | mountCmd = VfsBuildCommandForPath(&interp, "removedirectory", pathPtr); | ^ ./generic/vfs.c: In function ‘VfsFileAttrStrings’: ./generic/vfs.c:1660:1: warning: old-style function definition [-Wold-style-definition] 1660 | VfsFileAttrStrings(pathPtr, objPtrRef) | ^~~~~~~~~~~~~~~~~~ ./generic/vfs.c:1665:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 1665 | Tcl_SavedResult savedResult; | ^~~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c:1669:14: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1669 | mountCmd = VfsBuildCommandForPath(&interp, "fileattributes", pathPtr); | ^ ./generic/vfs.c: In function ‘VfsFileAttrsGet’: ./generic/vfs.c:1693:1: warning: old-style function definition [-Wold-style-definition] 1693 | VfsFileAttrsGet(cmdInterp, index, pathPtr, objPtrRef) | ^~~~~~~~~~~~~~~ ./generic/vfs.c:1700:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 1700 | Tcl_SavedResult savedResult; | ^~~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c:1704:14: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1704 | mountCmd = VfsBuildCommandForPath(&interp, "fileattributes", pathPtr); | ^ ./generic/vfs.c: In function ‘VfsFileAttrsSet’: ./generic/vfs.c:1748:1: warning: old-style function definition [-Wold-style-definition] 1748 | VfsFileAttrsSet(cmdInterp, index, pathPtr, objPtr) | ^~~~~~~~~~~~~~~ ./generic/vfs.c:1755:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 1755 | Tcl_SavedResult savedResult; | ^~~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c:1760:14: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1760 | mountCmd = VfsBuildCommandForPath(&interp, "fileattributes", pathPtr); | ^ ./generic/vfs.c: In function ‘VfsUtime’: ./generic/vfs.c:1798:1: warning: old-style function definition [-Wold-style-definition] 1798 | VfsUtime(pathPtr, tval) | ^~~~~~~~ ./generic/vfs.c:1803:5: error: unknown type name ‘Tcl_SavedResult’; did you mean ‘Tcl_SetResult’? 1803 | Tcl_SavedResult savedResult; | ^~~~~~~~~~~~~~~ | Tcl_SetResult ./generic/vfs.c:1807:14: error: assignment to ‘Tcl_Obj *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1807 | mountCmd = VfsBuildCommandForPath(&interp, "utime", pathPtr); | ^ ./generic/vfs.c: At top level: ./generic/vfs.c:1844:1: warning: conflicting types for ‘Vfs_AddVolume’; have ‘void()’ 1844 | Vfs_AddVolume(volume) | ^~~~~~~~~~~~~ ./generic/vfs.c:1844:1: error: static declaration of ‘Vfs_AddVolume’ follows non-static declaration ./generic/vfs.c:496:9: note: previous implicit declaration of ‘Vfs_AddVolume’ with type ‘void()’ 496 | Vfs_AddVolume(mountPoint); | ^~~~~~~~~~~~~ ./generic/vfs.c: In function ‘Vfs_AddVolume’: ./generic/vfs.c:1844:1: warning: old-style function definition [-Wold-style-definition] 1844 | Vfs_AddVolume(volume) | ^~~~~~~~~~~~~ ./generic/vfs.c: At top level: ./generic/vfs.c:1870:1: error: static declaration of ‘Vfs_RemoveVolume’ follows non-static declaration 1870 | Vfs_RemoveVolume(volume) | ^~~~~~~~~~~~~~~~ ./generic/vfs.c:564:21: note: previous implicit declaration of ‘Vfs_RemoveVolume’ with type ‘int()’ 564 | Vfs_RemoveVolume(volObj); | ^~~~~~~~~~~~~~~~ ./generic/vfs.c: In function ‘Vfs_RemoveVolume’: ./generic/vfs.c:1870:1: warning: old-style function definition [-Wold-style-definition] 1870 | Vfs_RemoveVolume(volume) | ^~~~~~~~~~~~~~~~ ./generic/vfs.c:1876:49: error: passing argument 3 of ‘tclStubsPtr->tcl_ListObjLength’ from incompatible pointer type [-Wincompatible-pointer-types] 1876 | Tcl_ListObjLength(NULL, tsdPtr->vfsVolumes, &len); | ^~~~ | | | int * ./generic/vfs.c:1876:49: note: expected ‘Tcl_Size *’ {aka ‘long int *’} but argument is of type ‘int *’ ./generic/vfs.c: At top level: ./generic/vfs.c:1967:43: error: unknown type name ‘CONST’; did you mean ‘CONST86’? 1967 | VfsBuildCommandForPath(Tcl_Interp **iRef, CONST char* cmd, Tcl_Obj *pathPtr) { | ^~~~~ | CONST86 ./generic/vfs.c:157:35: warning: ‘VfsMatchInDirectory’ used but never defined 157 | static Tcl_FSMatchInDirectoryProc VfsMatchInDirectory; | ^~~~~~~~~~~~~~~~~~~ ./generic/vfs.c:1870:1: warning: ‘Vfs_RemoveVolume’ defined but not used [-Wunused-function] 1870 | Vfs_RemoveVolume(volume) | ^~~~~~~~~~~~~~~~ ./generic/vfs.c:1844:1: warning: ‘Vfs_AddVolume’ defined but not used [-Wunused-function] 1844 | Vfs_AddVolume(volume) | ^~~~~~~~~~~~~ ./generic/vfs.c:683:1: warning: ‘VfsFilesystemObjCmd’ defined but not used [-Wunused-function] 683 | VfsFilesystemObjCmd(dummy, interp, objc, objv) | ^~~~~~~~~~~~~~~~~~~ ./generic/vfs.c:410:1: warning: ‘Vfs_UnregisterWithInterp’ defined but not used [-Wunused-function] 410 | Vfs_UnregisterWithInterp(dummy, interp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./generic/vfs.c:371:1: warning: ‘Vfs_RegisterWithInterp’ defined but not used [-Wunused-function] 371 | Vfs_RegisterWithInterp(interp) | ^~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:260: vfs.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.AXMDxj (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.AXMDxj (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a2403591db0d4099b298e173494e6e2c -D /var/lib/mock/f43-build-58954600-6569406/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.g_rffezv:/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 aarch64 --nodeps /builddir/build/SPECS/tcl-tclvfs.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 a2403591db0d4099b298e173494e6e2c -D /var/lib/mock/f43-build-58954600-6569406/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.g_rffezv:/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 aarch64 --nodeps /builddir/build/SPECS/tcl-tclvfs.spec'