Summary: | Making magiclantern with >sys-devel/make-3.81-r2 fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lebedev Roman <lebedev.ri> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info from box with =sys-devel/make-3.82-r4
emerge --info from box with =sys-devel/make-3.81-r2 Makefile v.1 that fails |
Description
Lebedev Roman
2013-06-18 20:53:37 UTC
Created attachment 351350 [details]
emerge --info from box with =sys-devel/make-3.81-r2
There is no package magiclantern or magic-lantern in the tree. Ok, true. How about: all gentoo versions of sys-devel/make higher than 3.81-r2 fails to parse specific custom makefile? Make version 3.82 on all other [tested] distros does not fail, so this is not because of the malformed makefile, but gentoo-specific bug in make. We cannot begin to fix it until you point out the (bad?) Makefile that triggers the bug. Created attachment 351372 [details]
Makefile v.1 that fails
I have (correctly) combined Makefiles from that project into one Makefile that shows the problem.
Actual results with sys-devel/make version higher than 3.81-r2:
--------------------------------------------------------------------------------
$ make
Makefile:170: *** missing separator. Stop.
--------------------------------------------------------------------------------
This stop is the issue, not ok.
Expected results with =sys-devel/make-3.81-r2:
--------------------------------------------------------------------------------
$ make
Makefile:187: /platform/Makefile.platform.map: No such file or directory
make: *** No rule to make target `/platform/Makefile.platform.map'. Stop.
--------------------------------------------------------------------------------
This stop is ok.
So the line in question would be: $(foreach entry, $(_defined_configs), $(eval _CONFIGS-with-$($(entry))+= $(entry))) it fails with make-4.0, and there are no custom Gentoo patches in there either you probably want to report the issue here: https://savannah.gnu.org/projects/make that will let the make maintainers themselves tell you what the problem is, or find & fix the bug in make itself. in either case, let us know back please. |