On a Debian testing, amd 64, up to date, Pillow fails to build.
- Compilation after:
make distclean
make configure
./configure
make reconfigure
make
log file is joined.
It seems that Pillow could not be downloaded from github. On an other
side, Debian testing has a python3-pypillowfight package, but no Pillow
or pillow package...
--
You received this message because you are subscribed to the Google Groups
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/sage-release/ae9ddc9c-45d7-4dac-ba7f-05491bc707d1%40math.univ-lyon1.fr.
Attempting to download package Pillow-10.1.0.tar.gz from mirrors
https://github.com/sagemath/sage/releases/download/10.6/Pillow-10.1.0.tar.gz
[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: '//github.com/sagemath/sage/releases/download/10.6/Pillow-10.1.0.tar.gz'
Exception ignored in: <http.client.HTTPResponse object at 0x7fc8b49dde70>
Traceback (most recent call last):
File "/usr/lib/python3.13/http/client.py", line 432, in close
super().close() # set "closed" flag
File "/usr/lib/python3.13/http/client.py", line 445, in flush
self.fp.flush()
ValueError: I/O operation on closed file.
https://github.com/sagemath/sage/releases/download/10.5/Pillow-10.1.0.tar.gz
[Exception ignored in: <http.client.HTTPResponse object at 0x7fc8b49dde70>
Traceback (most recent call last):
File "/usr/lib/python3.13/http/client.py", line 432, in close
super().close() # set "closed" flag
File "/usr/lib/python3.13/http/client.py", line 445, in flush
self.fp.flush()
ValueError: I/O operation on closed file.
......................................................................]
Setting up build directory /usr/local/sages/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/pillow-10.1.0
No patch files found in ../patches
Host system: Linux kepler.thierry-dumont.fr 6.12.12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1 (2025-02-02) x86_64 GNU/Linux
C compiler: gcc, Using built-in specs., COLLECT_GCC=gcc, COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/14/lto-wrapper, OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa, OFFLOAD_TARGET_DEFAULT=1, Target: x86_64-linux-gnu, Configured with: ../src/configure -v --with-pkgversion='Debian 14.2.0-16' --with-bugurl=file:///usr/share/doc/gcc-14/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust --prefix=/usr --with-gcc-major-version-only --program-suffix=-14 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/reproducible-path/gcc-14-14.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/reproducible-path/gcc-14-14.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=3, Thread model: posix, Supported LTO compression algorithms: zlib zstd, gcc version 14.2.0 (Debian 14.2.0-16)
No stamp file for package 'pillow' in /usr/local/sages/sage/local/var/lib/sage/venv-python3.13/var/lib/sage/installed
No spkg-legacy-uninstall script; nothing to do
[spkg-install] Installing pillow-10.1.0
[spkg-install] * Creating isolated environment: venv+pip...
[spkg-install] * Installing packages in isolated environment:
[spkg-install] - setuptools>=67.8
[spkg-install] * Getting build dependencies for wheel...
[spkg-install] Traceback (most recent call last):
[spkg-install] File "/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module>
[spkg-install] main()
[spkg-install] ~~~~^^
[spkg-install] File "/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main
[spkg-install] json_out["return_val"] = hook(**hook_input["kwargs"])
[spkg-install] ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
[spkg-install] File "/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 134, in get_requires_for_build_wheel
[spkg-install] return hook(config_settings)
[spkg-install] File "/tmp/build-env-zar0lqyy/lib/python3.13/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
[spkg-install] return self._get_build_requires(config_settings, requirements=[])
[spkg-install] ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[spkg-install] File "/tmp/build-env-zar0lqyy/lib/python3.13/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
[spkg-install] self.run_setup()
[spkg-install] ~~~~~~~~~~~~~~^^
[spkg-install] File "/tmp/build-env-zar0lqyy/lib/python3.13/site-packages/setuptools/build_meta.py", line 318, in run_setup
[spkg-install] exec(code, locals())
[spkg-install] ~~~~^^^^^^^^^^^^^^^^
[spkg-install] File "<string>", line 30, in <module>
[spkg-install] File "<string>", line 27, in get_version
[spkg-install] KeyError: '__version__'
[spkg-install]
[spkg-install] ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
[spkg-install] Warning: building with "python3 -m build --wheel --outdir=dist --config-setting=debug=true ." failed.
[spkg-install] Retrying with "python3 -m build --wheel --outdir=dist --no-isolation --skip-dependency-check --config-setting=debug=true .".
[spkg-install] * Building wheel...
[spkg-install] Traceback (most recent call last):
[spkg-install] File "/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module>
[spkg-install] main()
[spkg-install] ~~~~^^
[spkg-install] File "/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main
[spkg-install] json_out["return_val"] = hook(**hook_input["kwargs"])
[spkg-install] ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
[spkg-install] File "/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 271, in build_wheel
[spkg-install] return _build_backend().build_wheel(
[spkg-install] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
[spkg-install] wheel_directory, config_settings, metadata_directory
[spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[spkg-install] )
[spkg-install] ^
[spkg-install] File "/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/pillow-10.1.0/src/_custom_build/backend.py", line 53, in build_wheel
[spkg-install] return super().build_wheel(wheel_directory, config_settings, metadata_directory)
[spkg-install] ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[spkg-install] File "/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/setuptools/build_meta.py", line 420, in build_wheel
[spkg-install] return self._build_with_temp_dir(
[spkg-install] ~~~~~~~~~~~~~~~~~~~~~~~~~^
[spkg-install] ['bdist_wheel'],
[spkg-install] ^^^^^^^^^^^^^^^^
[spkg-install] ...<3 lines>...
[spkg-install] self._arbitrary_args(config_settings),
[spkg-install] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[spkg-install] )
[spkg-install] ^
[spkg-install] File "/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/setuptools/build_meta.py", line 402, in _build_with_temp_dir
[spkg-install] self.run_setup()
[spkg-install] ~~~~~~~~~~~~~~^^
[spkg-install] File "/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/pillow-10.1.0/src/_custom_build/backend.py", line 47, in run_setup
[spkg-install] return super().run_setup(setup_script)
[spkg-install] ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
[spkg-install] File "/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/setuptools/build_meta.py", line 318, in run_setup
[spkg-install] exec(code, locals())
[spkg-install] ~~~~^^^^^^^^^^^^^^^^
[spkg-install] File "<string>", line 30, in <module>
[spkg-install] File "<string>", line 27, in get_version
[spkg-install] KeyError: '__version__'
[spkg-install]
[spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel
[spkg-install] **********************************************************************************************************************************************************************************************
[spkg-install] Error building a wheel for pillow-10.1.0
[spkg-install] **********************************************************************************************************************************************************************************************
************************************************************************
Error installing package pillow-10.1.0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log files
/usr/local/sages/sage/logs/pkgs/pillow-10.1.0.log
and
/usr/local/sages/sage/config.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/pillow-10.1.0 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/usr/local/sages/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/pillow-10.1.0' && '/usr/local/sages/sage/sage' --buildsh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************