Follow-up Comment #6, bug #66743 (group make):

> I believe if you invoke it as /home/buildroot/make it will be preserved,
> including the full path, and if you invoke it as make it will use that
> instead.

I'm invoking the make binary with the absolute path at
/home/buildroot/make/make, but this is breaking somewhere still.

As a test I tweaked this makefile:

diff --git a/package/libxml-parser-perl/libxml-parser-perl.mk
b/package/libxml-parser-perl/libxml-parser-perl.mk
index 06bbd3b1ad..0afa469dd5 100644
--- a/package/libxml-parser-perl/libxml-parser-perl.mk
+++ b/package/libxml-parser-perl/libxml-parser-perl.mk
@@ -30,6 +30,7 @@ define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS
 endef
 
 define HOST_LIBXML_PARSER_PERL_BUILD_CMDS
+       $(error   MAKE is $(MAKE))
        $(HOST_MAKE_ENV) $(MAKE) $(HOST_LIBXML_PARSER_PERL_CONFIGURE_OPTS) -C
$(@D)
 endef


Which appears to show the correct make binary is being picked up:

$ /home/buildroot/make/make host-libxml-parser-perl -j2 --shuffle=reverse
package/pkg-generic.mk:289: *** MAKE is /home/buildroot/make/make .  Stop.
make: *** [Makefile:83: _all] Error 2 shuffle=reverse


> I recommend if you really want a specific make to be used always, you invoke
> it with a fully-qualified path every time.  That should work.

Yeah, it's weird, that is what I was doing but somehow the wrong make binary
is still being picked up at some point.

> but the makefiles could always change that

Maybe libxml-parser-perl's makefile is overriding it further somehow?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66743>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to