[MacPorts] #23021: upgrading git from 1.6.3.3 to 1.6.6 fails with error
MacPorts
noreply at macports.org
Thu Dec 24 10:21:54 PST 2009
#23021: upgrading git from 1.6.3.3 to 1.6.6 fails with error
-----------------------------------+----------------------------------------
Reporter: breskeby@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: git-core
-----------------------------------+----------------------------------------
I just tried to update my git-core port to the latest 1.6.6 release. It
ends up with the following error message:
{{{
rene-groschkes-macbook-pro:~ Rene$ sudo port upgrade git-core
---> Computing dependencies for curl
---> Configuring curl
---> Building curl
---> Staging curl into destroot
---> Deactivating curl @7.19.6_0
---> Computing dependencies for curl
---> Installing curl @7.19.7_0
---> Activating curl @7.19.7_0
---> Cleaning curl
---> Computing dependencies for openssl
---> Fetching openssl
---> Attempting to fetch openssl-0.9.8l.tar.gz from
http://www.openssl.org/source/
---> Verifying checksum(s) for openssl
---> Extracting openssl
---> Applying patches to openssl
---> Configuring openssl
---> Building openssl
---> Staging openssl into destroot
---> Deactivating openssl @0.9.8k_0
---> Computing dependencies for openssl
---> Installing openssl @0.9.8l_0+darwin
---> Activating openssl @0.9.8l_0+darwin
---> Cleaning openssl
---> Computing dependencies for git-core
---> Fetching git-core
---> Attempting to fetch git-1.6.6.tar.bz2 from
http://www.kernel.org/pub/software/scm/git/
---> Attempting to fetch git-manpages-1.6.6.tar.bz2 from
http://www.kernel.org/pub/software/scm/git/
---> Attempting to fetch git-htmldocs-1.6.6.tar.bz2 from
http://www.kernel.org/pub/software/scm/git/
---> Verifying checksum(s) for git-core
---> Extracting git-core
---> Applying patches to git-core
---> Configuring git-core
---> Building git-core
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_devel_git-core/work/git-1.6.6" && /usr/bin/make -j2 all
CFLAGS="-Wall -O2 -I/opt/local/include" LDFLAGS="-L/opt/local/lib"
CC=/usr/bin/gcc-4.2 prefix=/opt/local CURLDIR=/opt/local
OPENSSLDIR=/opt/local ICONVDIR=/opt/local PERL_PATH="/opt/local/bin/perl"
NO_FINK=1 NO_DARWIN_PORTS=1 NO_R_TO_GCC_LINKER=1 " returned error 2
Command output: CC git.o
AR libgit.a
AR xdiff/lib.a
LINK git-fast-import
LINK git-hash-object
ld: warning: in ld:/opt/local/lib/ libiconv.dylibwarning: in
/opt/local/lib/libiconv.dylib, file is not of required architecture
Undefined symbols:
"_libiconv_open", referenced from:
_reencode_string in libgit.a(utf8.o)
"_libiconv", referenced from:
, file is not of required architecture
Undefined symbols:
"_libiconv_open", referenced from:
_reencode_string in libgit.a(utf8.o)
"_libiconv", referenced from:
_reencode_string in libgit.a ( utf8.o)
_reencode_string in libgit.a(utf8.o)
"_libiconv_close", "_libiconv_closereferenced from:
" , referenced from:
_reencode_string in libgit.a(utf8.o)
_reencode_string in libgit.a(utf8.o)
ld: symbol(s) not found
_reencode_string in libgit.a(utf8.o)
_reencode_string in libgit.a(utf8.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
make: *** [git-hash-object] Error 1
make: *** Waiting for unfinished jobs....
make: *** [git-fast-import] Error 1
Error: Unable to upgrade port: 1
}}}
I'm using latest snowleopard with xcode Version 3.2.1 (1613)
--
Ticket URL: <http://trac.macports.org/ticket/23021>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list