[MacPorts] #25738: opencdk universal build fails when dependencies aren't universal (was: Opencdk)

MacPorts noreply at macports.org
Sun Jul 18 18:41:01 PDT 2010


#25738: opencdk universal build fails when dependencies aren't universal
--------------------------------+-------------------------------------------
 Reporter:  dersh@…             |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.9.1                                
 Keywords:                      |        Port:  opencdk                              
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)


Comment:

 The relevant lines of your log are:

 {{{
 ld: warning: in /opt/local/lib/libgcrypt.dylib, file was built for
 unsupported file format which is not the architecture being linked (i386)
 ld: warning: in /opt/local/lib/libgpg-error.dylib, file was built for
 unsupported file format which is not the architecture being linked (i386)
 }}}

 This tells us your libgcrypt (which is a dependency of opencdk) and
 libgpg-error (which is a dependency of libgcrypt) are not installed
 universal. MacPorts base should not have permitted this situation to
 happen; it should have automatically rebuilt opencdk's dependencies
 universal if they were not already so. I don't know why this didn't happen
 (it could be that you built the dependencies with a version of MacPorts
 earlier than 1.9 so it didn't record what architectures it used), so I
 added the archcheck portgroup to opencdk in r69847, to libgcrypt in
 r69848, and to libgpg-error in r69849, because I know it works. Please
 selfupdate and try again.

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


More information about the macports-tickets mailing list