Opened 16 years ago
Closed 15 years ago
#17221 closed defect (fixed)
libmng-1.0.10 fails to build with 10.4 and +universal
Reported by: | jeremy@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | blair (Blair Zajac), ryandesign (Ryan Carsten Schmidt) | |
Port: | libmng |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I can't get libmng to build (to try to build qt4-mac). This is with Mac OS X 10.4.8 and port 1.6 and +universal.
---> Building libmng with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libmng/work/libmng-1.0.10" && make all " returned error 2 Command output: /opt/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined <command line>:1:1: warning: this is the location of the previous definition In file included from /opt/local/include/jpeglib.h:24, from libmng_types.h:197, from libmng.h:386, from libmng_write.c:46: /opt/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined <command line>:1:1: warning: this is the location of the previous definition /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libmng\" -DVERSION=\"1.0.9\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DMNG_BUILD_SO=1 -DMNG_SUPPORT_FULL=1 -DMNG_SUPPORT_READ=1 -DMNG_SUPPORT_WRITE=1 -DMNG_SUPPORT_DISPLAY=1 -DMNG_SUPPORT_DYNAMICMNG=1 -DMNG_ACCESS_CHUNKS=1 -DMNG_STORE_CHUNKS=1 -DMNG_ERROR_TELLTALE=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBLCMS=1 -DMNG_FULL_CMS=1 -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -c libmng_write.c -o libmng_write.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libmng\" -DVERSION=\"1.0.9\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DMNG_BUILD_SO=1 -DMNG_SUPPORT_FULL=1 -DMNG_SUPPORT_READ=1 -DMNG_SUPPORT_WRITE=1 -DMNG_SUPPORT_DISPLAY=1 -DMNG_SUPPORT_DYNAMICMNG=1 -DMNG_ACCESS_CHUNKS=1 -DMNG_STORE_CHUNKS=1 -DMNG_ERROR_TELLTALE=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBLCMS=1 -DMNG_FULL_CMS=1 -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -c -o libmng_zlib.lo libmng_zlib.c /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libmng\" -DVERSION=\"1.0.9\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DMNG_BUILD_SO=1 -DMNG_SUPPORT_FULL=1 -DMNG_SUPPORT_READ=1 -DMNG_SUPPORT_WRITE=1 -DMNG_SUPPORT_DISPLAY=1 -DMNG_SUPPORT_DYNAMICMNG=1 -DMNG_ACCESS_CHUNKS=1 -DMNG_STORE_CHUNKS=1 -DMNG_ERROR_TELLTALE=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBLCMS=1 -DMNG_FULL_CMS=1 -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -c libmng_zlib.c -fno-common -DPIC -o .libs/libmng_zlib.o In file included from /opt/local/include/jpeglib.h:24, from libmng_types.h:197, from libmng.h:386, from libmng_zlib.c:55: /opt/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined <command line>:1:1: warning: this is the location of the previous definition In file included from /opt/local/include/jpeglib.h:24, from libmng_types.h:197, from libmng.h:386, from libmng_zlib.c:55: /opt/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined <command line>:1:1: warning: this is the location of the previous definition /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libmng\" -DVERSION=\"1.0.9\" -DPROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DMNG_BUILD_SO=1 -DMNG_SUPPORT_FULL=1 -DMNG_SUPPORT_READ=1 -DMNG_SUPPORT_WRITE=1 -DMNG_SUPPORT_DISPLAY=1 -DMNG_SUPPORT_DYNAMICMNG=1 -DMNG_ACCESS_CHUNKS=1 -DMNG_STORE_CHUNKS=1 -DMNG_ERROR_TELLTALE=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBLCMS=1 -DMNG_FULL_CMS=1 -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -c libmng_zlib.c -o libmng_zlib.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -version-info 1:0:0 -L/opt/local/lib -arch i386 -arch ppc -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -o libmng.la -rpath /opt/local/lib libmng_callback_xs.lo libmng_chunk_io.lo libmng_chunk_prc.lo libmng_chunk_xs.lo libmng_cms.lo libmng_display.lo libmng_dither.lo libmng_error.lo libmng_filter.lo libmng_hlapi.lo libmng_jpeg.lo libmng_object_prc.lo libmng_pixels.lo libmng_prop_xs.lo libmng_read.lo libmng_trace.lo libmng_write.lo libmng_zlib.lo -lz -ljpeg -llcms /usr/bin/gcc-4.0 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs/libmng.1.0.0.dylib .libs/libmng_callback_xs.o .libs/libmng_chunk_io.o .libs/libmng_chunk_prc.o .libs/libmng_chunk_xs.o .libs/libmng_cms.o .libs/libmng_display.o .libs/libmng_dither.o .libs/libmng_error.o .libs/libmng_filter.o .libs/libmng_hlapi.o .libs/libmng_jpeg.o .libs/libmng_object_prc.o .libs/libmng_pixels.o .libs/libmng_prop_xs.o .libs/libmng_read.o .libs/libmng_trace.o .libs/libmng_write.o .libs/libmng_zlib.o -L/opt/local/lib -lz /opt/local/lib/libjpeg.dylib /opt/local/lib/liblcms.dylib -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -arch i386 -arch ppc -install_name /opt/local/lib/libmng.1.dylib -compatibility_version 2 -current_version 2.0 -Wl,-single_module ld: flag: -undefined dynamic_lookup can't be used with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp//ccTrFEFE.out make: *** [libmng.la] Error 1 Error: The following dependencies failed to build: libmng libpng Error: Status 1 encountered during processing.
Is this similar to #16286?
Change History (6)
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | libmng added |
comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
comment:4 Changed 15 years ago by tobypeterson
Is this resolved? Previous comments seem to indicate that this is a duplicate of #16286
comment:5 Changed 15 years ago by jeremy@…
Sorry - I don't know. I'm no longer using a mac. Close if you wish as the other bug sounds like it should be fixed.
comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I am able to build libmng +universal (i386 ppc) on 10.4.11 Intel so yes I think this has been fixed somewhere.
Note: See
TracTickets for help on using
tickets.
Replying to jeremy@…:
Really 10.4.8? You should upgrade to 10.4.11. :)
Looks like exactly it, yes. Adding those lines to the Portfile should work around the issue, until MacPorts 1.7.0 is released, when it will work on its own.