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 <[email protected]> wrote:

Perfect! That is great news.

On 14 Sep 2025, at 16:47, Adolf Belka <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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'





Reply via email to