[MacPorts] #72586: libgit2 @1.9.0 - Fails to build on High Sierra - error: unknown type name 'inline'
MacPorts
noreply at macports.org
Sat Jun 7 14:51:50 UTC 2025
#72586: libgit2 @1.9.0 - Fails to build on High Sierra - error: unknown type name
'inline'
------------------------+---------------------
Reporter: RobK88 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.7
Keywords: highsierra | Port: libgit2
------------------------+---------------------
`libgit2 @1.9.0` fails to build on high Sierra. It Looks like a problem
with one of the headers in `legacy-support`:
{{{
:info:build /opt/local/include/LegacySupport/dirent.h:133:8: error:
unknown type name 'inline'
:info:build static inline int
:info:build ^
:info:build /opt/local/include/LegacySupport/dirent.h:133:15: error:
expected identifier or '('
:info:build static inline int
:info:build ^
:info:build /opt/local/include/LegacySupport/dirent.h:139:8: error:
unknown type name 'inline'
:info:build static inline int
:info:build ^
:info:build /opt/local/include/LegacySupport/dirent.h:139:15: error:
expected identifier or '('
:info:build static inline int
:info:build ^
:info:build 4 errors generated.
:info:build make[2]: *** [deps/xdiff/CMakeFiles/xdiff.dir/xdiffi.c.o]
Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libgit2/libgit2/work/build'
:info:build make[1]: *** [deps/xdiff/CMakeFiles/xdiff.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build [ 1%] Building C object
deps/llhttp/CMakeFiles/llhttp.dir/http.c.o
}}}
See attached main.log...
--
Ticket URL: <https://trac.macports.org/ticket/72586>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list