[MacPorts] #72200: git fails to build under macOS 14.7.4 23H420 x86_64

MacPorts noreply at macports.org
Sat Mar 15 12:54:18 UTC 2025


#72200: git fails to build under macOS 14.7.4 23H420 x86_64
------------------------+--------------------
 Reporter:  BjarneDMat  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  git
------------------------+--------------------
 OK - so I had upgraded to git @2.48.0 under macOS 14.7.3
 But after having upgraded to macOS 14.7.4 23H420 x86_64, building both
 {{{
 #=> port -q installed git
   git @2.48.0_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_34
 (active)
 #=> port -q outdated git
 git                            2.48.0_0 < 2.48.1_0
 git                            2.48.0_0 < 2.49.0_0
 #=> port -cuN -sd upgrade git
 }}}
 fails.
 It seems to have something to do w/ the Command Line Tool, so I fully re-
 installed these :
 {{{
   509  cd /Library/Developer/
   514  rm -rf CommandLineTools/
   515  touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-
 progress
   518  softwareupdate -i "Command Line Tools for Xcode-16.2"
 }}}
 {{{
 Model Identifier: MacPro5,1
 macOS 14.7.4 23H420 x86_64
 Xcode 16.2 16C5032a
 Command Line Tools 16.2.0.0.1.1733547573
 }}}
 {{{
 In file included from compat/fsmonitor/fsm-listen-darwin.c:6:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:208:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/hfs/hfs_format.h:802:2:
 error: unknown type name 'uuid_string_t'; did you mean 'io_string_t'?
   802 |         uuid_string_t   ext_jnl_uuid;
       |         ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/device/device_types.h:89:33:
 note: 'io_string_t' declared here
    89 | typedef char                    io_string_t[512];
       |                                 ^
 In file included from compat/fsmonitor/fsm-listen-darwin.c:6:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:208:
 In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/hfs/hfs_format.h:804:20:
 error: use of undeclared identifier 'uuid_string_t'
   804 |         char            reserved[JIB_RESERVED_SIZE];
       |                                  ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/hfs/hfs_format.h:795:61:
 note: expanded from macro 'JIB_RESERVED_SIZE'
   795 | #define JIB_RESERVED_SIZE  ((32*sizeof(u_int32_t)) -
 sizeof(uuid_string_t) - 48)
       |                                                             ^
 }}}
 {{{
 2 errors generated.
 make: *** [compat/fsmonitor/fsm-listen-darwin.o] Error 1
 make: *** Waiting for unfinished jobs....
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_git/git/work/git-2.49.0'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_git/git/work/git-2.49.0"
 && /usr/bin/make -j24 -w all CFLAGS="-Os -std=gnu99 -arch x86_64"
 LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64"
 CC=/usr/bin/clang prefix=/opt/local CURLDIR=/opt/local ICONVDIR=/opt/local
 NO_FINK=1 NO_DARWIN_PORTS=1 NO_R_TO_GCC_LINKER=1 V=1
 PERL_PATH="/opt/local/bin/perl5.34" NO_PERL_CPAN_FALLBACK=1
 LIBPCREDIR=/opt/local USE_LIBPCRE2=1
 Exit code: 2
 Error: Failed to build git: command execution failed
 DEBUG: Error code: CHILDSTATUS 97736 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
     invoked from within
 "command_exec -callback portprogress::target_progress_callback build"
     (procedure "portbuild::build_main" line 10)
     invoked from within
 "$procedure $targetname"
 }}}
 I modifed the git Portfile to 2.48.0 and tried re-installing from source,
 and got this error again.

-- 
Ticket URL: <https://trac.macports.org/ticket/72200>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list