[MacPorts] #42846: libsndfile @1.0.25 fails linking phase on mavericks 10.9.2

MacPorts noreply at macports.org
Sun Mar 23 08:33:23 PDT 2014


#42846: libsndfile @1.0.25 fails linking phase on mavericks 10.9.2
-------------------------+--------------------
  Reporter:  mtb19@…     |      Owner:  hans@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.1
Resolution:              |   Keywords:
      Port:  libsndfile  |
-------------------------+--------------------

Comment (by hans@…):

 The same happens on an my Intel-based Macbook running 10.6.8

 I don't think it's a dependency problem.
 The Portfile says depends_lib port:flac port:libogg port:libvorbis
 and indeed your log shows flac 1.2.1, ogg 1.1.3 and vorbis 1.2.3 installed
 and found.

 I thought it's architecture confusion:
 The compiling and linking happens with "-arch x86_64".
 The "build_arch" and "universal_archs" and their defaults seem relevant
 here.
 See what macports.conf says. On my system, "sudo port platform" says
 "Platform: darwin 10 i386",
 but maybe macports applies the "x86_64" default on Intel 64. If change my
 build_arch to i386,
 the same problem happens with "-arch i386".

 These are added by macports; the build system of libsndfile itself
 (./configure, make from the very same source) compiles and links juts
 fine.

 To be honest, I am not sure what exactly is hapenning here,
 but it definitely has to do with the "-arch" option added t the build
 chain by macports. To test, is there also a way to make macports
 NOT specify any "-arch" and just compile/link for the "native"
 architecture"?

-- 
Ticket URL: <https://trac.macports.org/ticket/42846#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list