Skip to contentSkip to conversation

coreutils: Disable error_at_line detection for musl

PATCH New Khem Raj 1 participant 4 messages Sep 20, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/4 coreutils: Disable error_at_line detection for musl

---
 meta/recipes-core/coreutils/coreutils_9.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/coreutils/coreutils_9.4.bb +1 -0
index e3e27e099d0..fa319f0acb9 100644
@@ -26,6 +26,7 @@ CVE_STATUS[CVE-2016-2781] = "disputed: runcon is not really a sandbox command, u
 
 EXTRA_OECONF:class-target = "--enable-install-program=arch,hostname --libexecdir=${libdir}"
 EXTRA_OECONF:class-nativesdk = "--enable-install-program=arch,hostname"
+EXTRA_OECONF:append:libc-musl = " ac_cv_lib_error_at_line=no"
 
 # acl and xattr are not default features
 #
Signature · 1 line
2.42.0
author
#1 lore raw

PATCH 2/4 m4: Disable error_at_line detection for musl

---
 meta/recipes-devtools/m4/m4-1.4.19.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/m4/m4-1.4.19.inc +1 -0
index fcc9e582701..b1b86d7f47c 100644
@@ -27,6 +27,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464\
 acpaths = "-I ./m4"
 
 EXTRA_OECONF += "--without-libsigsegv-prefix"
+EXTRA_OECONF:append:libc-musl = " ac_cv_lib_error_at_line=no"
 
 EXTRA_OEMAKE += "'infodir=${infodir}'"
 
Signature · 1 line
2.42.0
author
#2 lore raw

PATCH 3/4 findutils: Disable error_at_line detection for musl

In reply to Khem Raj
---
 meta/recipes-extended/findutils/findutils_4.9.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-extended/findutils/findutils_4.9.0.bb +1 -0
index 074817df27c..deb13eecb1c 100644
@@ -13,6 +13,7 @@ PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
 CACHED_CONFIGUREVARS += "gl_cv_func_wcwidth_works=yes"
 
 EXTRA_OECONF += "ac_cv_path_SORT=${bindir}/sort"
+EXTRA_OECONF:append:libc-musl = " ac_cv_lib_error_at_line=no"
 
 # need od from coreutils for -t option
 RDEPENDS:${PN}-ptest += "bash sed grep coreutils"
Signature · 1 line
2.42.0
author
#3 lore raw

PATCH 4/4 libidn2: Disable error_at_line detection for musl

In reply to Khem Raj
---
 meta/recipes-extended/libidn/libidn2_2.3.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-extended/libidn/libidn2_2.3.4.bb +1 -0
index b48de39fa06..042f4e6a56c 100644
@@ -21,6 +21,7 @@ inherit pkgconfig autotools gettext texinfo gtk-doc lib_package
 EXTRA_OECONF += "--disable-rpath \
                  --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \
                  "
+EXTRA_OECONF:append:libc-musl = " ac_cv_lib_error_at_line=no"
 
 do_install:append() {
 	# Need to remove any duplicate whitespace too for reproducibility
Signature · 1 line
2.42.0