[MacPorts] #62896: libsndfile @1.0.31: move to CMAKE has made the library compatibility version go backwards from 2.0.0 to 1.0.0, breaking everything that links with it
MacPorts
noreply at macports.org
Mon May 17 04:15:59 UTC 2021
#62896: libsndfile @1.0.31: move to CMAKE has made the library compatibility
version go backwards from 2.0.0 to 1.0.0, breaking everything that links
with it
-------------------------+--------------------
Reporter: kencu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libsndfile |
-------------------------+--------------------
Comment (by kencu):
And regarding the universal autogen issue: MacPorts has a "flaw" that is
kinda hard to see how to work around.
If you have no ports installed, and you type something like {{{sudo port
-v install libsndfile +universal}}} then MacPorts will pass that
{{{+universal}}} to all the build deps when they are being installed. For
certain things, like gmake and cmake and similar, that is just not needed,
but MacPorts is not able to understand that you don't need it
{{{+universal}}} as it's just a build tool.
However, if you already have installed gmake or cmake or whatever, non-
universal, and then you type {{{sudo port -v install libsndfile
+universal}}}, MacPorts is smart enough to (usually) realize that you
don't need those things built universal, and it will (usually) not try to
make you rebuild them universal.
I think this is just hard to fix. We have suggested certain fixes, like
adding {{{depends-skip-archcheck}}} to the cmake PortGroup, etc, but so
far these suggestions have been rejected as incomplete.
So -- I guess you just have to know that, eventually.
--
Ticket URL: <https://trac.macports.org/ticket/62896#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list