Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313267 - app-portage/eix-0.20.3 w/USE=tools fails to link versionsort on G/FreeBSD.
Summary: app-portage/eix-0.20.3 w/USE=tools fails to link versionsort on G/FreeBSD.
Status: RESOLVED DUPLICATE of bug 305737
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-05 17:22 UTC by Javier Villavicencio (RETIRED)
Modified: 2010-04-05 18:32 UTC (History)
2 users (show)

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


Attachments
Add versionsort_LDADD to src/Makefile.am (eix_vsort_ldadd.diff,274 bytes, patch)
2010-04-05 17:24 UTC, Javier Villavicencio (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Villavicencio (RETIRED) gentoo-dev 2010-04-05 17:22:03 UTC
Missed a versionsort_LDADD = $(common_ldadd) in src/Makefile.am I think.

Here's the error:
  CXXLD  versionsort
eixTk/stringutils.o: In function `StringHash::operator[](unsigned int) const':
stringutils.cc:(.text+0xa8): undefined reference to `libintl_gettext'
eixTk/stringutils.o: In function `StringHash::get_index(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
stringutils.cc:(.text+0x8d5): undefined reference to `libintl_gettext'
stringutils.cc:(.text+0x94c): undefined reference to `libintl_gettext'
eixTk/stringutils.o: In function `StringHash::hash_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
stringutils.cc:(.text+0xce9): undefined reference to `libintl_gettext'
eixTk/stringutils.o: In function `StringHash::store_words(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)':
stringutils.cc:(.text+0xf31): undefined reference to `libintl_gettext'
eixTk/stringutils.o:stringutils.cc:(.text+0xfda): more undefined references to `libintl_gettext' follow
main/main_tools.o: In function `main':
main_tools.cc:(.text+0x112): undefined reference to `libintl_bindtextdomain'
main_tools.cc:(.text+0x11e): undefined reference to `libintl_textdomain'
collect2: ld returned 1 exit status
gmake[2]: *** [versionsort] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/big/tmp/portage/app-portage/eix-0.20.3/work/eix-0.20.3/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/big/tmp/portage/app-portage/eix-0.20.3/work/eix-0.20.3'
gmake: *** [all] Error 2
Comment 1 Javier Villavicencio (RETIRED) gentoo-dev 2010-04-05 17:24:49 UTC
Created attachment 226653 [details, diff]
Add versionsort_LDADD to src/Makefile.am

Here's a fix.
Comment 2 Martin Väth 2010-04-05 18:32:03 UTC
Thanks a lot for pointing out the reason:
This is the problem of bug 305737 which I was not able to detect -
only now I realize that it did not happen during linking of eix but
during linking of versionsort (i.e. USE=tools was active...).

Anyway, linking versionsort against libbzip would not be a good idea,
since the latter is not used by versionsort.

The issue should be fixed in current eix svn trunk (>=eix-0.20.3).



*** This bug has been marked as a duplicate of bug 305737 ***