[MacPorts] #14588: Build fails on Leopard 10.5.2
#14588: Build fails on Leopard 10.5.2 ----------------------------------+----------------------------------------- Reporter: nirias999@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: m68k-elf-gcc leopard | ----------------------------------+----------------------------------------- Build fails on Leopard 10.5.2 {{{ ---> Building m68k-elf-gcc with target all make[2]: Nothing to be done for `all'. cc -no-cpp-precomp -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o c-pretty-print.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o libcpp.a main.o libbackend.a ../libiberty/libiberty.a ../intl/libintl.a -L/opt/local/lib -liconv Undefined symbols: "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_convert_input in libcpp.a(cppcharset.o) "_iconv", referenced from: _convert_using_iconv in libcpp.a(cppcharset.o) _convert_using_iconv in libcpp.a(cppcharset.o) "_iconv_open", referenced from: _init_iconv_desc in libcpp.a(cppcharset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [cc1] Error 1 make: *** [all-gcc] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_m68k-elf-gcc/work/build" && make all AR_FOR_TARGET=m68k-elf-ar AS_FOR_TARGET=m68k-elf-as LD_FOR_TARGET=m68k- elf-ld NM_FOR_TARGET=m68k-elf-nm RANLIB_FOR_TARGET=m68k-elf-ranlib " returned error 2 Command output: make[2]: Nothing to be done for `all'. cc -no-cpp-precomp -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o c-pretty-print.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o libcpp.a main.o libbackend.a ../libiberty/libiberty.a ../intl/libintl.a -L/opt/local/lib -liconv Undefined symbols: "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_convert_input in libcpp.a(cppcharset.o) "_iconv", referenced from: _convert_using_iconv in libcpp.a(cppcharset.o) _convert_using_iconv in libcpp.a(cppcharset.o) "_iconv_open", referenced from: _init_iconv_desc in libcpp.a(cppcharset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [cc1] Error 1 make: *** [all-gcc] Error 2 Warning: the following items did not execute (for m68k-elf-gcc): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14588> MacPorts </projects/macports> Ports system for Mac OS
#14588: m68k-elf-gcc build fails on Leopard 10.5.2 ----------------------------------+----------------------------------------- Reporter: nirias999@gmail.com | Owner: pguyot@kallisys.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: m68k-elf-gcc leopard ----------------------------------+----------------------------------------- Changes (by jmr@macports.org): * cc: pguyot@kallisys.net (removed) * owner: macports-tickets@lists.macosforge.org => pguyot@kallisys.net * summary: Build fails on Leopard 10.5.2 => m68k-elf-gcc build fails on Leopard 10.5.2 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14588#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14588: m68k-elf-gcc build fails on Leopard 10.5.2 ----------------------------------+----------------------------------------- Reporter: nirias999@gmail.com | Owner: pguyot@kallisys.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: m68k-elf-gcc leopard ----------------------------------+----------------------------------------- Comment (by coresfoundation@gmail.com): Hi, Try to apply the workaround in defect id 13499, and see if it works. I did that for a similar defect, but with mips-elf-gcc., and i got the same error., The workaround that i used was In Makefile, the line with LIBINTL = ${top_builddir}/intl/libintl.a -L/opt/local/lib -liconv was changed to LIBINTL = ${top_builddir}/intl/libintl.a -L/usr/lib -L/opt/local/lib -liconv and it worked. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14588#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14588: m68k-elf-gcc build fails on Leopard 10.5.2 ----------------------------------+----------------------------------------- Reporter: nirias999@gmail.com | Owner: pguyot@kallisys.net Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: m68k-elf-gcc leopard ----------------------------------+----------------------------------------- Changes (by pguyot@kallisys.net): * status: new => closed * resolution: => fixed Comment: I committed a fix in r36025. I don't have Leopard, could you please confirm that it works? Thanks. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14588#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts