* Package: sys-fs/hfsutils-3.2.6_p15:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux tcl * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking hfsutils_3.2.6.orig.tar.gz to /var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work tar: A lone zero block at 2060 >>> Unpacking hfsutils_3.2.6-15.debian.tar.xz to /var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work >>> Source unpacked in /var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work >>> Preparing source in /var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6 ... * Applying patches from /var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/debian/patches ... * 0001-Fix-build-system-issues.patch ... [ ok ] * 0002-Fix-FTBFS-with-gcc-3.4.patch ... [ ok ] * 0003-Add-support-for-files-larger-than-2GB.patch ... [ ok ] * 0004-Add-DUSE_INTERP_RESULT-to-DEFINES-in-Makefile.in.patch ... [ ok ] * Applying hfsutils-3.2.6-fix-tcl-8.6.patch ... [ ok ] * Applying hfsutils-3.2.6-test-tcl-8.6.patch ... [ ok ] * Applying hfsutils-3.2.6_p15-Include-string.h-for-strcmp.patch ... [ ok ] * Applying hfsutils-3.2.6_p15-drop-manual-autoconf.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6/libhfs' ... * Running 'aclocal --system-acdir=/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/temp/aclocal' ... [ ok ] * Moving configure.in to configure.ac (bug #426262) * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6/librsrc' ... * Running 'aclocal --system-acdir=/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/temp/aclocal' ... [ ok ] * Moving configure.in to configure.ac (bug #426262) * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6' ... * Running 'aclocal --system-acdir=/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/temp/aclocal' ... [ ok ] * Moving configure.in to configure.ac (bug #426262) * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running elibtoolize in: hfsutils-3.2.6/ * Running elibtoolize in: hfsutils-3.2.6/.stamp/ * Running elibtoolize in: hfsutils-3.2.6/libhfs/ * Running elibtoolize in: hfsutils-3.2.6/libhfs/.stamp/ * Running elibtoolize in: hfsutils-3.2.6/librsrc/ * Running elibtoolize in: hfsutils-3.2.6/librsrc/.stamp/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6 ... * econf: updating hfsutils-3.2.6/libhfs/config.guess with /usr/share/gnuconfig/config.guess * econf: updating hfsutils-3.2.6/libhfs/config.sub with /usr/share/gnuconfig/config.sub * econf: updating hfsutils-3.2.6/librsrc/config.guess with /usr/share/gnuconfig/config.guess * econf: updating hfsutils-3.2.6/librsrc/config.sub with /usr/share/gnuconfig/config.sub * econf: updating hfsutils-3.2.6/config.guess with /usr/share/gnuconfig/config.guess * econf: updating hfsutils-3.2.6/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/hfsutils-3.2.6_p15 --htmldir=/usr/share/doc/hfsutils-3.2.6_p15/html --libdir=/usr/lib64 --with-tcl=/usr/lib64 --without-tk configure: loading site script /usr/share/config.site configure: loading site script /usr/share/config.site.d/80crossdev.conf checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for egrep... (cached) /bin/grep -E checking for unistd.h... (cached) yes checking for fcntl.h... yes checking for termios.h... yes checking for sys/ioctl.h... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking for an ANSI C-conforming const... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking for setreuid... yes checking for sys_errlist... no checking for Tcl... version 8.6 in /usr/lib64 checking for tcl.h... /usr/include configure: creating ./config.status config.status: creating hfsck/Makefile config.status: WARNING: 'hfsck/Makefile.in' seems to ignore the --datarootdir setting config.status: creating linux/Makefile config.status: WARNING: 'linux/Makefile.in' seems to ignore the --datarootdir setting config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h === configuring in libhfs (/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6/libhfs) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--datarootdir=/usr/share' '--docdir=/usr/share/doc/hfsutils-3.2.6_p15' '--htmldir=/usr/share/doc/hfsutils-3.2.6_p15/html' '--libdir=/usr/lib64' '--with-tcl=/usr/lib64' '--without-tk' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CC=x86_64-pc-linux-gnu-gcc' 'CFLAGS=-O3 -pipe -march=native -fno-diagnostics-color' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' --cache-file=/dev/null --srcdir=. configure: loading site script /usr/share/config.site configure: loading site script /usr/share/config.site.d/80crossdev.conf checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking whether ln -s works... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for egrep... (cached) /bin/grep -E checking for unistd.h... (cached) yes checking for fcntl.h... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for an ANSI C-conforming const... yes checking for working memcmp... yes checking for mktime... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h === configuring in librsrc (/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6/librsrc) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--datarootdir=/usr/share' '--docdir=/usr/share/doc/hfsutils-3.2.6_p15' '--htmldir=/usr/share/doc/hfsutils-3.2.6_p15/html' '--libdir=/usr/lib64' '--with-tcl=/usr/lib64' '--without-tk' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CC=x86_64-pc-linux-gnu-gcc' 'CFLAGS=-O3 -pipe -march=native -fno-diagnostics-color' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' --cache-file=/dev/null --srcdir=. configure: loading site script /usr/share/config.site configure: loading site script /usr/share/config.site.d/80crossdev.conf checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for egrep... (cached) /bin/grep -E checking for unistd.h... (cached) yes checking for fcntl.h... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for an ANSI C-conforming const... yes checking for mktime... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6 ... make -j4 'AR=x86_64-pc-linux-gnu-ar rc' CC=x86_64-pc-linux-gnu-gcc RANLIB=x86_64-pc-linux-gnu-ranlib cd libhfs && make x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hfsutil.o hfsutil.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hcwd.o hcwd.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hattrib.o hattrib.c make[1]: Entering directory '/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6/libhfs' rm -f os.c ln -s os/unix.c os.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o data.o data.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hcd.o hcd.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o block.o block.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o low.o low.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hcopy.o hcopy.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hdel.o hdel.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hformat.o hformat.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o medium.o medium.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hls.o hls.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o file.o file.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o btree.o btree.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hmkdir.o hmkdir.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hmount.o hmount.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o node.o node.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hpwd.o hpwd.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o record.o record.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o volume.o volume.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hrename.o hrename.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o hfs.o hfs.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hrmdir.o hrmdir.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o version.o version.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o humount.o humount.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o os.o os.c os.c: In function ‘os_open’: os.c:91:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 91 | *priv = (void *) fd; | ^ os.c: In function ‘os_close’: os.c:108:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 108 | int fd = (int) *priv; | ^ os.c: In function ‘os_same’: os.c:127:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 127 | int fd = (int) *priv; | ^ os.c: In function ‘os_seek’: os.c:147:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 147 | int fd = (int) *priv; | ^ os.c: In function ‘os_read’: os.c:172:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 172 | int fd = (int) *priv; | ^ os.c: In function ‘os_write’: os.c:192:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 192 | int fd = (int) *priv; | ^ x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hvol.o hvol.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o crc.o crc.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o binhex.o binhex.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o copyin.o copyin.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o copyout.o copyout.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o charset.o charset.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o darray.o darray.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o dlist.o dlist.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o dstring.o dstring.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o glob.o glob.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o suid.o suid.c x86_64-pc-linux-gnu-ar rc libhfs.a os.o data.o block.o low.o medium.o file.o btree.o node.o record.o volume.o hfs.o version.o x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o version.o version.c x86_64-pc-linux-gnu-ranlib libhfs.a suid.c: In function ‘suid_enable’: suid.c:72:3: warning: ignoring return value of ‘setreuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 72 | setreuid(-1, euid); | ^~~~~~~~~~~~~~~~~~ suid.c:73:3: warning: ignoring return value of ‘setregid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 73 | setregid(-1, egid); | ^~~~~~~~~~~~~~~~~~ suid.c: In function ‘suid_disable’: suid.c:91:3: warning: ignoring return value of ‘setreuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 91 | setreuid(-1, uid); | ^~~~~~~~~~~~~~~~~ suid.c:92:3: warning: ignoring return value of ‘setregid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 92 | setregid(-1, gid); | ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o hfssh.o hfssh.c x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -DUSE_INTERP_RESULT -c -o tclhfs.o tclhfs.c make[1]: Leaving directory '/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6/libhfs' tclhfs.c: In function ‘direntstr’: tclhfs.c:193:26: error: passing argument 2 of ‘Tcl_Merge’ from incompatible pointer type [-Wincompatible-pointer-types] 193 | return Tcl_Merge(argc, argv); | ^~~~ | | | char ** In file included from /usr/include/tcl.h:2418, from tclhfs.c:37: /usr/include/tclDecls.h:584:66: note: expected ‘const char * const*’ but argument is of type ‘char **’ 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ tclhfs.c: In function ‘getdir’: tclhfs.c:241:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 241 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function ‘file_cmd’: tclhfs.c:286:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 286 | interp->result = "missing command"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:304:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 304 | sprintf(interp->result, "%lu", offset); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:317:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 317 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:325:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 325 | interp->result = (hfs_getfork(file) == 0) ? "data" : "rsrc"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:348:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 348 | interp->result = "bad arg to setfork: must be data or rsrc"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:365:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 365 | sprintf(interp->result, "%lu", offset); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:377:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 377 | interp->result = "size must be >= 0"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:384:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 384 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:407:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 407 | sprintf(interp->result, "%lu", bytes); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:436:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 436 | interp->result = "bad arg 3: must be start, current, or end"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:444:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 444 | sprintf(interp->result, "%lu", offset); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function ‘file_ref’: tclhfs.c:504:5: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 504 | sprintf(interp->result, "hfsfile%d", id++); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:505:3: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 505 | while (Tcl_GetCommandInfo(interp, interp->result, &info)); | ^~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:509:3: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 509 | fref->cmd = Tcl_CreateCommand(interp, interp->result, | ^~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:510:36: error: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types] 510 | file_cmd, fref, file_del); | ^~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /usr/include/tclDecls.h:303:67: note: expected ‘int (*)(void *, Tcl_Interp *, int, const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int, char **)’ 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tclhfs.c: In function ‘copynative’: tclhfs.c:620:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 620 | interp->result = "source and destination files are the same"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function ‘copyin’: tclhfs.c:674:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 674 | interp->result = "bad mode: must be macb, binh, text, or raw"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function ‘copyout’: tclhfs.c:709:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 709 | interp->result = "bad mode: must be macb, binh, text, or raw"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function ‘vol_cmd’: tclhfs.c:823:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 823 | interp->result = "missing command"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:839:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 839 | sprintf(interp->result, "%lu %lu", ent.totbytes, ent.freebytes); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:846:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 846 | sprintf(interp->result, "%ld", (long) ent.crdate); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:853:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 853 | sprintf(interp->result, "%ld", (long) ent.mddate); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:861:13: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 861 | interp->result = "1"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:863:13: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 863 | interp->result = "0"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:872:9: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 872 | sprintf(interp->result, "%lu", vref->cwd); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:892:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 892 | if (Tcl_SplitList(interp, interp->result, &listc, &listv) != TCL_OK) | ^~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:892:61: error: passing argument 4 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 892 | if (Tcl_SplitList(interp, interp->result, &listc, &listv) != TCL_OK) | ^~~~~~ | | | char *** /usr/include/tclDecls.h:722:49: note: expected ‘const char ***’ but argument is of type ‘char ***’ 722 | CONST84 char ***argvPtr); | ^ tclhfs.c:904:37: error: passing argument 2 of ‘Tcl_Merge’ from incompatible pointer type [-Wincompatible-pointer-types] 904 | result = Tcl_Merge(listc, listv); | ^~~~~ | | | char ** /usr/include/tclDecls.h:584:66: note: expected ‘const char * const*’ but argument is of type ‘char **’ 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ tclhfs.c:920:9: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 920 | interp->result = ":"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:967:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 967 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:992:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 992 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1037:54: error: passing argument 4 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 1037 | if (Tcl_SplitList(interp, argv[2], &listc, &listv) != TCL_OK) | ^~~~~~ | | | char *** /usr/include/tclDecls.h:722:49: note: expected ‘const char ***’ but argument is of type ‘char ***’ 722 | CONST84 char ***argvPtr); | ^ tclhfs.c:1045:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1045 | interp->result = "globbing error"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1049:37: error: passing argument 2 of ‘Tcl_Merge’ from incompatible pointer type [-Wincompatible-pointer-types] 1049 | result = Tcl_Merge(fargc, fargv); | ^~~~~ | | | char ** /usr/include/tclDecls.h:584:66: note: expected ‘const char * const*’ but argument is of type ‘char **’ 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ tclhfs.c:1101:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1101 | interp->result = "type and creator must be 4 character strings"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1108:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1108 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function ‘cmd_hfs’: tclhfs.c:1166:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1166 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1181:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1181 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1200:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1200 | sprintf(interp->result, "must specify partition number " | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1213:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1213 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1234:9: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1234 | sprintf(interp->result, "hfsvol%d", id++); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1235:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1235 | while (Tcl_GetCommandInfo(interp, interp->result, &info)); | ^~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1237:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1237 | Tcl_CreateCommand(interp, interp->result, | ^~~~~~~~~~~~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1238:25: error: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types] 1238 | vol_cmd, vref, vol_del); | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /usr/include/tclDecls.h:303:67: note: expected ‘int (*)(void *, Tcl_Interp *, int, const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int, char **)’ 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tclhfs.c:1247:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1247 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1257:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1257 | sprintf(interp->result, "%lu", len); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1265:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1265 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1281:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1281 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1289:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1289 | sprintf(interp->result, "%d", nparts); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1297:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1297 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1310:54: error: passing argument 4 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 1310 | if (Tcl_SplitList(interp, argv[5], &listc, &listv) != TCL_OK) | ^~~~~~ | | | char *** /usr/include/tclDecls.h:722:49: note: expected ‘const char ***’ but argument is of type ‘char ***’ 722 | CONST84 char ***argvPtr); | ^ tclhfs.c:1318:15: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1318 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1358:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1358 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1367:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1367 | interp->result = "bad arg to chartrans: " | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1386:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1386 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1396:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1396 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1400:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1400 | interp->result = (char *) hfsutils_version; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1406:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1406 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1410:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1410 | interp->result = (char *) hfsutils_copyright; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1416:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1416 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1420:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1420 | interp->result = (char *) hfsutils_author; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1426:11: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1426 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1430:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1430 | interp->result = (char *) hfsutils_license; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function ‘cmd_exit’: tclhfs.c:1457:7: warning: ‘result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1457 | interp->result = "wrong # args: should be \"exit ?returnCode?\""; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function ‘Hfs_Init’: tclhfs.c:1480:38: error: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types] 1480 | Tcl_CreateCommand(interp, "hfs", cmd_hfs, 0, 0); | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /usr/include/tclDecls.h:303:67: note: expected ‘int (*)(void *, Tcl_Interp *, int, const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int, char **)’ 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tclhfs.c:1481:38: error: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types] 1481 | Tcl_CreateCommand(interp, "exit", cmd_exit, 0, 0); | ^~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /usr/include/tclDecls.h:303:67: note: expected ‘int (*)(void *, Tcl_Interp *, int, const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int, char **)’ 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Llibhfs hfsutil.o hcwd.o \ hattrib.o hcd.o hcopy.o hdel.o hformat.o hls.o hmkdir.o hmount.o hpwd.o hrename.o hrmdir.o humount.o hvol.o crc.o binhex.o copyin.o copyout.o charset.o darray.o dlist.o dstring.o glob.o suid.o version.o \ -lhfs -o hfsutil make: *** [: tclhfs.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: sys-fs/hfsutils-3.2.6_p15::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/hfsutils-3.2.6_p15::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/hfsutils-3.2.6_p15::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fs:hfsutils-3.2.6_p15:20231207-080258.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6' * S: '/var/tmp/portage/sys-fs/hfsutils-3.2.6_p15/work/hfsutils-3.2.6'