[MacPorts] #29543: hugin-app: missing dependency on libxslt (was: hugin-app built as 32bit binary)

MacPorts noreply at macports.org
Sun May 22 11:02:06 PDT 2011


#29543: hugin-app: missing dependency on libxslt
-----------------------------+----------------------------------------------
 Reporter:  thimo@…          |       Owner:  ryandesign@…           
     Type:  defect           |      Status:  assigned               
 Priority:  Normal           |   Milestone:                         
Component:  ports            |     Version:  1.9.2                  
 Keywords:                   |        Port:  hugin-app              
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):

 * cc: hvdwolf@…, p.schmiedeskamp@… (added)
  * status:  new => assigned
  * owner:  macports-tickets@… => ryandesign@…


Comment:

 Seeing "`-arch i386`" in the hugin-app build should not surprise you.
 hugin-app must build 32-bit, because its dependency wxWidgets must build
 32-bit. This requirement is enforced by the line "`supported_archs i386
 ppc`" in both portfiles. When the default build_arch is x86_64 (as is the
 case on Snow Leopard), MacPorts will therefore compel all of hugin-app's
 declared dependencies to rebuild with the universal variant (i.e. for
 x86_64 and i386).

 The problem here is that hugin-app doesn't actually declare a dependency
 on libxslt, hence MacPorts didn't know that it was supposed to rebuild it
 for you. And libxml2 only appears in the dependency chain as a runtime
 dependency of xorg-xcb-proto, hence MacPorts didn't know it was needed at
 build time. The solution is to add a library dependency on libxslt.
 (libxslt already has a library dependency on libxml2.) I'm testing this
 solution now and will report back.

-- 
Ticket URL: <https://trac.macports.org/ticket/29543#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list