From: Michael Tremer <michael.tremer@ipfire.org>
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 [thread overview]
Message-ID: <8C109CED-A530-4DEB-99BE-C6F99C1A6A64@ipfire.org> (raw)
In-Reply-To: <09ba93e1-a9dd-8043-9c66-db56418746c3@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 3952 bytes --]
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 <peter.mueller(a)ipfire.org> 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 <module>
>> 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 <module>
>> from .utils.vsenv import *
>> File "/tools_x86_64/lib/python3.10/site-packages/mesonbuild/utils/vsenv.py", line 9, in <module>
>> 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 <module>
>> import ctypes
>> File "/tools_x86_64/lib/python3.10/ctypes/__init__.py", line 8, in <module>
>> 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 <michael.tremer(a)ipfire.org>
>> ---
>> 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
next prev parent reply other threads:[~2022-12-19 12:49 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-01 17:22 [PATCH 01/29] libgudev: New package Michael Tremer
2022-12-01 17:22 ` [PATCH 02/29] libqmi: " Michael Tremer
2022-12-01 17:22 ` [PATCH 03/29] dhcpcd: Log any unhandled client events Michael Tremer
2022-12-01 17:22 ` [PATCH 04/29] dhcpcd.exe: Allow using the DHCP setup scripts when RED is not configured as DHCP Michael Tremer
2022-12-01 17:22 ` [PATCH 05/29] network: Allow passing custom options to dhcpcd Michael Tremer
2022-12-01 17:22 ` [PATCH 06/29] network: Add support for QMI modems Michael Tremer
2022-12-01 17:22 ` [PATCH 07/29] network: Drop any traces of ISDN Michael Tremer
2022-12-01 17:22 ` [PATCH 08/29] pppsetup.cgi: Add support for QMI profiles Michael Tremer
2022-12-01 17:22 ` [PATCH 09/29] " Michael Tremer
2022-12-01 17:22 ` [PATCH 10/29] pppsetup.cgi: Move authentication above MTU Michael Tremer
2022-12-01 17:23 ` [PATCH 11/29] network: Remove --debug switch for dhcpcd in QMI mode Michael Tremer
2022-12-01 17:23 ` [PATCH 12/29] dhcpcd: Only try to obtain an IP address for IPv4 Michael Tremer
2022-12-01 17:23 ` [PATCH 13/29] dhcpcd.exe: Flush any configured IP addresses on shutdown Michael Tremer
2022-12-01 17:23 ` [PATCH 14/29] dhcpcd.exe: Actually use the received MTU Michael Tremer
2022-12-01 17:23 ` [PATCH 15/29] dhcpcd.exe: Only set gateway when we have received one Michael Tremer
2022-12-01 17:23 ` [PATCH 16/29] dhcpcd.exe: Store the default gateway when in QMI mode Michael Tremer
2022-12-01 17:23 ` [PATCH 17/29] dhcpcd.exe: Use DNS servers from QMI Michael Tremer
2022-12-01 17:23 ` [PATCH 18/29] dhcpcd.exe: Do not overwrite the default gateway when empty Michael Tremer
2022-12-01 17:23 ` [PATCH 19/29] dhcpcd.exe: Only touch /var/ipfire/red/active once Michael Tremer
2022-12-01 17:23 ` [PATCH 20/29] dhcpcd.exe: Run everything no matter how RED is configured Michael Tremer
2022-12-01 17:23 ` [PATCH 21/29] dhcpcd.exe: Fix typo in configuring DNS server Michael Tremer
2022-12-01 17:23 ` [PATCH 22/29] network: dhcpcd fails to check link state for QMI interfaces Michael Tremer
2022-12-01 17:23 ` [PATCH 23/29] dhcpcd.exe: Reformat the reason dispatcher Michael Tremer
2022-12-01 17:23 ` [PATCH 24/29] dhcpcd.exe: Ignore some events Michael Tremer
2022-12-01 17:23 ` [PATCH 25/29] dhcpcd.exe: Add a safety net to make sure we always have a route Michael Tremer
2022-12-01 17:23 ` [PATCH 26/29] network: Force dhcpcd to ask for an IP address Michael Tremer
2022-12-01 17:23 ` [PATCH 27/29] network: Assign "static" MAC addresses to QMI interfaces Michael Tremer
2022-12-01 17:23 ` [PATCH 28/29] network: Silence any output during the QMI setup Michael Tremer
2022-12-01 17:23 ` [PATCH 29/29] make.sh: Build some dependencies for glib earlier Michael Tremer
2022-12-17 21:03 ` Peter Müller
2022-12-19 12:49 ` Michael Tremer [this message]
2022-12-20 12:03 ` Peter Müller
2022-12-20 16:07 ` Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8C109CED-A530-4DEB-99BE-C6F99C1A6A64@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox