From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 29/29] make.sh: Build some dependencies for glib earlier Date: Mon, 19 Dec 2022 12:49:20 +0000 Message-ID: <8C109CED-A530-4DEB-99BE-C6F99C1A6A64@ipfire.org> In-Reply-To: <09ba93e1-a9dd-8043-9c66-db56418746c3@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0625708404303513946==" List-Id: --===============0625708404303513946== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, Errm, it looks like I might have messed up my final clean build. Obviously Python 3 must be built before python3-setuptools, meson and so on. Could you try that for me, please? -Michael > On 17 Dec 2022, at 21:03, Peter M=C3=BCller wr= ote: >=20 > Hello Michael, >=20 > currently working on Core Update 173, this patch seems to break glib (at le= ast > that's what I am assuming, given that glib itself has not been touched in a > while): >=20 >> 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 >=20 > Am I missing anything? How did you get this to work? :-) >=20 > Thanks, and best regards, > Peter M=C3=BCller >=20 >=20 >> 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 --===============0625708404303513946==--