• Re: [gentoo-user] dev-python/wxpython Command 'sip-build --no-compile'

    From Michael@21:1/5 to All on Sat May 24 16:57:53 2025
    On Saturday, 24 May 2025 16:49:43 British Summer Time Dale wrote:
    Howdy,

    I synced my main rig this morning. Everything compiled fine but
    wxpython. I did some searches but couldn't find anything like this.
    This is what it spits out.

    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: wxwidgets@gentoo.org python@gentoo.org
    * 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"
    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/sc rolwin.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/sc rolwin.sip: line 437: column 29: template argument 'T' must expand to a
    class
    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.
    Finished command: sip (0m5.458s)
    * ERROR: dev-python/wxpython-4.2.3-r1::gentoo failed (compile phase):
    * (no error message)
    *
    * Call stack:
    * ebuild.sh, line 136: Called src_compile
    * environment, line 3727: Called distutils-r1_src_compile
    * environment, line 1894: Called _distutils-r1_run_foreach_impl 'python_compile'
    * environment, line 705: Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
    * environment, line 3304: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
    * environment, line 2799: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
    * environment, line 2797: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
    * environment, line 1193: Called distutils-r1_run_phase 'python_compile' * environment, line 1878: Called python_compile
    * environment, line 3096: Called die
    * The specific snippet of code:
    * DOXYGEN="$(type -P doxygen)" ${PYTHON} build.py dox etg sip
    --nodoc || die;
    *
    * If you need support, post the output of `emerge --info '=dev-python/wxpython-4.2.3-r1::gentoo'`,
    * the complete build log and the output of `emerge -pqv '=dev-python/wxpython-4.2.3-r1::gentoo'`.
    * The complete build log is located at '/var/log/portage/dev-python:wxpython-4.2.3-r1:20250524-154234.log'.
    * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/wxpython-4.2.3-r1/temp/build.log'.
    * The ebuild environment file is located at '/var/tmp/portage/dev-python/wxpython-4.2.3-r1/temp/environment'.
    * Working directory: '/var/tmp/portage/dev-python/wxpython-4.2.3-r1/work/wxPython-4.2.3'
    * S: '/var/tmp/portage/dev-python/wxpython-4.2.3-r1/work/wxPython-4.2.3'
    *
    * The following package has failed to build, install, or execute postinst:
    *
    * (dev-python/wxpython-4.2.3-r1:4.0/4.0::gentoo, ebuild scheduled for merge), Log file:
    * '/var/log/portage/dev-python:wxpython-4.2.3-r1:20250524-154234.log'
    *
    (chroot) root@Gentoo-1 / #



    Anyone else running into this error? Anyone know if this is a bug or do
    I have a bad setting somewhere?

    Thanks.

    Dale

    :-) :-)

    I don't have wxpython installed to be able to compare. Your build.log complains about Doxygen, so it may not be a bad idea to 'emerge -1av app-text/ doxygen' first and try again with dev-python/wxpython after that.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmgx7IEACgkQseqq9sKV ZxkK5RAA6nJfge8MJIbSK3npPPbkiBmEbmFvr4FERk3aUbctnsRQGnqpOA/Dl2ok SBSbJ8gqDTxU+buBE5WkU9t+TxkQB8wAAH5nEJeRJ+8zZ2VlLmeQEz+0G1UeVSx5 qgywipV8NZ6pdRFDzLanN1m9RN/MlNu7Js/HFNLxXMdA7uKMVfYQ8tpnRtYP3bVG h03qTJQpC9yrvzZJ7hBHryAQ+8xv5rp+aoCr5c9lWMomKOO8GoqO7yv7GB5CpIKl LG8zqcTpPvIjJgDxBKMmwRb4LKOQhOpndiIKV4NtsaGewDhFXKEUQZ4N8HuS4MRu WHpd+/2PjhAsOKQJQSHWfmyaCFONuxmKsG1cxMR5ARBuH5xufsaI6LSFkgzAJYV/ vYR061W6hMnOj35hyBHIzCz+35gPAHgZeRrijHTh7rS8aT9Z1OYUZWDyn9h2r8qN FLbW35/PT2lJP37MJEqd0z3XBnxjMhE2DR+I6/hBSoMbxCKGvoTqPoplrqOrQVKi Mo5zKiZS91D4NPz9mAG02tfLhF6jxWWfnSVuGc5GzsA4glZ0GqWnfvjZfIwGTdZw JcBkB6NyL+67Vikl9ZMwI3MnhWgEBlRkrYQJ0HrPukakvQorA7QsBi6rZgG8zcSm W1FO9BXgMVXXg2Q1kXWueXuief7SroPs8wRFDLLBVjKsA3nDrO4=
    =2+0Y
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From yahoo@21:1/5 to All on Sat May 24 19:50:01 2025
    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: wxwidgets@gentoo.org python@gentoo.org
     * 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ionen Wolkens@21:1/5 to Dale on Sat May 24 19:50:01 2025
    On Sat, May 24, 2025 at 10:49:43AM -0500, Dale wrote:
    Howdy,

    I synced my main rig this morning.  Everything compiled fine but
    wxpython.  I did some searches but couldn't find anything like this. 
    This is what it spits out. 


    line 437: column 29: template argument 'T' must expand to a class
    Will build using: "/usr/bin/python3.13"

    Sounds like sip-6.11.1 broke wxpython, whether it's a sip regression
    or a bug in wxpython triggered by sip becoming stricter I don't know
    without checking further (wouldn't be the first time for the latter).

    Either way, downgrading to stable ~dev-python/sip-6.10.0 should let
    you build it for now.
    --
    ionen

    -----BEGIN PGP SIGNATURE-----

    iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmgyBiMACgkQskQGsLCs QzQ4Ngf+Is4k/sQlbH8PCesxnmgKT/tD1dqC5Iz3p8nTrNX+j8NBUIEf0ar/2Jkp thzkUbzpwdFi3+Lt8+QDsZmS03wwAGReon1r9XlRzJptc3mbnYcNbxv+jT8Qxjyk W8nc10RzT+/OQxCbrqDa4agFW34i0UxeV//ZPEcAbmxMikA14tf1kZMbCFtZvCz4 WmXcC3tdSpidyY71yM/yMQ4Az/AEQ66bZeJ8Ik9SWPxVWACepVZMoBy9AYd1RXtF 07xqBy6Rm6UzA3dL2NwlLB8qLfqP8dxIYw49A7u9W5RA1rqro7wWl/4CqXuHiO0K fzPYO5Cqrs0j2DoEoi0fq1MHM9RX2w==
    =86Tq
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ionen Wolkens@21:1/5 to Ionen Wolkens on Sat May 24 20:30:01 2025
    On Sat, May 24, 2025 at 01:47:15PM -0400, Ionen Wolkens wrote:
    On Sat, May 24, 2025 at 10:49:43AM -0500, Dale wrote:
    Howdy,

    I synced my main rig this morning.  Everything compiled fine but wxpython.  I did some searches but couldn't find anything like this.  This is what it spits out. 


    line 437: column 29: template argument 'T' must expand to a class
    Will build using: "/usr/bin/python3.13"

    Sounds like sip-6.11.1 broke wxpython, whether it's a sip regression
    or a bug in wxpython triggered by sip becoming stricter I don't know
    without checking further (wouldn't be the first time for the latter).

    filed https://bugs.gentoo.org/956566 if want to track status


    Either way, downgrading to stable ~dev-python/sip-6.10.0 should let
    you build it for now.
    --
    ionen

    -----BEGIN PGP SIGNATURE-----

    iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmgyDy8ACgkQskQGsLCs QzRuEwgAsJEp5WK6Mqq43yLI4YQJbdK/+CxWrU1ec3BX5UJdMtS7dlBvUdVDYbRL Hk390t4QUB3Qk3p2F6Jyewlb0sO5blDtDEET783kA+TQ9I9/SdSBXaWygiOVbYQf hDf42Tchd0oeVOSmw9lpJr3F7LxGFYDqBGMCy0edGxxgdo5HrQ4HiCBHaQ6HPJT6 LdSFl8UwDP9Str3DafYF6VkMqAMpbCEpgdLXM5mGr3kV6Xm8sjhDCYBP8KRPapqV Y5AHriwXed94JKsK6qHLxWWMTJGnu6cHbXMKYP4s62lzEcAPhphevqahULBEtR8K y0mPzkAJpTCasGL9HqV5eYbJ3fhabA==
    =rssF
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)