[MacPorts] #28302: Openjdk build error: libiconv.dylib, missing required architecture x86_64 in file

MacPorts noreply at macports.org
Sun Feb 6 09:00:15 PST 2011


#28302: Openjdk build error: libiconv.dylib, missing required architecture x86_64
in file
------------------------------------+---------------------------------------
 Reporter:  ulf@…                   |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.2                                
 Keywords:                          |        Port:                                       
------------------------------------+---------------------------------------
 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?

-- 
Ticket URL: <https://trac.macports.org/ticket/28302>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list