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üller wrote: > > 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 ] >> >> '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=/usr/src install >> ====================================== Installing glib-2.71.1 ... >> Install started; saving file list to /usr/src/lsalr ... >> cd /usr/src/glib-2.71.1 && meson --prefix=/usr \ >> --sysconfdir=/etc \ >> builddir/ >> Traceback (most recent call last): >> File "/tools_x86_64/bin/meson", line 33, in >> sys.exit(load_entry_point('meson==0.64.1', 'console_scripts', 'meson')()) >> File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/mesonmain.py", line 287, in main >> return run(sys.argv[1:], launcher) >> File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/mesonmain.py", line 277, in run >> set_meson_command(mainfile) >> File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/mesonmain.py", 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_native_arch >> File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/utils/universal.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üller > > >> Signed-off-by: Michael Tremer >> --- >> make.sh | 8 ++++---- >> 1 file changed, 4 insertions(+), 4 deletions(-) >> >> 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="" >> lfsmake2 linux-initrd KCFG="" >> >> + 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