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: Tue, 20 Dec 2022 12:03:47 +0000 Message-ID: <3ed0c2c3-3063-c41e-0190-75594a9a4494@ipfire.org> In-Reply-To: <8C109CED-A530-4DEB-99BE-C6F99C1A6A64@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6925666354244156717==" List-Id: --===============6925666354244156717== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Michael, thanks for your reply. > Hello, >=20 > Errm, it looks like I might have messed up my final clean build. >=20 > Obviously Python 3 must be built before python3-setuptools, meson and so on. >=20 > Could you try that for me, please? I did, but it does not make a difference. Even with some things moved before python3-setuptools, meson, etc. pp. as well for good measure, glib build still fails with the same error message. Current make.sh delta is as follows: diff --git a/make.sh b/make.sh index 88048dbf9..bdbcc50b5 100755 --- a/make.sh +++ b/make.sh @@ -1176,6 +1176,11 @@ buildipfire() { lfsmake2 xradio KCFG=3D"" lfsmake2 linux-initrd KCFG=3D"" =20 + lfsmake2 expat + lfsmake2 libconfig + lfsmake2 json-c + lfsmake2 tcl + lfsmake2 python3 lfsmake2 python3-setuptools lfsmake2 libffi lfsmake2 ninja @@ -1187,10 +1192,7 @@ buildipfire() { lfsmake2 libassuan lfsmake2 nettle lfsmake2 libsodium - lfsmake2 json-c - lfsmake2 libconfig lfsmake2 libevent2 - lfsmake2 expat lfsmake2 apr lfsmake2 aprutil lfsmake2 unbound @@ -1206,9 +1208,7 @@ buildipfire() { lfsmake2 pam lfsmake2 c-ares lfsmake2 curl - lfsmake2 tcl lfsmake2 sqlite - lfsmake2 python3 lfsmake2 rust lfsmake2 rust-dissimilar lfsmake2 rust-cfg-if Anything else I could try? :-) Thanks, and best regards, Peter M=C3=BCller >=20 > -Michael >=20 >> On 17 Dec 2022, at 21:03, Peter M=C3=BCller w= rote: >> >> Hello Michael, >> >> currently working on Core Update 173, this patch seems to break glib (at l= east >> 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=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', 'mes= on')()) >>> 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.p= y", line 24, in >>> from .utils.vsenv import * >>> File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/utils/vsen= v.py", line 9, in >>> from .universal import MesonException, is_windows, windows_detect_nati= ve_arch >>> File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/utils/univ= ersal.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(-) >>> >>> 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"" >>> >>> + 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 >=20 --===============6925666354244156717==--