[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
Sat May 15 23:11:44 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):

 CMake is a bit ugly here. It is not trivial to change the compatibility
 version to 2.0.0 and leave the filename as libsndfile.1.dylib. cmake
 fights you.

 I stumbled across
 [https://cmake.org/cmake/help/latest/prop_tgt/MACHO_COMPATIBILITY_VERSION.html#prop_tgt:MACHO_COMPATIBILITY_VERSION
 this] and thought it might work:
 {{{
 configure.args-append -DMACHO_COMPATIBILITY_VERSION=\"2.0.0\"
 }}}

 but in that way that the obvious is never obvious, it did not.

 So I'm just going to hold back my installs at 1.0.28 with the
 compatibility version of 2.0.0 and the filename of libsndfile.1.dylib
 until such time as we either fix this, or revbump absolutely everything
 that links against libsoundfile to pick up the new details, which is all
 this:
 {{{
 $ port echo depends:libsndfile
 aubio
 audacious-plugins
 audacity
 audacity-devel
 blender
 chuck
 csound
 denemo
 dsd
 faust
 faust-devel
 faustlive-devel
 fizmo
 fldigi
 fluidsynth
 freedv-gui
 gstreamer010-gst-plugins-bad
 hydrogen
 Io
 jack
 libgig
 libkdegames
 libsamplerate
 libVLC2
 lmms
 ltc-tools
 mednafen
 minimodem
 octave
 pHash
 pulseaudio
 pure-audio
 py27-pyepl
 py27-scikits-audiolab
 py37-soundfile
 py38-soundfile
 py39-soundfile
 qtads
 rubberband
 scummvm
 scummvm-devel
 sfml
 shenidam
 simage
 sox
 twolame
 VLC2
 xournalpp
 freac
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62896#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list