From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH 29/29] make.sh: Build some dependencies for glib earlier Date: Sat, 17 Dec 2022 21:03:06 +0000 Message-ID: <09ba93e1-a9dd-8043-9c66-db56418746c3@ipfire.org> In-Reply-To: <20221201172318.3166615-29-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0606910521245561581==" List-Id: --===============0606910521245561581== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Michael, currently working on Core Update 173, this patch seems to break glib (at least that's what I am assuming, given that glib itself has not been touched in a while): > glib (2.71.1) = = [ 0 ]= [ FAIL ] >=20 > 'dest/tools_x86_64/bin/meson' -> '/tools_x86_64/bin/meson' > Updating linker cache... > Install done; saving file list to /usr/src/log/meson-0.64.1 ... > Dec 17 19:05:41: Building glib glib-2.71.1.tar.xz checksum OK > + cd /usr/src/lfs > + make -f glib LFS_BASEDIR=3D/usr/src install > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Installing glib-2.71.1 ... > Install started; saving file list to /usr/src/lsalr ... > cd /usr/src/glib-2.71.1 && meson --prefix=3D/usr \ > --sysconfdir=3D/etc \ > builddir/ > Traceback (most recent call last): > File "/tools_x86_64/bin/meson", line 33, in > sys.exit(load_entry_point('meson=3D=3D0.64.1', 'console_scripts', 'meso= n')()) > File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/mesonmain.p= y", line 287, in main > return run(sys.argv[1:], launcher) > File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/mesonmain.p= y", line 277, in run > set_meson_command(mainfile) > File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/mesonmain.p= y", line 235, in set_meson_command > from . import mesonlib > File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/mesonlib.py= ", line 24, in > from .utils.vsenv import * > File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/utils/vsenv= .py", line 9, in > from .universal import MesonException, is_windows, windows_detect_nativ= e_arch > File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/utils/unive= rsal.py", line 20, in > import ctypes > File "/tools_x86_64/lib/python3.10/ctypes/__init__.py", line 8, in > from _ctypes import Union, Structure, Array > ModuleNotFoundError: No module named '_ctypes' > make: *** [glib:74: /usr/src/log/glib-2.71.1] Error 1 Am I missing anything? How did you get this to work? :-) Thanks, and best regards, Peter M=C3=BCller > Signed-off-by: Michael Tremer > --- > make.sh | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/make.sh b/make.sh > index 0d1457d99..2cf47e6a9 100755 > --- a/make.sh > +++ b/make.sh > @@ -1176,6 +1176,10 @@ buildipfire() { > lfsmake2 xradio KCFG=3D"" > lfsmake2 linux-initrd KCFG=3D"" > =20 > + lfsmake2 python3-setuptools > + lfsmake2 libffi > + lfsmake2 ninja > + lfsmake2 meson > lfsmake2 glib > lfsmake2 libgudev > lfsmake2 libgpg-error > @@ -1204,7 +1208,6 @@ buildipfire() { > lfsmake2 curl > lfsmake2 tcl > lfsmake2 sqlite > - lfsmake2 libffi > lfsmake2 python3 > lfsmake2 rust > lfsmake2 rust-dissimilar > @@ -1324,8 +1327,6 @@ buildipfire() { > lfsmake2 nasm > lfsmake2 libarchive > lfsmake2 cmake > - lfsmake2 ninja > - lfsmake2 meson > lfsmake2 libjpeg > lfsmake2 openjpeg > lfsmake2 libexif > @@ -1420,7 +1421,6 @@ buildipfire() { > lfsmake2 perl-Crypt-PasswdMD5 > lfsmake2 perl-Net-Telnet > lfsmake2 perl-JSON > - lfsmake2 python3-setuptools > lfsmake2 python3-inotify > lfsmake2 python3-docutils > lfsmake2 python3-daemon --===============0606910521245561581==--