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

Bug 630532

Summary: sys-apps/coreutils-8.26 fails to cross compile - Recursive variable 'INSTALL' references itself
Product: Gentoo Linux Reporter: William Throwe <wtt6>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.gz

Description William Throwe 2017-09-09 21:44:52 UTC
Created attachment 493626 [details]
build.log.gz

Making install in .
make[2]: Entering directory '/var/tmp/portage/sys-apps/coreutils-8.26/work/coreutils-8.26'
make[3]: Entering directory '/var/tmp/portage/sys-apps/coreutils-8.26/work/coreutils-8.26'
Makefile:3440: *** Recursive variable 'INSTALL' references itself (eventually).  Stop.
make[3]: Leaving directory '/var/tmp/portage/sys-apps/coreutils-8.26/work/coreutils-8.26'
make[2]: *** [Makefile:12005: install-am] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-apps/coreutils-8.26/work/coreutils-8.26'
make[1]: *** [Makefile:11513: install-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-apps/coreutils-8.26/work/coreutils-8.26'
make: *** [Makefile:11999: install] Error 2


I believe this was fixed in this upstream patch: https://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=c974f835a52706c05444fcdd229f4fc670c76f47 although I have not tested.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2017-11-06 11:34:35 UTC
The patch is you linked is in >=sys-apps/coreutils-8.27 which are available in Gentoo repository. Are you still experiencing the build failure with latest coreutils?
Comment 2 William Throwe 2017-11-06 15:41:28 UTC
(In reply to Thomas Deutschmann from comment #1)
> The patch is you linked is in >=sys-apps/coreutils-8.27 which are available
> in Gentoo repository. Are you still experiencing the build failure with
> latest coreutils?

Looks good.  8.27 builds fine.