libtextstyle should not be bundled according the source
Hi together,
After the recent .SRCINFO/bison rebuild, we found some issues on CachyOS build repo's. I dont like report from us to you, but digging a bit deeper, it appears there is something wrong with the packaging/source.
bison now depends on "libtextstyle.so", while it did not before the rebuild. Since "libtextstyle" was somehow at our rebuilds not bundled, we did run now into issues with a missing libary.
Looking into the PKGBUILD there is following patch applied: https://gitlab.archlinux.org/archlinux/packaging/packages/gettext/-/blob/main/gettext-0.22-disable-libtextstyle.patch?ref_type=heads
If checking correctly, this patch should fully disable "libtextstyle", but it seems that the package provided by the archlinux repository does have libtextstyle included.
Rebuilding gettext
with following diff and with pkgctl build (autoreconf is required due newer automake version):
diff --git a/PKGBUILD b/PKGBUILD
index 10e3433..5f57c4d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,11 +22,13 @@ validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871' # Daiki Ueno
prepare() {
cd $pkgname-$pkgver
- automake
# Do not build libtextstyle, as it depends on libcroco
# which is now unmaintained and has known security bugs.
- # patch from Fedora
- patch -p1 -i $srcdir/gettext-0.22-disable-libtextstyle.patch
+ # patch from Fedora
+ patch -p1 -i $srcdir/gettext-0.22-disable-libtextstyle.patch
+ autoreconf -f
+ automake
+
}
build() {
Results into a package, without having "libtextstyle.so" bundled.
Archlinux file list: https://archlinux.org/packages/core/x86_64/gettext/