You are not logged in.

#1 2018-03-30 23:54:12

mcandre
Member
Registered: 2018-03-30
Posts: 1

make package: Provide shim for "gmake"

Some project builds invoke GNU make as "gmake", which breaks in environments where GNU make is provided only as "make".

Please add a soft-link shim or similar so that build scripts referencing "gmake" can run better in Arch.

Offline

#2 2018-03-31 00:02:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,484
Website

Re: make package: Provide shim for "gmake"

What build scripts would you be referring to?  Our build scripts are PKGBUILDs, and they are specific to arch.  Why would a arch-specific PKGBUILD reference a non-arch tool?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2018-04-02 17:40:26

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: make package: Provide shim for "gmake"

I guess for the same reason cc is gcc, awk is gawk, etc? Some projects use recursive Make, and maybe don't use $(MAKE) like they should? Or else some magic proxying like cmake --build is in play (though this wouldn't be using gmake), like some ill-advised wrapper script on top of make. I could think of more than a few crazy reasons to provide it.

What I don't get is why Arch should provide such a compat symlink, when the GNU Make project does not, and Linux distros customarily do not -- because it is only useful for portability with BSD where the make command comes from pmake. This would be an Arch-specific fix, which makes it pretty useless. If you care about this compat symlink, file a bug with the GNU Make project: https://savannah.gnu.org/projects/make/

Last edited by eschwartz (2018-04-02 17:42:16)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#4 2018-04-02 19:13:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,484
Website

Re: make package: Provide shim for "gmake"

I find good reasons persuasive ...

Eschwartz wrote:

I could think of more than a few crazy reasons to provide it.

crazy ones, not so much.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2023-07-26 18:50:25

dreieck
Member
Registered: 2012-10-08
Posts: 74

Re: make package: Provide shim for "gmake"

RPL/2 needs `gmake` according to the description.

Last edited by dreieck (2023-07-26 18:50:34)

Offline

#6 2023-07-26 20:24:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,484
Website

Re: make package: Provide shim for "gmake"

A 5 year necro bump for a completely false claim?  No, RPL/2 does not need a binary named gmake which is immediately obvious from even a glance at their makefile which properly uses the $(MAKE) variable.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2023-07-26 21:19:43

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,590
Website

Re: make package: Provide shim for "gmake"

Dreieck, please don't necrobump.

https://wiki.archlinux.org/title/Genera … bumping%22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB