Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577920 - bootstrap-prefix.sh: missing link to -lintl for multiple ebuilds
Summary: bootstrap-prefix.sh: missing link to -lintl for multiple ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 574822
Blocks:
  Show dependency tree
 
Reported: 2016-03-21 11:51 UTC by Michael Schubert
Modified: 2016-04-25 12:48 UTC (History)
1 user (show)

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 Michael Schubert 2016-03-21 11:51:47 UTC
Note: Filing this on prefix because I only have a prefix system and bootstrap is easy to reproduce. I have the same issues with an already installed prefix, and it potentially also affects the normal distribution.


Bootstrapping prefix on RHEL6 host, the following packages fail `emerge -e system` during linking because of missing symbols provided by [nls] and libintl:

sys-apps/net-tools-1.60_p20160215155418.ebuild [1]
sys-apps/util-linux-2.27.1.ebuild
sys-apps/attr-2.4.47-r2.ebuild


In each case, it can be worked around to `append-ldflags -lintl` the in ebuild, but this is not a good fix (`attr` needs to in addition inherit `flag-o-matic`).

Disabling [nls] causes other errors.


[1] also: https://bugs.gentoo.org/show_bug.cgi?id=575102
Comment 1 Marko Vendelin 2016-03-22 09:20:36 UTC
I have been hit with the same bug. See bug 574794
Comment 2 Michael Schubert 2016-03-22 10:41:38 UTC
My apologies, I missed the other report (searching the words "bootstrap prefix" did not show it).

Installing some software after prefix, I had the following more undefined symbols because of libraries missing:

dev-lang/swig: -lintl
dev-vcs/git: -lintl -liconv

And "there is no C++ compiler" on configure in:

sys-apps/groff *** this means prefix currently can't recompile @system ***
net-libs/zeromq
dev-util/cmake
Comment 3 Michael Schubert 2016-03-22 11:15:36 UTC
Also, behavior seems to be the same as described here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56779
Comment 4 Fabian Groffen gentoo-dev 2016-04-20 07:53:21 UTC
I'm wondering if this would be fixed by Michael's fix from bug #574822.
Comment 5 Fabian Groffen gentoo-dev 2016-04-25 12:48:56 UTC
Recent bootstrap on RHEL 6.5 suggests that this is no longer an issue with the latest bootstrap-prefix.sh script.