Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267518 - dev-util/git-1.6.2.3 doesn't build without iconv even if told so
Summary: dev-util/git-1.6.2.3 doesn't build without iconv even if told so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 09:56 UTC by Tiziano Müller (RETIRED)
Modified: 2009-04-26 20:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2009-04-26 09:56:17 UTC
`emerge git -vp`:
dev-util/git-1.6.2.3  USE="bash-completion curl mozsha1 threads -cgi -cvs -doc -emacs -gtk -iconv -perl (-ppcsha1) -subversion -tk -webdav -xinetd"

The build.log shows that NO_ICONV=YesPlease is added to the make invoke:
[...]
>>> Compiling source in /opt/gentoo/sparc/unstable/var/tmp/portage/dev-util/git-1.6.2.3/work/git-1.6.2.3 ...
make -j10 lib=lib MOZILLA_SHA1=YesPlease NO_EXPAT=YesPlease NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease INSTALL=install TAR=tar NEEDS_LIBICONV=YesPlease NO_ICONV=YesPlease NO_TCLTK=YesPlease NO_PERL=YesPlease THREADED_DELTA_SEARCH=YesPlease NO_SVN_TESTS=YesPlease DESTDIR=/opt/gentoo/sparc/unstable/var/tmp/portage/dev-util/git-1.6.2.3/image/ 'OPTCFLAGS=-O2 -pipe' OPTLDFLAGS=-Wl,-O2 OPTCC=sparcv9-sun-solaris2.10-gcc OPTAR=sparcv9-sun-solaris2.10-ar prefix=/opt/gentoo/sparc/unstable/usr htmldir=/opt/gentoo/sparc/unstable/usr/share/doc/git-1.6.2.3/html sysconfdir=/opt/gentoo/sparc/unstable/etc 
[...]
    LINK git-shell
/opt/gentoo/sparc/unstable/usr/lib/gcc/sparcv9-sun-solaris2.10/4.2.4/../../../../sparcv9-sun-solaris2.10/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
/opt/gentoo/sparc/unstable/usr/lib/gcc/sparcv9-/sun-solaris2.10/4.2.4/../../../.opt.//gentoosparcv9/-sparc/sununstable/usr/-lib/gcc/solaris2.10sparcv9-/sunbin/-ldsolaris2.10/:4.2.4/ .cannot ./../.find. -/liconv../
sparcv9-sun-solaris2.10/bin/ld: cannot find -liconv
make: *** [git-hash-object] Error 1
make: *** Waiting for unfinished jobs....
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
/opt/gentoo/sparc/unstable/usr/lib/gcc/sparcv9-sun-solaris2.10/4.2.4/../../../../sparcv9-sun-solaris2.10/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
/opt/gentoo/sparc/unstable/usr/lib/gcc/sparcv9-sun-solaris2.10/4.2.4/../../../../sparcv9-sun-solaris2.10/bin/ld: cannot find -liconv
//optopt//gentoo/gentoosparc//unstable/sparcusr//lib/gcc/unstablesparcv9-/sun-usr/lib/solaris2.10gcc//sparcv94.2.4-/.sun.-/solaris2.10/.4.2.4/./....//.../.sparcv9-/sun-.solaris2.10.//.bin./ld: cannot find /-liconv
sparcv9-sun-solaris2.10/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
/opt/gentoo/sparc/unstable/usr/lib//gcc/sparcv9-sun-solaris2.10/4.2.4//../.opt.//gentooopt/.sparc//.unstable//.gentoo/.usr/sparc/lib//sparcv9gcc/unstable-sparcv9sun--/sunsolaris2.10-usr//binsolaris2.10//lib4.2.4ld://gcc/ .sparcv9.cannot-/sun- solaris2.10/find .4.2.4.-/liconv
../..//....//sparcv9-.sun.-/../sparcv9solaris2.10/-bin/sun-ld: solaris2.10cannot/ bin/ld:find -liconv
 cannot find -liconv
make: *** [git-fast-import] Error 1
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
make: *** [git-mktree] Error 1
make: *** [git-index-pack] Error 1
make: *** [git-shell] Error 1
make: *** [git-patch-id] Error 1
make: *** [git-merge-tree] Error 1
make: *** [git-pack-redundant] Error 1
make: *** [git-merge-index] Error 1
make: *** [git-mktag] Error 1
 * ERROR: dev-util/git-1.6.2.3 failed:
 *   emake failed
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:2736:     git_emake || die "emake failed";
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Fabian Groffen gentoo-dev 2009-04-26 10:04:17 UTC
my suspicion is that this has to do with NEEDS_LIBICONV=YesPlease in your output
Comment 2 Fabian Groffen gentoo-dev 2009-04-26 10:06:24 UTC
can you try this change to the ebuild?

Index: git-1.6.2.3.ebuild
===================================================================
--- git-1.6.2.3.ebuild  (revision 44050)
+++ git-1.6.2.3.ebuild  (working copy)
@@ -106,7 +106,7 @@
        myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease"
        [[ ${CHOST} == *-solaris* ]] &&
                myopts="${myopts} INSTALL=install TAR=tar"
-       use elibc_glibc || myopts="${myopts} NEEDS_LIBICONV=YesPlease"
+       use !elibc_glibc && use iconv && myopts="${myopts} NEEDS_LIBICONV=YesPlease"
 
        use iconv || myopts="${myopts} NO_ICONV=YesPlease"
        use tk || myopts="${myopts} NO_TCLTK=YesPlease"
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2009-04-26 17:32:28 UTC
works, thanks.
Comment 4 Fabian Groffen gentoo-dev 2009-04-26 20:23:45 UTC
fix committed, thanks