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 4cR09k2FgFz32Xd for ; Tue, 16 Sep 2025 11:32:10 +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 4cR09f6Jv8z2xQT for ; Tue, 16 Sep 2025 11:32:06 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cR09f01fMzZY for ; Tue, 16 Sep 2025 11:32:05 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1758022326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xvP1jlnpLyq9HXRtQ3dEr4yjWGM4+tOQ5pESuG3F0Lo=; b=T3np5clHuBU5KwLvoJV7IpZRtNdK2+Mjy2HQpHbtMy6KaHhwDkYc6wdHaq5Z1xPV1UhlmC Atf5XPJxvpXA9OAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1758022326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xvP1jlnpLyq9HXRtQ3dEr4yjWGM4+tOQ5pESuG3F0Lo=; b=lEr22CgtPHcHiitx6I/u9mQjaPVeWVreoCCkl11uj7DK3gLbh2V3Y5L4Nl+3m5eHU21vqB /kAejykuSB6Uul2Lz6L7lXR4y5GUkRtiGim64FdTHuEKL7WoNmcLB2ju1utK10ZvCMKY4a /pcg6mgHTjJI028oXiVYoovLlsxtq0xEk/smPadAXPJBXi8AW1krZw/i7Fb/hC/tDuOGTX GSTdD++A9E9rct+R0+xr+B9IxpX9bgn2+s9zIx7b/mewmFPoGpvBEIn1a04whzkks6ybVU 1YQuWpY8/xRLe/OtOwBIzmHBm4viMF9J84ssdlijEo51Usj9ZnSYheAUf6UjVA== Message-ID: <57b87551-1b63-4b4c-9460-9a7b1e4a985b@ipfire.org> Date: Tue, 16 Sep 2025 13:31:59 +0200 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) To: development@lists.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> <051A1E1D-B01F-4780-83FB-A55C7B1A904C@ipfire.org> <6cb442d9-0a97-48b2-af2d-73ec02e97d20@ipfire.org> Content-Language: en-US From: Matthias Fischer In-Reply-To: <6cb442d9-0a97-48b2-af2d-73ec02e97d20@ipfire.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, last news from me: building 'next' finished without errors. Best Matthias Build On 15.09.2025 17:29, Adolf Belka wrote: > Hi Michael, > > > On 15/09/2025 12:13, Michael Tremer wrote: >> I have merged the patches that you submitted earlier today. >> >> Please let me know if this fixes the problem for everyone. > > I just did a git pull to update to the latest next,m including those patches I submitted. > > I then ran a build on a set of updates and it completed successfully, including building python3-pillow. > > So for me it is working successfully. > > Would be good to also hear from @Matthias and @Charlie if they also now have working builds. > > Regards, > > Adolf. > > >> >> -Michael >> >>> On 14 Sep 2025, at 16:51, Michael Tremer wrote: >>> >>> Perfect! That is great news. >>> >>>> On 14 Sep 2025, at 16:47, Adolf Belka wrote: >>>> >>>> Hi Michael, >>>> >>>> Good news. >>>> >>>> On 14/09/2025 13:44, Adolf Belka wrote: >>>>> Hi Michael, >>>>> On 14/09/2025 13:21, Adolf Belka wrote: >>>>>> Hi Michael, >>>>>> >>>>>> On 14/09/2025 12:48, Michael Tremer wrote: >>>>>>> Hello, >>>>>>> >>>>>>> Well okay, then lets get to the bottom of this… >>>>>>> >>>>>>> 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. >>>>>> >>>>>> 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. >>>>>> >>>>>> When the setuptools package is installed it is overwriting the setuptools directory but not removing the dist-info directory. >>>>>> >>>>>>> >>>>>>> We could now try a couple of things: >>>>>>> >>>>>>> * 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. >>>>>> >>>>>> From 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. >>>>>> >>>>>>> >>>>>>> * 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 “rm” after the Python build and see what fails next. >>>>>> >>>>>> 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. >>>>>> >>>>>> 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. >>>> >>>> I had to move the IPFire setuptools package install to before the pyproject2setuppy install as it also required to find setuptools. >>>> >>>> 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. >>>> >>>> After all that I ended up with a successful full clean build and python3-pillow was happy. >>>> >>>> I will submit a patch for this later today. >>>> >>>> Regards, >>>> >>>> Adolf. >>>> >>>>> Regards, >>>>> Adolf. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Adolf. >>>>>> >>>>>>> >>>>>>> -Michael >>>>>>> >>>>>>>> On 14 Sep 2025, at 11:32, Adolf Belka wrote: >>>>>>>> >>>>>>>> Hi Michael, >>>>>>>> >>>>>>>> Bad news I am afraid. >>>>>>>> >>>>>>>> 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: >>>>>>>>>> >>>>>>>>>> Hi Michael, >>>>>>>>>> >>>>>>>>>> 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>=77). >>>>>>>>>>> Any ideas? >>>>>>>>>> >>>>>>>>>> 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. >>>>>>>> >>>>>>>> I created a new clone of next and ran a straight build, so without any ccache or cache entries. >>>>>>>> >>>>>>>> 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. >>>>>>>> >>>>>>>>> We should not have a second package of setuptools around. What happens if you manually delete it? Does the build continue? >>>>>>>> >>>>>>>> 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. >>>>>>>> >>>>>>>> So the presence of that directory is what is causing the problem but not sure why it is getting built. >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> Adolf. >>>>>>>> >>>>>>>>> -Michael >>>>>>>>>> >>>>>>>>>> Regards, >>>>>>>>>> >>>>>>>>>> Adolf. >>>>>>>>>> >>>>>>>>>>> Best >>>>>>>>>>> Matthias >>>>>>>>>>> On 13.09.2025 16:12, Matthias Fischer wrote: >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> I must confess, I don't know how this python building really works - but... >>>>>>>>>>>> >>>>>>>>>>>> I've found a 'pillow-11.3.0.tar.gz'-archive in the cache directory of my >>>>>>>>>>>> 'Devel64-1'. Blake2-Checksum is: >>>>>>>>>>>> bde2d91943ca39cef342733f57d5c4b4e1fcb4e20b145fea1606018f255d70311e7f09d02321aede10ea1b0ae73cc86e3932d213718eb081f6961cf36174282f >>>>>>>>>>>> >>>>>>>>>>>> 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: >>>>>>>>>>>> 1260c7025e6013c50782024756a0c891d3735bd7d4c1c9d0a89d9eb1c94bd2f762369086f7269d487100e8a0e2678a73012bf29172697c1a1a18e58f9019a9bd >>>>>>>>>>>> >>>>>>>>>>>> I extracted both archives and compared them with 'WinMerge'. They differ >>>>>>>>>>>> significantly - different/missing directories and files. >>>>>>>>>>>> >>>>>>>>>>>> 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. >>>>>>>>>>>> >>>>>>>>>>>> HTH >>>>>>>>>>>> Matthias >>>>>>>>>>>> >>>>>>>>>>>> On 13.09.2025 14:48, Michael Tremer wrote: >>>>>>>>>>>>> Hello, >>>>>>>>>>>>> >>>>>>>>>>>>> Could you please check whether the module is there at all. Can it be loaded? Is there a problem loading it? >>>>>>>>>>>>> >>>>>>>>>>>>> -Michael >>>>>>>>>>>>> >>>>>>>>>>>>>> On 13 Sep 2025, at 13:47, Matthias Fischer wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>> >>>>>>>>>>>>>> I can confirmed - clean build (current 'next') from today shows >>>>>>>>>>>>>> identical errors: >>>>>>>>>>>>>> >>>>>>>>>>>>>> ***SNIP*** >>>>>>>>>>>>>> python3-pillow (11.3.0) [ 2 ][ FAIL ] >>>>>>>>>>>>>> >>>>>>>>>>>>>> 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' >>>>>>>>>>>>>> >>>>>>>>>>>>>> ERROR Missing dependencies: >>>>>>>>>>>>>> setuptools>=77 >>>>>>>>>>>>>> make: *** [python3-pillow:77: /usr/src/log/pillow-11.3.0] Error 1 >>>>>>>>>>>>>> make: Leaving directory '/usr/src/lfs' >>>>>>>>>>>>>> >>>>>>>>>>>>>> ERROR: Building python3-pillow [ FAIL ] >>>>>>>>>>>>>> Check /git/ipfire-2.x/log_x86_64/_build.ipfire.log for errors if >>>>>>>>>>>>>> applicable >>>>>>>>>>>>>> ***SNAP*** >>>>>>>>>>>>>> >>>>>>>>>>>>>> Best >>>>>>>>>>>>>> Matthias >>>>>>>>>>>>>> >>>>>>>>>>>>>> On 13.09.2025 12:36, Michael Tremer wrote: >>>>>>>>>>>>>>> Hello Charles, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Can you still reproduce this? The nightly builds seem to have completed okay. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -Michael >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On 8 Sep 2025, at 00:52, Charles Brown wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Similar to this ... " [FAILED] Nightly Build of next (0cbb983) for riscv64 on riscv64-01.haj.ipfire.org" >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Having same issue building 'next' x86_64 on GNU/Linux 13 (trixie)" >>>>>>>>>>>>>>>> ... >>>>>>>>>>>>>>>> ERROR Missing dependencies: >>>>>>>>>>>>>>>> setuptools>=77 >>>>>>>>>>>>>>>> make: *** [python3-pillow:77: /usr/src/log/pillow-11.3.0] Error 1 >>>>>>>>>>>>>>>> make: Leaving directory '/usr/src/lfs' >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> ERROR: Building python3-pillow [ FAIL ] >>>>>>>>>>>>>>>> Check /home/cbrown/myProject/ipfire-2.x/log_x86_64/_build.ipfire.log for errors if applicable[ FAIL ] >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> and from my _build.ipfire.log ... >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>> ====================================== 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' >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> ERROR Missing dependencies: >>>>>>>>>>>>>>>> setuptools>=77 >>>>>>>>>>>>>>>> make: *** [python3-pillow:77: /usr/src/log/pillow-11.3.0] Error 1 >>>>>>>>>>>>>>>> make: Leaving directory '/usr/src/lfs' >>> >>> >> > >