Opened 6 months ago
Last modified 3 months ago
#70031 assigned defect
ds9 fails at linking (also needs an update)
Reported by: | barracuda156 | Owned by: | lpsinger (Leo Singer) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ||
Port: | ds9 |
Description
The port breaks at linking, perhaps because it needs to use g++
to link and not gcc
:
-L /opt/local/lib/openssl-1.0 -lssl -lcrypto \ -L/opt/local/lib -lX11 -Wl,-weak-lXss -lXext -L/opt/local/lib -lXft -lfontconfig -lpthread -lz -lpthread -framework CoreFoundation \ -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/lib/tifftcl3.9.7 -ltifftclstub3.9.7 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/lib/jpegtcl9.2 -ljpegtclstub9.2 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/lib/zlibtcl1.2.11 -lzlibtclstub1.2.11 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tkblt -ltkbltstub3.2 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/lib/tkimg1.4.9 -ltkimgstub1.4.9 -lstdc++ -L/opt/local/lib -lX11 -lxml2 Undefined symbols: "__Unwind_Resume", referenced from: __ZN6TkAGIF6createEiPPKc in libtkagif1.0.a(tkagif.o) __ZN6TkAGIF6createEiPPKc in libtkagif1.0.a(tkagif.o) __ZN6TkAGIF6createEiPPKc in libtkagif1.0.a(tkagif.o) __ZN6TkAGIF6createEiPPKc in libtkagif1.0.a(tkagif.o) __ZN6TkAGIF6createEiPPKc in libtkagif1.0.a(tkagif.o) __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_ in libtkagif1.0.a(tkagif.o) __ZN6TkMPEG6createEiPPKc in libtkmpeg1.0.a(tkmpeg.o) __ZN6TkMPEG6createEiPPKc in libtkmpeg1.0.a(tkmpeg.o) __ZN6TkMPEG6createEiPPKc in libtkmpeg1.0.a(tkmpeg.o) __ZN6TkMPEG6createEiPPKc in libtkmpeg1.0.a(tkmpeg.o) __ZN6TkMPEG6createEiPPKc in libtkmpeg1.0.a(tkmpeg.o) __ZN6TkMPEG6createEiPPKc in libtkmpeg1.0.a(tkmpeg.o) __ZN6TkMPEG6createEiPPKc in libtkmpeg1.0.a(tkmpeg.o) __ZN6TkMPEG6createEiPPKc in libtkmpeg1.0.a(tkmpeg.o) __ZN6TkMPEG6createEiPPKc in libtkmpeg1.0.a(tkmpeg.o) __ZN6TkMPEG6createEiPPKc in libtkmpeg1.0.a(tkmpeg.o) __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_ in libtkmpeg1.0.a(tkmpeg.o) _Tcliis_Init in libtcliis1.0.a(iistcl.o) __ZN3IIS4openEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS4openEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS6retcurEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS6retcurEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS6retcurEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS6retcurEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS6retcurEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS6retcurEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS9encodewcsEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS9encodewcsEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS9encodewcsEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS9encodewcsEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS9encodewcsEiPPKc in libtcliis1.0.a(iistcl.o) __ZN3IIS9encodewcsEiPPKc in libtcliis1.0.a(iistcl.o) __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_ in libtcliis1.0.a(iistcl.o) __Z12parseSectionPcP6VectorS1_ in libtksao1.0.a(util.o) __ZN19FrameRGBTrueColor16C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(framergbtruecolor16.o) __Z29FrameRGBTrueColor16CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(framergbtruecolor16.o) __ZN19ColorbarTrueColor16C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(colorbartruecolor16.o) __Z29ColorbarTrueColor16CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(colorbartruecolor16.o) __ZN3Blt7Vec_NewEPNS_16VectorInterpDataE in libtkblt3.2.a(tkbltVector.o) __ZN19ColorbarTrueColor24C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(colorbartruecolor24.o) __Z29ColorbarTrueColor24CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(colorbartruecolor24.o) __ZN18FrameRGBTrueColor8C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(framergbtruecolor8.o) __Z28FrameRGBTrueColor8CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(framergbtruecolor8.o) __ZL11GraphObjCmdPvP10Tcl_InterpiPKP7Tcl_Obj in libtkblt3.2.a(tkbltGraphOp.o) __ZL14BarchartObjCmdPvP10Tcl_InterpiPKP7Tcl_Obj in libtkblt3.2.a(tkbltGraphOp.o) __ZN19FrameRGBTrueColor24C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(framergbtruecolor24.o) __Z29FrameRGBTrueColor24CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(framergbtruecolor24.o) __ZN22ColorbarRGBTrueColor16C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(colorbarrgbtruecolor16.o) __Z32ColorbarRGBTrueColor16CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(colorbarrgbtruecolor16.o) __ZN22ColorbarRGBTrueColor24C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(colorbarrgbtruecolor24.o) __Z32ColorbarRGBTrueColor24CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(colorbarrgbtruecolor24.o) __ZN16FrameTrueColor16C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(frametruecolor16.o) __Z26FrameTrueColor16CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(frametruecolor16.o) __ZN16FrameTrueColor1616updateColorScaleEv in libtksao1.0.a(frametruecolor16.o) __ZN21ColorbarRGBTrueColor8C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(colorbarrgbtruecolor8.o) __Z31ColorbarRGBTrueColor8CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(colorbarrgbtruecolor8.o) __ZN18ColorbarTrueColor8C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(colorbartruecolor8.o) __Z28ColorbarTrueColor8CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(colorbartruecolor8.o) __ZN17Frame3dTrueColor8C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(frame3dtruecolor8.o) __Z27Frame3dTrueColor8CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(frame3dtruecolor8.o) __ZN17Frame3dTrueColor816updateColorScaleEv in libtksao1.0.a(frame3dtruecolor8.o) __Z25PannerTrueColorCreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(pannertrue.o) __ZN18Frame3dTrueColor16C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(frame3dtruecolor16.o) __Z28Frame3dTrueColor16CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(frame3dtruecolor16.o) __ZN18Frame3dTrueColor1616updateColorScaleEv in libtksao1.0.a(frame3dtruecolor16.o) __ZN16FrameTrueColor24C4EP10Tcl_InterpP10Tk_Canvas_P7Tk_Item in libtksao1.0.a(frametruecolor24.o) __Z26FrameTrueColor24CreateProcP10Tcl_InterpP10Tk_Canvas_P7Tk_ItemiPKP7Tcl_Obj in libtksao1.0.a(frametruecolor24.o) . . . __ZN8FitsNRRD10initHeaderEP8FitsFile in libtksao1.0.a(nrrd.o) __ZN9Attribute9initFontsEv in libtksao1.0.a(attribute.o) __ZN9Attribute9setColourEd in libtksao1.0.a(attribute.o) ld: symbol(s) not found collect2: error: ld returned 1 exit status
It is also substantially out of date at the moment.
Change History (3)
comment:1 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
comment:2 follow-up: 3 Changed 3 months ago by barracuda156
With gcc14 it fails on compilation already:
*** tclzipfs *** /usr/bin/make -C tclzipfs install make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tclzipfs' /opt/local/bin/gcc-mp-14 -DPACKAGE_NAME=\"tclzipfs\" -DPACKAGE_TARNAME=\"tclzipfs\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"tclzipfs\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tclzipfs=/\*\*/ -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 -DHAVE_ZLIB=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 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic" -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/unix" -g -Wall -fno-common -pipe -g -Wall -c `echo tclZipfs.c` -o tclZipfs.o Installing header files in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/include tclZipfs.c: In function 'ZipFSOpenArchive': tclZipfs.c:1142:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1142 | zf->ptrToFree = zf->data = Tcl_AttemptAlloc(zf->length); | ^ tclZipfs.c: In function 'ZipFSCatalogFilesystem': tclZipfs.c:1282:8: error: assignment to 'ZipFile *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1282 | zf = Tcl_AttemptAlloc(sizeof(ZipFile) + strlen(mountPoint) + 1); | ^ tclZipfs.c:1317:15: error: assignment to 'ZipEntry *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1317 | z = Tcl_Alloc(sizeof(ZipEntry)); | ^ tclZipfs.c:1412:11: error: assignment to 'ZipEntry *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1412 | z = Tcl_Alloc(sizeof(ZipEntry)); | ^ In file included from tclZipfs.c:25: tclZipfs.c:1441:22: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 1441 | Tcl_Free(z); | ^ | | | ZipEntry * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4926: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipEntry *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:1466:24: error: assignment to 'ZipEntry *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1466 | zd = Tcl_Alloc(sizeof(ZipEntry)); | ^ tclZipfs.c: In function 'TclZipfs_Mount': tclZipfs.c:1680:8: error: assignment to 'ZipFile *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1680 | zf = Tcl_AttemptAlloc(sizeof(ZipFile) + strlen(mountPoint) + 1); | ^ tclZipfs.c: In function 'TclZipfs_MountBuffer': tclZipfs.c:1753:8: error: assignment to 'ZipFile *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1753 | zf = Tcl_AttemptAlloc(sizeof(ZipFile) + strlen(mountPoint) + 1); | ^ tclZipfs.c:1764:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1764 | zf->data = Tcl_AttemptAlloc(datalen); | ^ tclZipfs.c: In function 'TclZipfs_Unmount': tclZipfs.c:1845:23: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 1845 | Tcl_Free(z->data); | ~^~~~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:1847:18: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 1847 | Tcl_Free(z); | ^ | | | ZipEntry * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipEntry *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:1850:14: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 1850 | Tcl_Free(zf); | ^~ | | | ZipFile * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipFile *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c: In function 'ZipAddFile': tclZipfs.c:2368:7: error: assignment to 'ZipEntry *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 2368 | z = Tcl_Alloc(sizeof(ZipEntry)); | ^ tclZipfs.c:2402:18: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 2402 | Tcl_Free(z); | ^ | | | ZipEntry * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipEntry *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:2409:18: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 2409 | Tcl_Free(z); | ^ | | | ZipEntry * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipEntry *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:2417:18: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 2417 | Tcl_Free(z); | ^ | | | ZipEntry * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipEntry *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c: In function 'ZipFSMkZipOrImgObjCmd': tclZipfs.c:2775:18: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 2775 | Tcl_Free(z); | ^ | | | ZipEntry * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipEntry *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c: In function 'ZipChannelClose': tclZipfs.c:3330:22: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 3330 | Tcl_Free(info->ubuf); | ~~~~^~~~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3339:57: warning: pointer targets in passing argument 1 of 'TclpRealloc' differ in signedness [-Wpointer-sign] 3339 | unsigned char *newdata = Tcl_AttemptRealloc(info->ubuf, info->numRead); /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4932:52: note: in definition of macro 'Tcl_AttemptRealloc' 4932 | #define Tcl_AttemptRealloc(ptr, size) TclpRealloc((ptr), (size)) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:225:43: note: expected 'char *' but argument is of type 'unsigned char *' 225 | EXTERN char * TclpRealloc(char *ptr, unsigned int size); | ~~~~~~^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4932:39: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 4932 | #define Tcl_AttemptRealloc(ptr, size) TclpRealloc((ptr), (size)) | ^~~~~~~~~~~ tclZipfs.c:3339:34: note: in expansion of macro 'Tcl_AttemptRealloc' 3339 | unsigned char *newdata = Tcl_AttemptRealloc(info->ubuf, info->numRead); | ^~~~~~~~~~~~~~~~~~ tclZipfs.c:3343:27: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 3343 | Tcl_Free(z->data); | ~^~~~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3354:26: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 3354 | Tcl_Free(info->ubuf); | ~~~~^~~~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3360:14: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 3360 | Tcl_Free(info); | ^~~~ | | | ZipChannel * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipChannel *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c: In function 'ZipChannelOpen': tclZipfs.c:3690:10: error: assignment to 'ZipChannel *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 3690 | info = Tcl_AttemptAlloc(sizeof(ZipChannel)); | ^ tclZipfs.c:3708:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3708 | info->ubuf = Tcl_AttemptAlloc(info->maxWrite); | ^ tclZipfs.c:3712:30: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 3712 | Tcl_Free(info->ubuf); | ~~~~^~~~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3714:22: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 3714 | Tcl_Free(info); | ^~~~ | | | ZipChannel * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipChannel *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3766:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3766 | cbuf = Tcl_AttemptAlloc(stream.avail_in); | ^ tclZipfs.c:3789:34: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 3789 | Tcl_Free(cbuf); | ^~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3796:30: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 3796 | Tcl_Free(cbuf); | ^~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3799:34: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 3799 | Tcl_Free(info->ubuf); | ~~~~^~~~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3801:26: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 3801 | Tcl_Free(info); | ^~~~ | | | ZipChannel * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipChannel *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3866:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3866 | ubuf = Tcl_AttemptAlloc(stream.avail_in); | ^ tclZipfs.c:3879:42: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3879 | stream.next_out = info->ubuf = Tcl_AttemptAlloc(info->numBytes); | ^ tclZipfs.c:3885:30: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 3885 | Tcl_Free(ubuf); | ^~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3887:26: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 3887 | Tcl_Free(info); | ^~~~ | | | ZipChannel * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipChannel *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3906:30: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 3906 | Tcl_Free(ubuf); | ^~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3914:26: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 3914 | Tcl_Free(ubuf); | ^~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3917:30: warning: pointer targets in passing argument 1 of 'TclpFree' differ in signedness [-Wpointer-sign] 3917 | Tcl_Free(info->ubuf); | ~~~~^~~~~~ | | | unsigned char * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'unsigned char *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c:3919:22: error: passing argument 1 of 'TclpFree' from incompatible pointer type [-Wincompatible-pointer-types] 3919 | Tcl_Free(info); | ^~~~ | | | ZipChannel * /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclInt.h:4933:48: note: in definition of macro 'Tcl_Free' 4933 | #define Tcl_Free(ptr) TclpFree(ptr) | ^~~ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9-8.1/tcl8.6/generic/tclIntDecls.h:214:40: note: expected 'char *' but argument is of type 'ZipChannel *' 214 | EXTERN void TclpFree(char *ptr); | ~~~~~~^~~ tclZipfs.c: At top level: tclZipfs.c:4826:1: warning: 'ZipfsAppHookFindTclInit' defined but not used [-Wunused-function] 4826 | ZipfsAppHookFindTclInit( | ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [tclZipfs.o] Error 1
comment:3 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to barracuda156:
With gcc14 it fails on compilation already:
It is good to keep different errors in different tickets so that they can be investigated and resolved independently.
Note: See
TracTickets for help on using
tickets.
See also #61324.