Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630532 - sys-apps/coreutils-8.26 fails to cross compile - Recursive variable 'INSTALL' references itself
Summary: sys-apps/coreutils-8.26 fails to cross compile - Recursive variable 'INSTALL...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-09-09 21:44 UTC by William Throwe
Modified: 2017-11-06 15:41 UTC (History)
1 user (show)

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


Attachments
build.log.gz (coreutils-8.26:20170909-211755.log.gz,46.83 KB, application/gzip)
2017-09-09 21:44 UTC, William Throwe
Details

Note You need to log in before you can comment on or make changes to this bug.
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.