[MacPorts] #17902: libwmf: doesn't compile with universal variant

MacPorts noreply at macports.org
Tue Jan 6 11:41:29 PST 2009


#17902: libwmf: doesn't compile with universal variant
------------------------------+---------------------------------------------
 Reporter:  skl@…             |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:  Port Bugs                            
Component:  ports             |     Version:  1.7.0                                
 Keywords:  libwmf universal  |        Port:  libwmf                               
------------------------------+---------------------------------------------
 the build stops with an error about

 {{{
 ld: warning in
 /tmp/skl/Gimp.app/Contents/Resources/var/macports/build/_Users_simone_src_macports_GimpPorts_ports_graphics_libwmf/work/libwmf-0.2.8.4/src/.libs/libwmflite.dylib,
 file is not of required architecture
 ld: warning in ../.libs/libwmflite.dylib, file is not of required
 architecture
 }}}

 a few lines earlier it seems that libtool doesn't hand over all needed
 universal LDFLAGS to gcc.

 {{{
 /bin/sh ../libtool --mode=link --tag=CC /usr/bin/gcc-4.0  -O2 -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386 -mmacosx-version-
 min=10.5 -I/tmp/skl/Gimp.app/Contents/Resources/include/freetype2
 -I/tmp/skl/Gimp.app/Contents/Resources/include
 -I/tmp/skl/Gimp.app/Contents/Resources/include/gtk-2.0
 -I/tmp/skl/Gimp.app/Contents/Resources/include/glib-2.0
 -I/tmp/skl/Gimp.app/Contents/Resources/lib/glib-2.0/include
 -I/tmp/skl/Gimp.app/Contents/Resources/include
 -L/tmp/skl/Gimp.app/Contents/Resources/lib -arch ppc -arch i386 -mmacosx-
 version-min=10.5 -o libwmflite.la -rpath
 /tmp/skl/Gimp.app/Contents/Resources/lib -lm -no-undefined -version-info
 7:1:0 -release 0.2 -export-dynamic api.lo bbuf.lo meta.lo player.lo
 recorder.lo
 /usr/bin/gcc-4.0 -dynamiclib  -o .libs/libwmflite-0.2.7.0.1.dylib
 .libs/api.o .libs/bbuf.o .libs/meta.o .libs/player.o .libs/recorder.o
 -L/tmp/skl/Gimp.app/Contents/Resources/lib -lm -mmacosx-version-min=10.5
 -mmacosx-version-min=10.5 -install_name
 /tmp/skl/Gimp.app/Contents/Resources/lib/libwmflite-0.2.7.dylib
 -compatibility_version 8 -current_version 8.1

 }}}

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


More information about the macports-tickets mailing list