[MacPorts] #72623: ds9 fails to build: tclZipfs.c: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types]

MacPorts noreply at macports.org
Wed Jun 18 11:07:26 UTC 2025


#72623: ds9 fails to build: tclZipfs.c: error: passing argument 1 of 'TclpFree'
from incompatible pointer type [-Wincompatible-pointer-types]
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.7
Resolution:                |   Keywords:
      Port:  ds9           |
---------------------------+--------------------

Comment (by barracuda156):

 Also:
 {{{
 /opt/local/bin/gcc-mp-14 -DPACKAGE_NAME=\"tktable\"
 -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\"
 -DPACKAGE_STRING=\"tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE_URL=\"\" -DBUILD_tktable=/\*\*/ -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
 -DWORDS_BIGENDIAN=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
 -DTCL_THREADS=1 -DSTATIC_BUILD=1 -DMODULE_SCOPE=extern\
 __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1
 -DHAVE_CAST_TO_UNION=1 -DTCL_WIDE_INT_TYPE=long\ long
 -DHAVE_STRUCT_STAT64=1  -DTBL_COMMAND=\"table\"
 -DTBL_RUNTIME=\"tkTable.tcl\"
 -DTBL_RUNTIME_DIR=\"/opt/local/var/macports/build/_opt_local_ppcports_science_ds9/ds9/work/SAOImageDS9-8.1/lib/tktable2.10\"
 -I. -I./generic
 -I"/opt/local/var/macports/build/_opt_local_ppcports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic"
 -I"/opt/local/var/macports/build/_opt_local_ppcports_science_ds9/ds9/work/SAOImageDS9-8.1/tk8.6/generic"
 -I/opt/local/include    -g -Wall -fno-common
 -I/opt/local/libexec/openssl10/include -Os -Wno-incompatible-pointer-types
 -c `echo ./generic/tkTableCellSort.c` -o tkTableCellSort.o
 ./generic/tkTableTag.c: In function 'TableResetTag':
 ./generic/tkTableTag.c:215:9: error: implicit declaration of function
 'panic'; did you mean 'panicVA'? [-Wimplicit-function-declaration]
   215 |         panic("bad mojo in TableResetTag");
       |         ^~~~~
       |         panicVA
 make[1]: *** [tkTableTag.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_ppcports_science_ds9/ds9/work/SAOImageDS9-8.1/tktable'
 make: *** [tktable] Error 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72623#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list