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

Bug 609302

Summary: sys-devel/m4-1.4.17 fails install phase if perl not installed.
Product: Gentoo Linux Reporter: lperkins
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description lperkins 2017-02-13 21:35:05 UTC
If emerging m4 without perl installed on the system, all goes well until the install phase, when you get: 

/var/tmp/portage/sys-devel/m4-1.4.17/work/m4-1.4.17/build-aux/missing: /usr/bin/makeinfo: /usr/bin/perl: bad interpreter: No such file or directory


It would appear that m4 needs to have perl as a build dependency, or its build process needs to be adjusted not to use it.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2017-02-13 21:45:16 UTC
(In reply to lperkins from comment #0)
> If emerging m4 without perl installed on the system, all goes well until the
> install phase, when you get: 
> 
> /var/tmp/portage/sys-devel/m4-1.4.17/work/m4-1.4.17/build-aux/missing:
> /usr/bin/makeinfo: /usr/bin/perl: bad interpreter: No such file or directory

/usr/bin/makeinfo comes from sys-apps/texinfo.  So your removal of perl, which is not a good thing to do with autotools, broke texinfo which does have a dependency on perl.