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'
Please: * Include in your bugreport the contents of: * * /var/tmp/portage/net-misc/wget-1.13.4-r1/temp/autopoint.out
(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
Please attach your entire build.log. sys-devel/gettext is a dependency when nls useflag is enabled. Do you have this flag enabled?
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.
probably no way around this but to require gettext in DEPEND whilst we run autoreconf ...
(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)...
http://sources.gentoo.org/eclass/autotools.eclass?r1=1.144&r2=1.145
*** Bug 419889 has been marked as a duplicate of this bug. ***