Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418181 - autotools.eclass: autopoint is always executed even when not strictly necessary (USE=-nls & package has local gettext files bundled)
Summary: autotools.eclass: autopoint is always executed even when not strictly necessa...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2012-05-29 21:11 UTC by Wille Kuutti
Modified: 2020-12-18 18:13 UTC (History)
4 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Wille Kuutti 2012-05-29 21:11:41 UTC
gettext 0.18.1 or newer is required by autoconf during pre-compilation phase of vlc-2.0.1.
massa ~ # cat /var/tmp/portage/media-video/vlc-2.0.1/temp/autopoint.out
***** autopoint *****
***** PWD: /var/tmp/portage/media-video/vlc-2.0.1/work/vlc-2.0.1
***** autopoint --force

autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your               file requires the infrastructure from gettext-0.18.1 but this version               is older. Please upgrade to gettext-0.18.1 or newer.
autopoint: *** Stop.
Comment 1 Alexis Ballier gentoo-dev 2012-05-29 21:27:08 UTC
how comes autotools.eclass now runs autopoint in our back while we never needed it and doesnt even add a dependency on gettext ?
Comment 2 SpanKY gentoo-dev 2012-05-30 22:26:41 UTC
read the mailing list
Comment 3 Alexis Ballier gentoo-dev 2012-05-30 23:08:17 UTC
(In reply to comment #2)
> read the mailing list

it doesnt say what it solves by running autopoint
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-05-31 07:21:54 UTC
How about dropping the autopoint call from autotools.eclass and replacing it with something simple which does enough, like:

if [[ -e /usr/share/gettext/config.rpath ]]; then
  cp /usr/share/gettext/config.rpath "${S}"
  touch "${S}"/config.rpath

Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-26 06:38:20 UTC
(The new version bumps of today of vlc will depend on >=0.18.3; although for other reasons, it indirectly fixes this bug for those whom experience it.)

Does the presence of the autopoint call still matter? If so, can we bring this to the ML? (Bug might not be the right place) Can we do something to close this?
Comment 6 Leho Kraav (:macmaN @lkraav) 2013-11-24 12:35:42 UTC
After, upgrading to vlc-2.1.0 gettext-, I now have several packages failing on running autopoint


***** autopoint *****
***** PWD: /mnt/datapool/tmp/portage/gnome-base/gdm-3.8.4-r3/work/gdm-3.8.4
***** autopoint --force

autopoint: *** Missing version: please specify in through a line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is using
autopoint: *** Stop.
Comment 7 Leho Kraav (:macmaN @lkraav) 2013-11-24 14:24:02 UTC
Upgrading to sys-devel/autoconf-wrapper-13 has fixed this. Experience feels like this should be a dependency of something, or things break.
Comment 8 Christoph Junghans (RETIRED) gentoo-dev 2014-01-25 18:14:20 UTC
Same problem when emerging wget[nls], eautopoint will be executed independently if gettext is installed or not. This breaks bootstrapping of prefix on some systems.

Either autotools.eclass should check if gettext is installed before running eautopoint or wget should depend on gettext unconditionally.
Comment 9 Colleen 2014-03-27 17:34:22 UTC
I am still getting an autopoint error for gettext while emerging VLC even after installing the autoconf-wrapper-13.
Comment 10 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-04-27 19:05:38 UTC
Ping, can we move forward with this bug? Thank you very much in advance.

Another occurrence:
Comment 11 Yuri Arabadji 2014-07-05 14:16:24 UTC
Updating autoconf fixed the problem:

# eix -c  -I gettext  -o -I autocon
[I] sys-devel/autoconf (2.13(2.1)@03/30/05 2.69(2.5)@07/05/14): Used to create autoconfiguration files
[I] sys-devel/autoconf-wrapper (13@07/05/14): wrapper for autoconf to manage multiple autoconf versions
[I] sys-devel/gettext ( GNU locale utilities
Comment 12 Fabian Groffen gentoo-dev 2020-12-18 18:13:48 UTC
assuming fixed by autoconf upgrades