Opened 15 years ago

Last modified 6 years ago

#24501 closed defect

libgdiplus 2.6 +universal configure error - build failure on Snow Leopard — at Version 1

Reported by: schulle79@… Owned by: stechert@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: libgdiplus

Description (last modified by jmroot (Joshua Root))

Hi cannot install libgdiplus 2.6 +universal which i need for mono. It fails with the following error:

--->  Building libgdiplus
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libgdiplus/work/libgdiplus-2.6" && /usr/bin/make -j2 all " returned error 2
Command output: i686-apple-darwin10-gcc-4.2.1: -lpthread: linker input file unused because linking not done
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I../src -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12    -I/opt/local/include   -I/opt/local/include/freetype2 -I/opt/local/include   -I/opt/local/include   -I/opt/local/include    -I/opt/local/include  -no-cpp-precomp -O2 -arch x86_64 -arch i386 -lpthread -c testreversepath.c
i686-apple-darwin10-gcc-4.2.1: -lpthread: linker input file unused because linking not done
i686-apple-darwin10-gcc-4.2.1: -lpthread: linker input file unused because linking not done
i686-apple-darwin10-gcc-4.2.1: -lpthread: linker input file unused because linking not done
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -no-cpp-precomp -O2 -arch x86_64 -arch i386 -lpthread  -flat_namespace -undefined suppress -L/opt/local/lib -arch x86_64 -arch i386 -o testgdi testgdi.o ../src/libgdiplus.la -lfontconfig 
mkdir .libs
i686-apple-darwin10-gcc-4.2.1: -lpthread: linker input file unused because linking not done
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -no-cpp-precomp -O2 -arch x86_64 -arch i386 -lpthread  -flat_namespace -undefined suppress -L/opt/local/lib -arch x86_64 -arch i386 -o testbits testbits.o ../src/libgdiplus.la -lfontconfig 
/usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -arch i386 -flat_namespace -undefined suppress -arch x86_64 -arch i386 -o .libs/testgdi testgdi.o  -L/opt/local/lib ../src/.libs/libgdiplus.dylib -lpthread /opt/local/lib/libglib-2.0.dylib -lresolv /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libgif.dylib /opt/local/lib/libSM.dylib /opt/local/lib/libICE.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libexif.dylib /opt/local/lib/libintl.dylib -lc -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libexpat.dylib 
/usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -arch i386 -flat_namespace -undefined suppress -arch x86_64 -arch i386 -o .libs/testbits testbits.o  -L/opt/local/lib ../src/.libs/libgdiplus.dylib -lpthread /opt/local/lib/libglib-2.0.dylib -lresolv /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libgif.dylib /opt/local/lib/libSM.dylib /opt/local/lib/libICE.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libexif.dylib /opt/local/lib/libintl.dylib -lc -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libexpat.dylib 
ld: warning: duplicate dylib /opt/local/lib/libz.1.dylib
ld: warning: duplicate dylib /opt/local/lib/libz.1.dylib
ld: warning: in /opt/local/lib/libcairo.dylib, file was built for unsupported file format which is not the ld:architecture being linked  (warning: i386in)
ld: warning: in /opt/local/lib/libpixman-1.dylib, file was built for unsupported file format  /optwhich is /not localthe /architecture libbeing/ libcairo.dyliblinked,  (filei386 )was
 ldbuilt:  forwarning :unsupported  duplicatefile  dylibformat  /whichopt /islocal /notlib /thelibz.1.dylib 
architectureld :being  inlinked  /(opti386/)local
/ldlib:/ libxslt.1.dylibwarning,:  filein  was/ optbuilt/ localfor/ libunsupported/ libpixmanfile- 1.dylibformat,  whichfile  iswas  notbuilt  thefor  architectureunsupported  being linked (i386) for architecture i386
file format which is not the architecture being linked (i386)
ld: warningcollect2: ld returned 1 exit status
: duplicate dylib /opt/local/lib/libz.1.dylib
ld: in /opt/local/lib/libxslt.1.dylib, file was built for unsupported file format which is not the architecture being linked (i386) for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccKd8LtD.out (No such file or directory)
lipo: can't open input file: /var/tmp//ccm3x68P.out (No such file or directory)
make[2]: *** [testgdi] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [testbits] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Change History (1)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to stechert@…
Port: libgdiplus added

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

Note: See TracTickets for help on using tickets.