Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417641 - net-misc/wget[-nls] - eautoreconf fails when sys-devel/gettext is not installed
Summary: net-misc/wget[-nls] - eautoreconf fails when sys-devel/gettext is not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-26 13:48 UTC by Bruno
Modified: 2012-06-07 04:59 UTC (History)
1 user (show)

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


Attachments
emerge --info =net-misc/wget-1.13.4-r1 + build.log (wget.info.log,14.76 KB, text/plain)
2012-05-27 09:07 UTC, Bruno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2012-05-26 13:48:56 UTC
wget ebuild calls eautoreconf but does not build-depend on gettext resulting in failure to run (inexistent) autopoint.


Note: gettext was uninstalled previously by `emerge --depclean --with-bdeps=n`

Reproducible: Always

Actual Results:  
>>> Emerging (15 of 15) net-misc/wget-1.13.4-r1
 * wget-1.13.4.tar.xz RMD160 SHA1 SHA256 size ;-) ...                               [ ok ]
>>> Unpacking source...
>>> Unpacking wget-1.13.4.tar.xz to /var/tmp/portage/net-misc/wget-1.13.4-r1/work
>>> Source unpacked in /var/tmp/portage/net-misc/wget-1.13.4-r1/work
>>> Preparing source in /var/tmp/portage/net-misc/wget-1.13.4-r1/work/wget-1.13.4 ...
 * Applying wget-1.13.4-openssl-pkg-config.patch ...                                [ ok ]
 * Applying wget-1.13.4-no-gets.patch ...                                           [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-misc/wget-1.13.4-r1/work/wget-1.13.4' ...
 * Running autopoint --force ...                                                    [ !! ]

 * Failed Running autopoint !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/net-misc/wget-1.13.4-r1/temp/autopoint.out

 * ERROR: net-misc/wget-1.13.4-r1 failed (prepare phase):
 *   Failed Running autopoint !
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 2848:  Called eautoreconf
 *   environment, line  821:  Called eautopoint '--force'
 *   environment, line  798:  Called autotools_run_tool 'autopoint' '--force'
 *   environment, line  588:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *
 * If you need support, post the output of 'emerge --info =net-misc/wget-1.13.4-r1',
 * the complete build log and the output of 'emerge -pqv =net-misc/wget-1.13.4-r1'.
 * The complete build log is located at '/var/tmp/portage/net-misc/wget-1.13.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/wget-1.13.4-r1/temp/environment'.
 * S: '/var/tmp/portage/net-misc/wget-1.13.4-r1/work/wget-1.13.4'
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2012-05-26 13:51:37 UTC
Please:

 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/net-misc/wget-1.13.4-r1/temp/autopoint.out
Comment 2 Bruno 2012-05-26 14:42:41 UTC
(In reply to comment #1)
> Please:
> 
>  * Include in your bugreport the contents of:
>  *
>  *   /var/tmp/portage/net-misc/wget-1.13.4-r1/temp/autopoint.out

Sorry for missing that, here it is
(just installing gettext "works around" the problem):

***** autopoint *****
***** PWD: /var/tmp/portage/net-misc/wget-1.13.4-r1/work/wget-1.13.4
***** autopoint --force

/var/tmp/portage/net-misc/wget-1.13.4-r1/temp/environment: line 550: autopoint: command not found
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2012-05-27 08:48:19 UTC
Please attach your entire build.log. sys-devel/gettext is a dependency when nls useflag is enabled. Do you have this flag enabled?
Comment 4 Bruno 2012-05-27 09:07:00 UTC
Created attachment 313233 [details]
emerge --info =net-misc/wget-1.13.4-r1 + build.log

# emerge --depclean --with-bdeps=n

# emerge --oneshot wget

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-devel/autoconf-wrapper-12  0 kB
[ebuild  N     ] sys-devel/automake-wrapper-6  0 kB
[ebuild  N     ] sys-devel/m4-1.4.15  USE="-examples" 0 kB
[ebuild  N     ] dev-util/pkgconfig-0.26  USE="-hardened" 0 kB
[ebuild  N     ] virtual/pkgconfig-0  0 kB
[ebuild  N     ] sys-devel/libperl-5.10.1  0 kB
[ebuild  N     ] dev-lang/perl-5.12.4-r1  USE="-berkdb -build -debug -doc -gdbm -ithreads" 0 kB
[ebuild  N     ] app-admin/perl-cleaner-2.7  0 kB
[ebuild  N     ] sys-devel/autoconf-2.68  USE="-emacs" 0 kB
[ebuild  N     ] sys-apps/help2man-1.40.8  USE="-nls" 0 kB
[ebuild  N     ] sys-devel/automake-1.11.1  0 kB
[ebuild  N     ] sys-devel/libtool-2.4-r1  USE="-test -vanilla" 0 kB
[ebuild   R    ] net-misc/wget-1.13.4-r1  USE="idn ipv6 ssl -debug -gnutls -nls -ntlm -static" 0 kB


Attached is the full build log preceded with --info.
Comment 5 SpanKY gentoo-dev 2012-05-30 22:21:06 UTC
probably no way around this but to require gettext in DEPEND whilst we run autoreconf ...
Comment 6 Bruno 2012-06-02 08:22:34 UTC
(In reply to comment #5)
> probably no way around this but to require gettext in DEPEND whilst we run
> autoreconf ...

Is it an option to just call autopoint as part of autoreconf when, in case there is a nls useflag, that use flag is set? (for those without nls use flag that would mean gettext is always build time dependency in presence of autreconf)

Are there packages where not calling autopoint with unset nls useflag would cause trouble?

To my knowledge, ebuilds can't (reasonably) snif autotools files of the package at dependency resolution time, thus only a repoman check could complain about needed autopoint in autoreconf but missing gettext dependency (though that would obviously be rather slow as requiring unpacking of package sources and scanning though them)...
Comment 8 SpanKY gentoo-dev 2012-06-07 04:59:02 UTC
*** Bug 419889 has been marked as a duplicate of this bug. ***