From d507dc887665d8da0fe2c19fad55d9ef94fd89a3 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 23 Jan 2026 06:18:19 +0100 Subject: [PATCH 1/3] devel/make: make version configurable --- recipes/devel/make.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/devel/make.yaml b/recipes/devel/make.yaml index adf54fd..6d9501b 100644 --- a/recipes/devel/make.yaml +++ b/recipes/devel/make.yaml @@ -1,13 +1,13 @@ inherit: [cpackage, libtool, install, "basement::update-config"] metaEnvironment: - PKG_VERSION: "4.4.1" + PKG_VERSION: "${DEVEL__MAKE_VERSION:-4.4.1}" PKG_LICENSE: "GPL-3.0-only" checkoutSCM: scm: url url: ${GNU_MIRROR}/make/make-${PKG_VERSION}.tar.gz - digestSHA256: "dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3" + digestSHA256: "${DEVEL__MAKE_DIGEST:-dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3}" stripComponents: 1 # We do not build make with make. Instead call the manual build script that is From f915c8d48e39d2a0ce8d3fc5790d91aefdd678d4 Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 23 Jan 2026 06:19:40 +0100 Subject: [PATCH 2/3] compat::make-4.3: compatibility class for make 4.3 Packages not compatible with make 4.4 can inherit this class to stay at 4.3. --- classes/compat/make-4.3.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 classes/compat/make-4.3.yaml diff --git a/classes/compat/make-4.3.yaml b/classes/compat/make-4.3.yaml new file mode 100644 index 0000000..b46341d --- /dev/null +++ b/classes/compat/make-4.3.yaml @@ -0,0 +1,10 @@ +jobServer: "pipe" + +depends: + - name: devel::make + environment: + DEVEL__MAKE_VERSION: "4.3" + DEVEL__MAKE_DIGEST: "e05fdde47c5f7ca45cb697e973894ff4f5d79e13b750ed57d7b66d8defc78e19" + use: [tools] + tools: + target-toolchain: host-compat-toolchain From 5a165871e847ae1be18a4a17a81b4dfafb26913f Mon Sep 17 00:00:00 2001 From: Ralf Hubert Date: Fri, 23 Jan 2026 06:20:32 +0100 Subject: [PATCH 3/3] compat/glibc: use make 4.3 glibc <= 2.31 fails to build with make 4.4. See: - https://sourceware.org/pipermail/libc-help/2023-September/006488.html - https://github.com/crosstool-ng/crosstool-ng/issues/1946 --- recipes/libs/compat/glibc.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/libs/compat/glibc.yaml b/recipes/libs/compat/glibc.yaml index 9df3ce9..7ca1c60 100644 --- a/recipes/libs/compat/glibc.yaml +++ b/recipes/libs/compat/glibc.yaml @@ -1,4 +1,7 @@ -inherit: [make, patch, strip] +# glibc <= 2.31 fails to build with make 4.4 +# see: https://github.com/crosstool-ng/crosstool-ng/issues/1946 + +inherit: [make, patch, strip, 'compat::make-4.3'] depends: - kernel::linux-libc-headers