Opened 12 years ago

Last modified 12 years ago

#36755 closed defect

git-core install fail when compiling libiconv — at Initial Version

Reported by: tai.vegas@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: libiconv

Description

$ sudo port install git-core +svn ---> Computing dependencies for git-core ---> Dependencies to be installed: curl curl-ca-bundle perl5 perl5.12 gdbm gettext libiconv ncurses libidn openssl zlib pkgconfig p5.12-error p5.12-libwww-perl p5.12-encode-locale p5.12-file-listing p5.12-http-date p5.12-html-form p5.12-html-parser p5.12-html-tagset p5.12-http-message p5.12-lwp-mediatypes p5.12-uri p5.12-mime-base64 p5.12-http-cookies p5.12-http-daemon p5.12-http-negotiate p5.12-lwp-protocol-https p5.12-io-socket-ssl p5.12-net-libidn p5.12-net-ssleay p5.12-mozilla-ca p5.12-net-http p5.12-www-robotrules p5.12-svn-simple subversion-perlbindings-5.12 apr apr-util db46 sqlite3 libedit cyrus-sasl2 kerberos5 neon serf1 subversion p5.12-term-readkey pcre bzip2 python27 python_select xz rsync popt ---> Building libiconv Error: org.macports.build for port libiconv returned: command execution failed Error: Failed to install libiconv Please see the log file for port libiconv for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/main.log

Error: The following dependencies were not installed: curl curl-ca-bundle perl5 perl5.12 gdbm gettext libiconv ncurses libidn openssl zlib pkgconfig p5.12-error p5.12-libwww-perl p5.12-encode-locale p5.12-file-listing p5.12-http-date p5.12-html-form p5.12-html-parser p5.12-html-tagset p5.12-http-message p5.12-lwp-mediatypes p5.12-uri p5.12-mime-base64 p5.12-http-cookies p5.12-http-daemon p5.12-http-negotiate p5.12-lwp-protocol-https p5.12-io-socket-ssl p5.12-net-libidn p5.12-net-ssleay p5.12-mozilla-ca p5.12-net-http p5.12-www-robotrules p5.12-svn-simple subversion-perlbindings-5.12 apr apr-util db46 sqlite3 libedit cyrus-sasl2 kerberos5 neon serf1 subversion p5.12-term-readkey pcre bzip2 python27 python_select xz rsync popt To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port git-core failed

==== log ==== version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502 :debug:main Executing org.macports.main (libiconv) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (libiconv) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (libiconv) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (libiconv) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (libiconv) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (libiconv) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (libiconv) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Sat Oct 27 09:23:06 EDT 2012 :notice:build ---> Building libiconv :debug:build Executing org.macports.build (libiconv) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14" && /usr/bin/make CC=/usr/bin/clang -f Makefile.devel && /usr/bin/make -j2 -w all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14" && /usr/bin/make CC=/usr/bin/clang -f Makefile.devel && /usr/bin/make -j2 -w all :info:build if test -n "$GNULIB_TOOL"; then \ :info:build $GNULIB_TOOL --lib=libicrt --source-base=srclib --m4-base=srcm4 --makefile-name=Makefile.gnulib --no-libtool --local-dir=gnulib-local --no-vc-files \ :info:build --import binary-io error gettext gettext-h mbstate memmove progname relocatable-prog safe-read sigpipe stdio stdlib strerror unistd uniwidth/width unlocked-io xalloc libiconv-misc; \ :info:build fi :info:build cd libcharset && make -f Makefile.devel all :info:build make[1]: Nothing to be done for `all'. :info:build cd preload && make -f Makefile.devel all :info:build make[1]: Nothing to be done for `all'. :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14' :info:build cd lib && /usr/bin/make all :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14/lib' :info:build /bin/sh ../libtool --mode=link /usr/bin/clang -arch x86_64 -pipe -O2 -arch x86_64 -fvisibility=hidden -o libiconv.la -rpath /opt/local/lib -version-info 7:1:5 -no-undefined iconv.lo localcharset.lo relocatable.lo :info:build libtool: link: /usr/bin/clang -dynamiclib -o .libs/libiconv.2.dylib .libs/iconv.o .libs/localcharset.o .libs/relocatable.o -arch x86_64 -O2 -arch x86_64 -install_name /opt/local/lib/libiconv.2.dylib -compatibility_version 8 -current_version 8.1 -Wl,-single_module :info:build Undefined symbols for architecture x86_64: :info:build "_aliases_lookup", referenced from: :info:build _libiconv_open in iconv.o :info:build _libiconv_open_into in iconv.o :info:build _iconv_canonicalize in iconv.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: * [libiconv.la] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14/lib' :info:build make: * [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/work/libiconv-1.14" && /usr/bin/make CC=/usr/bin/clang -f Makefile.devel && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port libiconv returned: command execution failed :debug:build Error code: CHILDSTATUS 19326 2 :debug:build Backtrace: command execution failed

while executing

"system -nice 0 $fullcmdstring"

("eval" body line 1) invoked from within

"eval system $notty $nice \$fullcmdstring"

invoked from within

"command_exec build"

(procedure "portbuild::build_main" line 8) invoked from within

"$procedure $targetname" :info:build Warning: targets not executed for libiconv: org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install libiconv :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory

while executing

"open [file join $dir tclIndex]" :notice:build Please see the log file for port libiconv for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/main.log

Change History (1)

Changed 12 years ago by tai.vegas@…

Attachment: main.log added
Note: See TracTickets for help on using tickets.