Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326765 - x11-misc/xkeyboard-config depends on sys-devel/gettext
Summary: x11-misc/xkeyboard-config depends on sys-devel/gettext
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-03 19:21 UTC by Aelia
Modified: 2017-02-03 21:39 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 Aelia 2010-07-03 19:21:09 UTC
when trying to emerge xorg-server on a system with USE="-nls" net-misc/xkeyboard-config fails during configure with error

configure: error: GNU gettext tools not found; required for intltool

Reproducible: Always

Steps to Reproduce:
1. set USE="-nls" in make.conf (assuming there is no package depending directly on gettext in your world like glib, atk or some others)
2. emerge -uND world
3. emerge --depclean
4. emerge xkeyboard-config -1
Actual Results:  
fails at configure saying gettext is a required dependency.

Expected Results:  
should have all the required dependencies and thus not fail at configure.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-03 19:32:47 UTC
there's also bug 314953... not sure if we should just add gettext to intltool's deps directly
Comment 2 Aelia 2010-07-03 20:07:16 UTC
true, that might be better to add dependency directly to intltool it is the binary that needs gettext as stated by the configure script. I didn't realize intltool was in another ebuild when I saw the error message just thought it was an internal tool compiled by gettext.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-07-07 16:26:40 UTC
actually, even if bug 314953 is valid (and it seems to be), xkeyboard-config defines it's own gettext depend in configure.ac too:

GETTEXT_PACKAGE=xkeyboard-config
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])

so it should also depend on it
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2010-07-18 15:07:19 UTC
I've been digging a lot in intltool lately and I think intltool should just depend on gettext since you can't use intltool without using gettext *directly*.

The easiest thing we can do for ebuild writers is to make the gettext dep useless when depending on intltool.

Cheers
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-09-29 15:52:54 UTC
(In reply to comment #4)
> I've been digging a lot in intltool lately and I think intltool should just
> depend on gettext since you can't use intltool without using gettext
> *directly*.
> 
> The easiest thing we can do for ebuild writers is to make the gettext dep
> useless when depending on intltool.
> 
> Cheers
> 

Then, there is no need to keep this bug open anymore, is there?  I agree it should stay as one, but it's still implicit depend and they are error prone... 

"until someone decides intltool shouldn't depend on gettext anymore", really want to count on that? :) 
I'd prefer if the commit was just added for good example to others.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-08 11:46:23 UTC
@samuli, remi: so WHAT should we do, this is open long enough, lets just add that gettext to intltool and be done with it...
Comment 7 Harri Nieminen (Moiman) 2017-02-02 10:05:13 UTC
Proposed fix as github pull request
https://github.com/gentoo/gentoo/pull/3760
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-02-03 21:39:24 UTC
[master 49451837fc] x11-misc/xkeyboard-config: DEPEND on sys-devel/gettext
 Author: Harri Nieminen <moikkis@gmail.com>
 Date: Wed Feb 1 16:38:08 2017 +0200
 6 files changed, 6 insertions(+)