Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261118 - app-shells/bash-3.2_p48-r1 USE="nls" doesn't DEPEND on gettext
Summary: app-shells/bash-3.2_p48-r1 USE="nls" doesn't DEPEND on gettext
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-03 22:57 UTC by Armando Di Cianno
Modified: 2009-03-23 18:34 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 Armando Di Cianno 2009-03-03 22:57:07 UTC
I have a fast machine I use to compile, and do (proper) binary installs on my slower mac.  I was upgrading world to include USE="nls", as there was a related grep issue (bug #260153), of which the easiest solution was to add nls to world.

Anyways, because bash doesn't DEPEND on gettext, once the binary bash package was installed, I couldn't emerge anymore; I had to manually untar the file into the tree, and then emerge gettext over it.




Reproducible: Always

Steps to Reproduce:
1. Have a machine you only do binary installs on.
2. emerge bash (where USE="nls" used to be USE="-nls)
3. Note that gettext doesn't get drawn in as a dependency
Comment 1 Fabian Groffen gentoo-dev 2009-03-22 09:46:36 UTC
@base-system: seems to me DEPEND should have "nls? ( virtual/libintl )", what's your stance on this?
Comment 2 SpanKY gentoo-dev 2009-03-22 22:25:28 UTC
i dont see any info for why this change is needed
Comment 3 Fabian Groffen gentoo-dev 2009-03-23 07:25:55 UTC
% scanmacho -n /Library/Gentoo/bin/bash
ARCH   TYPE   NEEDED FILE 
ppc MH_EXECUTE /Library/Gentoo/lib/libncurses.5.dylib,/Library/Gentoo/usr/lib/libintl.8.dylib,/usr/lib/libSystem.B.dylib /Library/Gentoo/bin/bash 
% qlist -Iv bash
app-shells/bash-3.2_p48-r1

It uses libintl.8.dylib (due to +nls), yet the dependencies in the ebuild don't say so.  (This is only a problem on non-glibc platforms, of course.)
Comment 4 SpanKY gentoo-dev 2009-03-23 09:18:04 UTC
that clearly shows why the proposed change is needed.  the summary / previous comments did not in any way.

feel free to make the proposed DEPEND change to the bash ebuilds.
Comment 5 Fabian Groffen gentoo-dev 2009-03-23 18:34:22 UTC
ok, thanks, done