Opened 12 years ago

Closed 10 years ago

#17902 closed defect (worksforme)

libwmf: doesn't compile with universal variant

Reported by: skl@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: libwmf universal Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: libwmf

Description

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

Change History (3)

comment:1 Changed 12 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:2 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 10 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Current version seems fine.

Note: See TracTickets for help on using tickets.