[MacPorts] #68655: gdal @3.7.3: Build failure when /Library/Frameworks/rasterlite2.framework exists
MacPorts
noreply at macports.org
Tue Nov 7 21:17:51 UTC 2023
#68655: gdal @3.7.3: Build failure when /Library/Frameworks/rasterlite2.framework
exists
----------------------+----------------------
Reporter: guidod0 | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gdal |
----------------------+----------------------
Comment (by guidod0):
Thanks! Followed the FAQ and temporarly renamed the Framework, used sudo
port clean gdal, and the build was successful.
Replying to [comment:2 ryandesign]:
> A missing binary archive is never the cause of a build failure.
>
> The log shows the real problem was:
>
> {{{
> :info:build ld: file cannot be mmap()ed, errno=22
path=/Library/Frameworks/rasterlite2.framework in
'/Library/Frameworks/rasterlite2.framework'
> }}}
>
> Having software installed in /Library/Frameworks or /usr/local can
interfere with MacPorts. See wiki:FAQ#libraryframeworks. While this
problem should be fixed here if possible, I recommend removing what you
have installed in /Library/Frameworks and /usr/local to avoid further
problems. If you do that, `sudo port clean gdal` before trying to build it
again.
--
Ticket URL: <https://trac.macports.org/ticket/68655#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list