Source: sed Version: 4.8-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
sed fails to build from source for musl-any-any, because the musl C library does not include a regex library. Even though sed ships its own, it is disabled in favour of the glibc one. Thus, I'm asking to enable the included regex library on musl only. Please consider applying the attached patch. Helmut
diff --minimal -Nru sed-4.8/debian/changelog sed-4.8/debian/changelog --- sed-4.8/debian/changelog 2021-08-31 14:55:13.000000000 +0200 +++ sed-4.8/debian/changelog 2022-04-26 20:17:01.000000000 +0200 @@ -1,3 +1,10 @@ +sed (4.8-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS on musl-any-any: Use included regex library. closes: #-1. + + -- Helmut Grohne <hel...@subdivi.de> Tue, 26 Apr 2022 20:17:01 +0200 + sed (4.8-1) unstable; urgency=medium * New upstream version. diff --minimal -Nru sed-4.8/debian/rules sed-4.8/debian/rules --- sed-4.8/debian/rules 2021-08-31 14:55:13.000000000 +0200 +++ sed-4.8/debian/rules 2022-04-26 20:16:59.000000000 +0200 @@ -1,10 +1,12 @@ #! /usr/bin/make -f +include /usr/share/dpkg/architecture.mk + %: dh $@ override_dh_auto_configure: - dh_auto_configure -- --exec-prefix=/ --with-packager=Debian --without-included-regex + dh_auto_configure -- --exec-prefix=/ --with-packager=Debian --with$(if $(filter musl,$(DEB_HOST_ARCH_LIBC)),,out)-included-regex override_dh_auto_build: dh_auto_build -- HELP2MAN=/usr/bin/help2man