pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54910: Locale support unnoticed during configure



The following reply was made to PR pkg/54910; it has been noted by GNATS.

From: Denys Nykula <nykula%ukr.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/54910: Locale support unnoticed during configure
Date: Thu, 13 Feb 2020 14:09:03 +0200

 Is the stopper here that nobody has a throwaway musl chroot? Here's how to
 bootstrap one without my workaround, to see this issue. Run as root in a
 x86_64 Linux VM. Host can be a fresh ubuntu, gentoo or arch.
 
 My goal is to replace every workaround in my world script with a proper
 pkgsrc upstream patch, so that pkgsrc can build a desktop against musl
 out of the box. Nls is the major issue, then if there's interest for
 this platform I can follow with patches for llvm, python, mesa, qt5 etc.
 
 apt-get install -y git make wget ||emerge git gmake wget ||
   pacman -S --noconfirm git make wget
 ln -s `which gmake` /sbin/make ||ln -s `which make` /sbin/gmake
 wget -O x86_64-linux-musl-native.tgz http://musl.cc/x86_64-linux-musl-native.tgz
 wget -O world raw.githubusercontent.com/nykula/acmd/90f1640/world
 patch -u world <<'EOF'
 @@ -8,0 +9 @@
 +w='wpa*t git mutt gzip mksh gtk3'
 @@ -45 +45,0 @@
 -sed -i "/GIT\|SUB\|CONF\|INST\|bin\|shar\|py/d" /usr/src/*/ninja-*/{M,P}*
 @@ -56 +56 @@
 -do sed -Ei "/\.mo$|glibc|au_r[^3]|upower/d" /usr/src/*/$i/{M,P}*; done
 +do sed -Ei "/glibc|au_r[^3]|upower/d" /usr/src/*/$i/{M,P}*; done
 @@ -72 +71,0 @@
 -root sh -c 'cd /usr/src/t*x; sed -i "s/<(.*)/:/" s*/*; gmake; cp -f t*x /bin/'
 EOF
 bash world
 
 => Checking file-check results for flex-2.6.4
 ERROR: ************************************************************
 ERROR: The following files are in the PLIST but not in /usr/src/devel/flex/work/.destdir/usr/pkg:
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/ca/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/da/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/de/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/en@boldquot/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/en@quot/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/eo/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/es/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/fi/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/fr/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/ga/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/hr/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/ko/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/nl/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/pl/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/pt_BR/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/ro/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/ru/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/sr/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/sv/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/tr/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/vi/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/zh_CN/LC_MESSAGES/flex.mo
 ERROR:         /usr/src/devel/flex/work/.destdir/usr/pkg/share/locale/zh_TW/LC_MESSAGES/flex.mo
 *** Error code 1
 
 Stop.
 bmake[7]: stopped in /usr/src/devel/flex
 *** Error code 1
 
 Stop.
 bmake[6]: stopped in /usr/src/devel/flex
 *** Error code 1
 
 Stop.
 bmake[5]: stopped in /usr/src/devel/bison
 *** Error code 1
 
 Stop.
 bmake[4]: stopped in /usr/src/devel/re2c
 *** Error code 1
 
 Stop.
 bmake[3]: stopped in /usr/src/devel/ninja-build
 *** Error code 1
 
 Stop.
 bmake[2]: stopped in /usr/src/devel/meson
 *** Error code 1
 
 Stop.
 bmake[1]: stopped in /usr/src/devel/gdbus-codegen
 *** Error code 1
 
 Stop.
 bmake: stopped in /usr/src/x11/gtk3
 


Home | Main Index | Thread Index | Old Index