Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#28302 closed defect (invalid)

Openjdk build error: libiconv.dylib, missing required architecture x86_64 in file

Reported by: ulf@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port:

Description

Hi, I try to build openjdk6. There where no ports installed before. The compiler stos with this error:

:info:build ld: warning: in /usr/local/lib/libiconv.dylib, missing required architecture x86_64 in file
:info:build Undefined symbols:
:info:build   "_libiconv", referenced from:
:info:build       _convertUft8ToPlatformString in EncodingSupport_md.o
:info:build   "_libiconv_open", referenced from:
:info:build       _convertUft8ToPlatformString in EncodingSupport_md.o
:info:build       _convertUft8ToPlatformString in EncodingSupport_md.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[4]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-amd64/lib/amd64/libinstrument.dylib] Error 1
:info:build make[3]: *** [all] Error 1
:info:build make[2]: *** [all] Error 1
:info:build make[1]: *** [jdk-build] Error 2
:info:build make: *** [build_product_image] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/./" && /usr/bin/make  ARCH_DATA_MODEL="64" ALT_BOOTDIR="/opt/local/share/java/openjdk6_bootstrap" ALT_JDK_IMPORT_PATH="/opt/local/share/java/openjdk6_bootstrap" ALT_BINARY_PLUGS_PATH="/opt/local/share/java/icedtea6-plugs/jre/lib/rt-closed.jar" ALT_DROPS_DIR="/opt/local/var/macports/distfiles/openjdk6" ANT_HOME="/opt/local/share/java/apache-ant" ALT_FREETYPE_HEADERS_PATH="/opt/local/include" ALT_FREETYPE_LIB_PATH="/opt/local/lib" ALT_CUPS_HEADERS_PATH="/usr/include" ALT_MOTIF_DIR="/opt/local" ALT_X11_PATH="/opt/local" ALT_DEVTOOLS_PATH=/usr ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts NO_DOCS=true LANG="C" BUILD_NUMBER="b20" MILESTONE=fcs HOTSPOT_BUILD_JOBS="4"  " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for openjdk6): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for openjdk6 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/main.log

Build log in attachment. Can someone plz help here?

Attachments (1)

main.log (358.2 KB) - added by ulf@… 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by ulf@…

Attachment: main.log added

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

Where did this file come from?

/usr/local/lib/libiconv.dylib

We don't support having files in /usr/local/. You must either remove them or temporarily move the folder, clean and try again.

comment:2 Changed 14 years ago by ulf@…

removing /usr/local/lib/libiconv.* worked great. thx for your help

Note: See TracTickets for help on using tickets.