[MacPorts] #69053: libjxl @0.9.0+tests does not build on macOS Sonoma, 14.2.1, because of problems with dylibs?
MacPorts
noreply at macports.org
Tue Feb 20 04:24:33 UTC 2024
#69053: libjxl @0.9.0+tests does not build on macOS Sonoma, 14.2.1, because of
problems with dylibs?
------------------------+----------------------
Reporter: ballapete | Owner: jmroot
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: sonoma
Port: libjxl |
------------------------+----------------------
Comment (by kencu):
Fails for me.
It's a very common problem with the cmake PortGroups -- the defaults are
basically set up to break testing. Sometimes the tests do work if you
install it first, which confuses people.
Add this to the tests variant and you should be good to go:
{{{
configure.args-replace -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69053#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list