Created attachment 351348 [details] emerge --info from box with =sys-devel/make-3.82-r4 How to reproduce: 1. cd ~ 2. hg clone -r unified https://bitbucket.org/hudson/magic-lantern 3. emerge sys-devel/make version > 3.81-r2 4. cd magic-lantern 5. make Result: Makefile.setup:108: *** missing separator. Stop. 6. emerge =sys-devel/make-3.81-r2 8. make Result: make -C /home/user/magic-lantern/platform/60D.111 make[1]: Entering directory `/home/user/magic-lantern/platform/60D.111' [ VERSION ] ../../platform/60D.111/version.bin ~/gcc-arm-none-eabi-4_7-2012q4/bin/arm-none-eabi-gcc-4.7.3 -c -o ../../src/entry.o ../../src/entry.S /bin/sh: /home/user/gcc-arm-none-eabi-4_7-2012q4/bin/arm-none-eabi-gcc-4.7.3: No such file or directory make[1]: *** [../../src/entry.o] Error 127 make[1]: Leaving directory `/home/user/magic-lantern/platform/60D.111' make: *** [60D] Error 2 This reproduces on both my gentoo boxes. Also, =sys-devel/remake-3.82.0.9 fails too. Debian with Make 3.81 is ok, arch linux x64 with Make 3.82-5 is ok too.
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.