Hello, I don't have that package, so I'll try some hypothesis based on
the log:
Il 24/05/25 17:49, Dale ha scritto:
Emerging (1 of 1) dev-python/wxpython-4.2.3-r1::gentoo
Failed to emerge dev-python/wxpython-4.2.3-r1, Log file:
'/var/log/portage/dev-python:wxpython-4.2.3-r1:20250524-154234.log'
Jobs: 0 of 1 complete, 1 failed
Load avg: 1.58, 1.74, 2.14
* Package: dev-python/wxpython-4.2.3-r1:4.0
* Repository: gentoo
* Maintainer: [email protected] [email protected]
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux
python_targets_python3_13
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
Unpacking source...
Unpacking wxPython-4.2.3.tar.gz to
/var/tmp/portage/dev-python/wxpython-4.2.3-r1/work
Source unpacked in /var/tmp/portage/dev-python/wxpython-4.2.3-r1/work
Preparing source in
/var/tmp/portage/dev-python/wxpython-4.2.3-r1/work/wxPython-4.2.3 ...
* Applying wxpython-4.2.0-no-webkit.patch
..
[ ok ]
* Applying wxpython-4.2.0-flags.patch
..
[ ok ]
* Applying wxpython-4.2.1-x86-time.patch ...
patching file etg/defs.py
Hunk #1 succeeded at 73 with fuzz
2.
[ ok ]
* Applying wxpython-4.2.2-setuppy.patch
..
[ ok ]
* Build system packages:
* dev-python/gpep517 : 19
* dev-python/installer : 0.7.0
* dev-python/cython : 3.0.12-r1
* dev-python/setuptools : 80.4.0
* dev-python/setuptools-rust :
* dev-python/setuptools-scm : 8.3.1
* dev-python/wheel : 0.45.1
Source prepared.
Configuring source in
/var/tmp/portage/dev-python/wxpython-4.2.3-r1/work/wxPython-4.2.3 ...
*
* Requested wxWidgets: 3.2-gtk3
* Using wxWidgets: gtk3-unicode-3.2-gtk3
*
Source configured.
Compiling source in
/var/tmp/portage/dev-python/wxpython-4.2.3-r1/work/wxPython-4.2.3 ...
* python3_13: running distutils-r1_run_phase python_compile
warning: Tag 'HTML_TIMESTAMP' at line 364 of file 'Doxyfile' has become
obsolete.
To avoid this warning please remove this line from your
configuration file or upgrade it using "doxygen -u"
warning: Tag 'FORMULA_TRANSPARENT' at line 426 of file 'Doxyfile' has
become obsolete.
To avoid this warning please remove this line from your
configuration file or upgrade it using "doxygen -u"
warning: Tag 'LATEX_SOURCE_CODE' at line 459 of file 'Doxyfile' has
become obsolete.
To avoid this warning please remove this line from your
configuration file or upgrade it using "doxygen -u"
warning: Tag 'DOCBOOK_PROGRAMLISTING' at line 501 of file 'Doxyfile' has
become obsolete.
To avoid this warning please remove this line from your
configuration file or upgrade it using "doxygen -u"
warning: Tag 'CLASS_DIAGRAMS' at line 552 of file 'Doxyfile' has become
obsolete.
To avoid this warning please remove this line from your
configuration file or upgrade it using "doxygen -u"
warning: Tag 'DOT_FONTNAME' at line 557 of file 'Doxyfile' has become
obsolete.
To avoid this warning please remove this line from your
configuration file or upgrade it using "doxygen -u"
warning: Tag 'DOT_FONTSIZE' at line 558 of file 'Doxyfile' has become
obsolete.
To avoid this warning please remove this line from your
configuration file or upgrade it using "doxygen -u"
warning: Tag 'DOT_TRANSPARENT' at line 581 of file 'Doxyfile' has become
obsolete.
To avoid this warning please remove this line from your
configuration file or upgrade it using "doxygen -u"
The above are all warnings, they don't look related to the failure.
These bindings will be built: _core.
Generating the _core bindings...
sip-build:
/var/tmp/portage/dev-python/wxpython-4.2.3-r1/work/wxPython-4.2.3/sip/gen/scrolwin.sip:
line 435: column 31: template argument 'T' must expand to a class
/var/tmp/portage/dev-python/wxpython-4.2.3-r1/work/wxPython-4.2.3/sip/gen/scrolwin.sip:
line 437: column 29: template argument 'T' must expand to a class
The last two lines do not look right, even if they are not classified as
errors.
Will build using: "/usr/bin/python3.13"
3.13.3 (main, Apr 12 2025, 04:09:34) [GCC 14.2.1 20241221]
Python's architecture is 64bit
cfg.VERSION: 4.2.3
Running command: dox
bash ./regen.sh xml
Finished command: dox (0m7.149s)
Running command: etg
"/usr/bin/python3.13" etg/defs.py --sip --nodoc
Finished command: etg (0.387s)
Running command: sip
sip-build --no-compile
Command 'sip-build --no-compile' failed with exit code 1.
This last line is the error.
My interpretation is that the build fails because sip-build receives
wrongly formatted input. The link here:
https://stackoverflow.com/questions/79630006/can-anyone-help-getting-wxpython-to-build
suggests downgrading sip to 6.10, which is in the tree:
[I] dev-python/sip
Available versions: (5) 6.10.0^t (~)6.11.1^t
{doc test PYTHON_TARGETS="python3_11 python3_12 python3_13"}
Installed versions: 6.11.1(5)^t(17:43:03 05/24/25)(-doc -test
PYTHON_TARGETS="python3_13 -python3_11 -python3_12")
Homepage: https://github.com/Python-SIP/sip/
Description: Python bindings generator for C/C++ libraries
Maybe you can give it a try.
Regardless whether the downgrade works or not, it is worth opening a
Gentoo bugzilla ticket.
raf