[MacPorts] #62896: libsndfile @1.0.31: move to CMAKE has made the library compatibility version go backwards from 2.28.0 to 1.0.31, breaking everything that links with it

MacPorts noreply at macports.org
Sat May 15 18:19:13 UTC 2021


#62896: libsndfile @1.0.31: move to CMAKE has made the library compatibility
version go backwards from 2.28.0 to 1.0.31, breaking everything that links
with it
--------------------+------------------------
 Reporter:  kencu   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  libsndfile
--------------------+------------------------
 {{{
 $ port -v installed libsndfile
 The following ports are currently installed:
   libsndfile @1.0.28_1+universal (active) platform='darwin 10' archs='i386
 x86_64' date='2018-06-02T09:35:55-0700'
   libsndfile @1.0.31_0+universal platform='darwin 10' archs='i386 x86_64'
 date='2021-05-15T01:52:52-0700'

 $ otool -L /opt/local/lib/libsndfile.1.dylib
 /opt/local/lib/libsndfile.1.dylib:
         /opt/local/lib/libsndfile.1.dylib (compatibility version 2.0.0,
 current version 2.28.0)
         /opt/local/lib/libFLAC.8.dylib (compatibility version 12.0.0,
 current version 12.0.0)
         /opt/local/lib/libogg.0.dylib (compatibility version 9.0.0,
 current version 9.3.0)
         /opt/local/lib/libvorbis.0.dylib (compatibility version 5.0.0,
 current version 5.8.0)
         /opt/local/lib/libvorbisenc.2.dylib (compatibility version 3.0.0,
 current version 3.11.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 125.2.11)

 $ sudo port activate libsndfile
 The following versions of libsndfile are currently installed:
  1) libsndfile @1.0.28_1+universal (active)
  2) libsndfile @1.0.31_0+universal
 Enter a number to select an option: 2
 --->  Deactivating libsndfile @1.0.28_1+universal
 --->  Cleaning libsndfile
 --->  Activating libsndfile @1.0.31_0+universal

 $ otool -L /opt/local/lib/libsndfile.1.dylib
 /opt/local/lib/libsndfile.1.dylib:
         /opt/local/lib/libsndfile.1.dylib (compatibility version 1.0.0,
 current version 1.0.31)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 125.2.11)
         /opt/local/lib/libvorbisenc.2.dylib (compatibility version 3.0.0,
 current version 3.12.0)
         /opt/local/lib/libFLAC.8.dylib (compatibility version 12.0.0,
 current version 12.0.0)
         /opt/local/lib/libopus.0.dylib (compatibility version 9.0.0,
 current version 9.0.0)
         /opt/local/lib/libvorbis.0.dylib (compatibility version 5.0.0,
 current version 5.9.0)
         /opt/local/lib/libogg.0.dylib (compatibility version 9.0.0,
 current version 9.4.0)
 }}}

 reverting to 1.0.28_1 fixes everything.

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


More information about the macports-tickets mailing list