[MacPorts] #71085: port -dv selfupdate fails for Macports 2.10.2, Sonoma 14.7, xcode 16

MacPorts noreply at macports.org
Thu Oct 10 18:18:23 UTC 2024


#71085: port -dv selfupdate fails for Macports 2.10.2, Sonoma 14.7, xcode 16
-----------------------+--------------------------------
  Reporter:  kcap-tha  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  base      |    Version:  2.10.1
Resolution:            |   Keywords:  selfupdate failure
      Port:            |
-----------------------+--------------------------------

Comment (by kcap-tha):

 First issues are, what I assume is this benign make issue:

 {{{
 configure: === configuring in vendor/tclx
 (/opt/local/var/macports/sources/selfupdate/base/vendor/tclx)
 make: *** No rule to make target `distclean'.  Stop.
 }}}


 Next hiccup comes from what might be a renaming in the XCode headers
 related to a typedef struct.


 {{{
 IMPORT=1 -D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1
 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1
 -DMP_FIXED_CUTOFFS -DMP_NO_STDINT
 /opt/local/var/macports/sources/selfupdate/base/vendor/tcl/unix/tclUnixCompat.c
 In file included from
 /opt/local/var/macports/sources/selfupdate/base/vendor/tcl/unix/tclUnixTime.c:16:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/mach_time.h:32:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/mach_types.h:80:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/host_info.h:66:
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/message.h:369:2:
 error: unknown type name 'mach_port_name_t'; did you mean 'mach_port_t'?
   369 |         mach_port_name_t              name;
       |         ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_mach_port_t.h:50:30:
 note: 'mach_port_t' declared here
    50 | typedef __darwin_mach_port_t mach_port_t;
       |                              ^
 In file included from
 /opt/local/var/macports/sources/selfupdate/base/vendor/tcl/unix/tclUnixTime.c:16:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/mach_time.h:32:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/mach_types.h:80:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/host_info.h:66:
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/mach/message.h:380:2:
 error: unknown type name 'mach_port_name_t'; did you mean 'mach_port_t'?
   380 |         mach_port_name_t              name;
       |         ^
 }}}

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


More information about the macports-tickets mailing list