Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 628912

Summary: sys-devel/automake: requires makeinfo (from sys-apps/texinfo)
Product: Gentoo Linux Reporter: Michael Haubenwallner (RETIRED) <haubi>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=632160
https://bugs.gentoo.org/show_bug.cgi?id=622652
https://bugs.gentoo.org/show_bug.cgi?id=616190
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Haubenwallner (RETIRED) gentoo-dev 2017-08-25 13:26:41 UTC
Seen with sys-devel/automake-1.15.1-r1 during Prefix bootstrap:
$(srcdir)/doc/automake.info depends on
$(srcdir)/doc/version.texi depends on
$(srcdir)/doc/stamp-vti depends on 
$(srcdir)/configure

As src_prepare does modify $S/configure by both ./bootstrap and sed /APIVERSION/, please add either DEPEND=sys-devel/automake, or something along these lines:

--- a/sys-devel/automake/automake-1.15.1-r1.ebuild
+++ b/sys-devel/automake/automake-1.15.1-r1.ebuild
@@ -48,6 +48,9 @@ src_prepare() {
        # to be a bit esoteric, and the script does `set -e` itself.
        ./bootstrap || die
        sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
+       if ! has_version sys-apps/texinfo ; then
+               touch doc/{stamp-vti,version.texi,automake.info} || die
+       fi
 }


Thanks!
Comment 1 Weedy 2017-12-15 17:15:40 UTC
Please fix
Comment 2 Matthias Maier gentoo-dev 2017-12-23 05:52:46 UTC
This bug currently kills a sizable number of my stage-3s and lxc container :-/
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-25 00:57:06 UTC
I would assume to trigger this when I rename makeinfo on my system but I am unable to reproduce.

But given that your "hack" doesn't hurt I am going to add it.