From 69baa117a3275b2fdad65d259fef1c53579d4f1f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 4 Aug 2022 10:36:47 +0200 Subject: core/glibc: workaround for broken symbols in localedef --- core/glibc/PKGBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'core') diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD index 07f6e51f..546aa654 100644 --- a/core/glibc/PKGBUILD +++ b/core/glibc/PKGBUILD @@ -98,11 +98,12 @@ eval "$( ' )" -# readd C.UTF-8 locale generate with the removed lib32 sed above +# have to rebuild twice because generate localdef called in build uses wrong +# ABI resulting in: +# "locale/localedef: /usr/lib/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by locale/localedef" eval "$( declare -f build | \ sed ' - $ i \ - locale/localedef -c -f ../glibc/localedata/charmaps/UTF-8 -i ../glibc/localedata/locales/C ../C.UTF-8/ + /localedef/d ' )" -- cgit v1.2.3-70-g09d2