[MacPorts] #70031: ds9 fails at linking (also needs an update)

MacPorts noreply at macports.org
Sat Aug 17 19:24:34 UTC 2024


#70031: ds9 fails at linking (also needs an update)
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  lpsinger
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:
      Port:  ds9           |
---------------------------+----------------------

Comment (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

 }}}

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


More information about the macports-tickets mailing list