From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cQLTc4Kw4z2yWW for ; Mon, 15 Sep 2025 10:13:40 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cQLTY1Qhcz2xQ9 for ; Mon, 15 Sep 2025 10:13:37 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cQLTX3qM7z2hc; Mon, 15 Sep 2025 10:13:36 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1757931216; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UDaS2QhLXzvhoq5Q0bi/3pBtARALmLfM2hi4K6ilnxY=; b=JIWIYi8uDVowPKjP9AxnoFZISs6fvktR685zXi0SDrvecUrujASqd//CHDM6AiyTOKlbLZ crW0dCE1UCEnmdBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1757931216; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UDaS2QhLXzvhoq5Q0bi/3pBtARALmLfM2hi4K6ilnxY=; b=gfkYtkAL4ZGHdzlAIHTXFHt+16dBH2EPLILbq0IMcg5ZUrryRJJyV+Fgkk9XlsclHhNvRX 7lT0rbJPAcg4j+8xqfYyn0VG20APCXhWhj0OM2XlitJ9n+psgl2MgTRhMjJAWmllnT+eat ftSCdZkXBfkTDIrsdPipNMjRLS/e5xsdj8UF3jvSQbJJFAfwF/hd8PVLdBoTsGDBe6glNo QWPWv3El9Dd+SW7Xks7fNT6E0ZxzGEaqwCO+QxqRKkejvDEUFCyEVzsgYRmOWx1cmcYIa7 u8itxVd3HBhaSIxd2fW+B9C/nchCAxLLOLbl3EcEKpcAmqW29k1Jm5FhwPUJGg== Content-Type: text/plain; charset=utf-8 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: Mime-Version: 1.0 Subject: Re: Failed Build of 'next' x86_64 on GNU/Linux 13 (trixie) From: Michael Tremer In-Reply-To: <0F6D95FA-91B2-4AA0-8393-B435E2DAC230@ipfire.org> Date: Mon, 15 Sep 2025 11:13:36 +0100 Cc: "IPFire: Development-List" Content-Transfer-Encoding: quoted-printable Message-Id: <051A1E1D-B01F-4780-83FB-A55C7B1A904C@ipfire.org> References: <91d9cd50-25da-4eb2-8500-88978d759a7b.ref@yahoo.com> <91d9cd50-25da-4eb2-8500-88978d759a7b@yahoo.com> <0B0E7BEA-3412-4AFB-9CF8-1D41ACF8D935@ipfire.org> <11839066-EAE6-4806-8A65-E7637A4B66FC@ipfire.org> <3462fb2c-0584-4742-a6a3-d50c6d55e604@ipfire.org> <00a60ea7-7824-4da4-b6f1-d4eebf21a8c7@ipfire.org> <10c2da08-b8ce-4221-828a-40a77654e6cc@ipfire.org> <3E0C0EC0-200C-4B80-8468-9A77332B215E@ipfire.org> <0F6D95FA-91B2-4AA0-8393-B435E2DAC230@ipfire.org> To: Adolf Belka I have merged the patches that you submitted earlier today. Please let me know if this fixes the problem for everyone. -Michael > On 14 Sep 2025, at 16:51, Michael Tremer = wrote: >=20 > Perfect! That is great news. >=20 >> On 14 Sep 2025, at 16:47, Adolf Belka wrote: >>=20 >> Hi Michael, >>=20 >> Good news. >>=20 >> On 14/09/2025 13:44, Adolf Belka wrote: >>> Hi Michael, >>> On 14/09/2025 13:21, Adolf Belka wrote: >>>> Hi Michael, >>>>=20 >>>> On 14/09/2025 12:48, Michael Tremer wrote: >>>>> Hello, >>>>>=20 >>>>> Well okay, then lets get to the bottom of this=E2=80=A6 >>>>>=20 >>>>> We kind of have two versions of setuptools. The first one comes = from Python 3.10 and is installed by default. We then have it as a = separate package which overwrites the original files. That is probably = not a good idea. >>>>=20 >>>> I have confirmed that python-3.10 is installing the bundled version = and creating the setuptools-63.2.0.dist-info director as well as the = setuptools directory. >>>>=20 >>>> When the setuptools package is installed it is overwriting the = setuptools directory but not removing the dist-info directory. >>>>=20 >>>>>=20 >>>>> We could now try a couple of things: >>>>>=20 >>>>> * Upgrade Python. That way we should have a more recent version of = the bundled setuptools and can therefore drop the extra package. That is = however a major project. >>>>=20 >>>> =46rom python-3.12 onwards there is no bundled setuptools any more, = so that solves the problem, except that I have not solved the updating = python project issues yet. I will have to get back onto that again. >>>>=20 >>>>>=20 >>>>> * Disable setuptools in the original build. I am not sure what = other problems we will be facing afterwards, but at least it is an = option. A quick test could be to remove the module with =E2=80=9Crm=E2=80=9D= after the Python build and see what fails next. >>>>=20 >>>> I have looked at python-3.10 but there is no build command that = stops the install of the bundled setuptools. So the only option would be = to remove all the setuptools directories at the end of the python3 build = or just remove the setuptools-63.2.0.dist-info directory and rely on the = setuptools install overwriting the bundled version correctly. >>>>=20 >>>> I will test out removing all setuptools directories first to see = how that goes. That ensures we have no residues of the bundled = setuptools left in the setuptools directory. >>> python3-idna failed due to no setuptools being available. >>> So I moved the python3-setuptools entry in make.sh to just before = python3-idna and all of the python3 entries in that particular block in = make.sh successfully built. >>> I am now doing a clean build with the full removal of the bundled = setuptools and the changed position of our build of setuptools and will = see how the rest of the build goes. >>=20 >> I had to move the IPFire setuptools package install to before the = pyproject2setuppy install as it also required to find setuptools. >>=20 >> I then had to modify the python3 rootfile to remove all the = setuptools lines and remembering that it has x86_64 entries in the = rootfile that have to be replaced by xxxMACHINExxx. >>=20 >> After all that I ended up with a successful full clean build and = python3-pillow was happy. >>=20 >> I will submit a patch for this later today. >>=20 >> Regards, >>=20 >> Adolf. >>=20 >>> Regards, >>> Adolf. >>>>=20 >>>> Regards, >>>>=20 >>>> Adolf. >>>>=20 >>>>>=20 >>>>> -Michael >>>>>=20 >>>>>> On 14 Sep 2025, at 11:32, Adolf Belka = wrote: >>>>>>=20 >>>>>> Hi Michael, >>>>>>=20 >>>>>> Bad news I am afraid. >>>>>>=20 >>>>>> On 14/09/2025 11:31, Michael Tremer wrote: >>>>>>> Hello everyone, >>>>>>> Thank you for getting back so quickly on this. It would be great = if we could sort this problem out as soon as possible. >>>>>>>> On 13 Sep 2025, at 21:37, Adolf Belka = wrote: >>>>>>>>=20 >>>>>>>> Hi Michael, >>>>>>>>=20 >>>>>>>> On 13/09/2025 21:21, Matthias Fischer wrote: >>>>>>>>> Hi, >>>>>>>>> I tried to build 'next' with the other archive - = 'Pillow-11.3.0.tar.gz', >>>>>>>>> but the build fails with same error (ERROR Missing = dependencies: >>>>>>>>> setuptools>=3D77). >>>>>>>>> Any ideas? >>>>>>>>=20 >>>>>>>> The interesting thing is that the x86_64 nightly build with = python3-pillow in it, built without any failure. >>>>>>> Indeed. But since we have the same sources (checked by = checksums) there cannot be any difference there. On the other hand, this = could just be chance. >>>>>>> If you are running multiple builds (or are restarting the same = build), does the problem go away? Is there basically a chance that this = build is failing and the nightly builds have just been lucky (except = riscv64)? >>>>>>>> Tomorrow I will create a new clone of next and do a build withy = no other changes and see if I can reproduce the successful nightly build = with next. >>>>>>=20 >>>>>> I created a new clone of next and ran a straight build, so = without any ccache or cache entries. >>>>>>=20 >>>>>> The build failed at python3-pillow with the same message. So four = build attempts I have done have all failed with the same message, and = Matthias and Charles also. So the odd one out seems to be the x86_64 = builder that is building successfully. >>>>>>=20 >>>>>>> We should not have a second package of setuptools around. What = happens if you manually delete it? Does the build continue? >>>>>>=20 >>>>>> If you mean the directory entry of setuptools-63.2.0.dist-info = that I found, I just tried deleting it in the build_x86_64 tree and = re-running build without doing a clean first. The python3-pillow then = successfully built. >>>>>>=20 >>>>>> So the presence of that directory is what is causing the problem = but not sure why it is getting built. >>>>>>=20 >>>>>> Regards, >>>>>>=20 >>>>>> Adolf. >>>>>>=20 >>>>>>> -Michael >>>>>>>>=20 >>>>>>>> Regards, >>>>>>>>=20 >>>>>>>> Adolf. >>>>>>>>=20 >>>>>>>>> Best >>>>>>>>> Matthias >>>>>>>>> On 13.09.2025 16:12, Matthias Fischer wrote: >>>>>>>>>> Hi, >>>>>>>>>>=20 >>>>>>>>>> I must confess, I don't know how this python building really = works - but... >>>>>>>>>>=20 >>>>>>>>>> I've found a 'pillow-11.3.0.tar.gz'-archive in the cache = directory of my >>>>>>>>>> 'Devel64-1'. Blake2-Checksum is: >>>>>>>>>> = bde2d91943ca39cef342733f57d5c4b4e1fcb4e20b145fea1606018f255d70311e7f09d023= 21aede10ea1b0ae73cc86e3932d213718eb081f6961cf36174282f >>>>>>>>>>=20 >>>>>>>>>> The archive on the *original website* >>>>>>>>>> (https://github.com/python-pillow/Pillow/releases/tag/11.3.0) = is named >>>>>>>>>> 'Pillow-11.3.0.tar.gz' and has a different checksum and = different >>>>>>>>>> contents. Note the capitalized "P". >>>>>>>>>> Blake2-Checksum is: >>>>>>>>>> = 1260c7025e6013c50782024756a0c891d3735bd7d4c1c9d0a89d9eb1c94bd2f762369086f7= 269d487100e8a0e2678a73012bf29172697c1a1a18e58f9019a9bd >>>>>>>>>>=20 >>>>>>>>>> I extracted both archives and compared them with 'WinMerge'. = They differ >>>>>>>>>> significantly - different/missing directories and files. >>>>>>>>>>=20 >>>>>>>>>> I don't know where the cached version came from but I'll try = a build >>>>>>>>>> with the original archive and will keep you informed. >>>>>>>>>>=20 >>>>>>>>>> HTH >>>>>>>>>> Matthias >>>>>>>>>>=20 >>>>>>>>>> On 13.09.2025 14:48, Michael Tremer wrote: >>>>>>>>>>> Hello, >>>>>>>>>>>=20 >>>>>>>>>>> Could you please check whether the module is there at all. = Can it be loaded? Is there a problem loading it? >>>>>>>>>>>=20 >>>>>>>>>>> -Michael >>>>>>>>>>>=20 >>>>>>>>>>>> On 13 Sep 2025, at 13:47, Matthias Fischer = wrote: >>>>>>>>>>>>=20 >>>>>>>>>>>> Hi, >>>>>>>>>>>>=20 >>>>>>>>>>>> I can confirmed - clean build (current 'next') from today = shows >>>>>>>>>>>> identical errors: >>>>>>>>>>>>=20 >>>>>>>>>>>> ***SNIP*** >>>>>>>>>>>> python3-pillow (11.3.0) [ = 2 ][ FAIL ] >>>>>>>>>>>>=20 >>>>>>>>>>>> running egg_info >>>>>>>>>>>> writing src/pillow.egg-info/PKG-INFO >>>>>>>>>>>> writing dependency_links to = src/pillow.egg-info/dependency_links.txt >>>>>>>>>>>> writing requirements to src/pillow.egg-info/requires.txt >>>>>>>>>>>> writing top-level names to = src/pillow.egg-info/top_level.txt >>>>>>>>>>>> listing git files failed - pretending there aren't any >>>>>>>>>>>> reading manifest file 'src/pillow.egg-info/SOURCES.txt' >>>>>>>>>>>> reading manifest template 'MANIFEST.in' >>>>>>>>>>>> warning: no files found matching '*.c' >>>>>>>>>>>> warning: no files found matching '*.h' >>>>>>>>>>>> warning: no files found matching '*.sh' >>>>>>>>>>>> warning: no files found matching '*.txt' >>>>>>>>>>>> warning: no files found matching '.flake8' >>>>>>>>>>>> warning: no previously-included files found matching = '.clang-format' >>>>>>>>>>>> warning: no previously-included files found matching = '.coveragerc' >>>>>>>>>>>> warning: no previously-included files found matching = '.editorconfig' >>>>>>>>>>>> warning: no previously-included files found matching = '.readthedocs.yml' >>>>>>>>>>>> warning: no previously-included files found matching = 'codecov.yml' >>>>>>>>>>>> warning: no previously-included files found matching = 'renovate.json' >>>>>>>>>>>> warning: no previously-included files matching '.git*' = found >>>>>>>>>>>> anywhere in distribution >>>>>>>>>>>> warning: no previously-included files matching '*.so' = found anywhere >>>>>>>>>>>> in distribution >>>>>>>>>>>> no previously-included directories found matching '.ci' >>>>>>>>>>>> no previously-included directories found matching = 'wheels' >>>>>>>>>>>> adding license file 'LICENSE' >>>>>>>>>>>> writing manifest file 'src/pillow.egg-info/SOURCES.txt' >>>>>>>>>>>>=20 >>>>>>>>>>>> ERROR Missing dependencies: >>>>>>>>>>>> setuptools>=3D77 >>>>>>>>>>>> make: *** [python3-pillow:77: = /usr/src/log/pillow-11.3.0] Error 1 >>>>>>>>>>>> make: Leaving directory '/usr/src/lfs' >>>>>>>>>>>>=20 >>>>>>>>>>>> ERROR: Building python3-pillow = [ FAIL ] >>>>>>>>>>>> Check /git/ipfire-2.x/log_x86_64/_build.ipfire.log for = errors if >>>>>>>>>>>> applicable >>>>>>>>>>>> ***SNAP*** >>>>>>>>>>>>=20 >>>>>>>>>>>> Best >>>>>>>>>>>> Matthias >>>>>>>>>>>>=20 >>>>>>>>>>>> On 13.09.2025 12:36, Michael Tremer wrote: >>>>>>>>>>>>> Hello Charles, >>>>>>>>>>>>>=20 >>>>>>>>>>>>> Can you still reproduce this? The nightly builds seem to = have completed okay. >>>>>>>>>>>>>=20 >>>>>>>>>>>>> -Michael >>>>>>>>>>>>>=20 >>>>>>>>>>>>>> On 8 Sep 2025, at 00:52, Charles Brown = wrote: >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> Similar to this ... " [FAILED] Nightly Build of next = (0cbb983) for riscv64 on riscv64-01.haj.ipfire.org" >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> Having same issue building 'next' x86_64 on GNU/Linux 13 = (trixie)" >>>>>>>>>>>>>> ... >>>>>>>>>>>>>> ERROR Missing dependencies: >>>>>>>>>>>>>> setuptools>=3D77 >>>>>>>>>>>>>> make: *** [python3-pillow:77: = /usr/src/log/pillow-11.3.0] Error 1 >>>>>>>>>>>>>> make: Leaving directory '/usr/src/lfs' >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> ERROR: Building python3-pillow [ FAIL ] >>>>>>>>>>>>>> Check = /home/cbrown/myProject/ipfire-2.x/log_x86_64/_build.ipfire.log for = errors if applicable[ FAIL ] >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> and from my _build.ipfire.log ... >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> Sep 7 18:47:25: Building python3-pillow make: Entering = directory '/home/cbrown/myProject/ipfire-2.x/lfs' >>>>>>>>>>>>>> -e Download: = https://source.ipfire.org/source-2.x/pillow-11.3.0.tar.gz >>>>>>>>>>>>>> 2025-09-07 13:47:29 = URL:https://source.ipfire.org/source-2.x/pillow-11.3.0.tar.gz = [47113069/47113069] -> "/tmp/pillow-11.3.0.tar.gz" [1] >>>>>>>>>>>>>> make: Leaving directory = '/home/cbrown/myProject/ipfire-2.x/lfs' >>>>>>>>>>>>>> make: Entering directory '/usr/src/lfs' >>>>>>>>>>>>>> pillow-11.3.0.tar.gz checksum OK >>>>>>>>>>>>>> =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 = pillow-11.3.0 ... >>>>>>>>>>>>>> Install started; saving file list to /usr/src/lsalr ... >>>>>>>>>>>>>> cd /usr/src/pillow-11.3.0 && patch -Np1 < = /usr/src/src/patches/python3-pillow-11.3.0-fix-license.patch >>>>>>>>>>>>>> patching file pyproject.toml >>>>>>>>>>>>>> cd /usr/src/pillow-11.3.0 && python3 -m build --wheel = --no-isolation >>>>>>>>>>>>>> * Getting dependencies for wheel... >>>>>>>>>>>>>> = /usr/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py:104: = _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` = is still *beta*. >>>>>>>>>>>>>> warnings.warn(msg, _BetaConfiguration) >>>>>>>>>>>>>> running egg_info >>>>>>>>>>>>>> writing src/pillow.egg-info/PKG-INFO >>>>>>>>>>>>>> writing dependency_links to = src/pillow.egg-info/dependency_links.txt >>>>>>>>>>>>>> writing requirements to src/pillow.egg-info/requires.txt >>>>>>>>>>>>>> writing top-level names to = src/pillow.egg-info/top_level.txt >>>>>>>>>>>>>> listing git files failed - pretending there aren't any >>>>>>>>>>>>>> reading manifest file 'src/pillow.egg-info/SOURCES.txt' >>>>>>>>>>>>>> reading manifest template 'MANIFEST.in' >>>>>>>>>>>>>> warning: no files found matching '*.c' >>>>>>>>>>>>>> warning: no files found matching '*.h' >>>>>>>>>>>>>> warning: no files found matching '*.sh' >>>>>>>>>>>>>> warning: no files found matching '*.txt' >>>>>>>>>>>>>> warning: no files found matching '.flake8' >>>>>>>>>>>>>> warning: no previously-included files found matching = '.clang-format' >>>>>>>>>>>>>> warning: no previously-included files found matching = '.coveragerc' >>>>>>>>>>>>>> warning: no previously-included files found matching = '.editorconfig' >>>>>>>>>>>>>> warning: no previously-included files found matching = '.readthedocs.yml' >>>>>>>>>>>>>> warning: no previously-included files found matching = 'codecov.yml' >>>>>>>>>>>>>> warning: no previously-included files found matching = 'renovate.json' >>>>>>>>>>>>>> warning: no previously-included files matching '.git*' = found anywhere in distribution >>>>>>>>>>>>>> warning: no previously-included files matching '*.so' = found anywhere in distribution >>>>>>>>>>>>>> no previously-included directories found matching '.ci' >>>>>>>>>>>>>> no previously-included directories found matching = 'wheels' >>>>>>>>>>>>>> adding license file 'LICENSE' >>>>>>>>>>>>>> writing manifest file 'src/pillow.egg-info/SOURCES.txt' >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> ERROR Missing dependencies: >>>>>>>>>>>>>> setuptools>=3D77 >>>>>>>>>>>>>> make: *** [python3-pillow:77: /usr/src/log/pillow-11.3.0] = Error 1 >>>>>>>>>>>>>> make: Leaving directory '/usr/src/lfs' >=20 >=20