Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] wxpython update problem (python issue?)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1556
Location: switzerland

PostPosted: Tue Jun 18, 2024 4:59 am    Post subject: [solved] wxpython update problem (python issue?) Reply with quote

I got this error while updating wxpython package

this the output

Code:
>>> Failed to emerge dev-python/wxpython-4.2.1-r2, Log file:
>>>  '/var/tmp/portage/dev-python/wxpython-4.2.1-r2/temp/build.log'
>>> Jobs: 0 of 2 complete, 1 failed                 Load avg: 0.56, 0.23, 0.21
 * Package:    dev-python/wxpython-4.2.1-r2:4.0
 * Repository: gentoo
 * Maintainer: wxwidgets@gentoo.org python@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_11 python_targets_python3_12
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking wxPython-4.2.1.tar.gz to /var/tmp/portage/dev-python/wxpython-4.2.1-r2/work
>>> Source unpacked in /var/tmp/portage/dev-python/wxpython-4.2.1-r2/work
>>> Preparing source in /var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1 ...
 * Applying wxpython-4.2.0-no-webkit.patch ...                                                                             [ ok ]
 * Applying wxpython-4.2.0-flags.patch ...                                                                                 [ ok ]
 * Applying wxpython-4.2.0-cython-3.patch ...                                                                              [ ok ]
 * Applying wxpython-4.2.1-integer-division-for-randint.patch ...                                                          [ ok ]
 * Applying wxpython-4.2.1-x86-time.patch ...                                                                              [ ok ]
 * Will copy sources from /var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1
 * python3_11: copying to /var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_11
 * python3_12: copying to /var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_12
 * Build system packages:
 *   dev-python/setuptools         : 70.0.0
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1 ...
 *
 * 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.1-r2/work/wxPython-4.2.1 ...
 * python3_11: running distutils-r1_run_phase python_compile
/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_11/build.py:43: [b]DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives[/b]
  from distutils.dep_util import newer, newer_group
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"
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_11/etg/defs.py", line 125, in <module>
    run()
  File "/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_11/etg/defs.py", line 66, in run
    module.find('wxDELETE').ignore()
    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_11/etgtools/extractors.py", line 121, in find
    raise ExtractorError("Unable to find item named '%s' within %s named '%s'" %
etgtools.extractors.ExtractorError: Unable to find item named 'wxDELETE' within ModuleDef named 'defs'
Will build using: "/usr/bin/python3.11"
3.11.9 (main, Jun  9 2024, 07:34:31) [GCC 13.2.1 20240210]
Python's architecture is 64bit
cfg.VERSION: 4.2.1

Running command: dox
bash ./regen.sh xml
Finished command: dox (0m4.810s)
Running command: etg
"/usr/bin/python3.11" etg/defs.py --sip --nodoc
Command '"/usr/bin/python3.11" etg/defs.py --sip --nodoc' failed with exit code 1.
Finished command: etg (0.96s)
 * ERROR: dev-python/wxpython-4.2.1-r2::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4101:  Called distutils-r1_src_compile
 *   environment, line 1995:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line  783:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3669:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3169:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3167:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 1302:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line 1979:  Called python_compile
 *   environment, line 3466:  Called die
 * The specific snippet of code:
 *       DOXYGEN="$(type -P doxygen)" ${PYTHON} build.py dox etg --nodoc || die;
 *
 * If you need support, post the output of `emerge --info '=dev-python/wxpython-4.2.1-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/wxpython-4.2.1-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/wxpython-4.2.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/wxpython-4.2.1-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_11'
 * S: '/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1'

 * Messages for package dev-python/wxpython-4.2.1-r2:

 * ERROR: dev-python/wxpython-4.2.1-r2::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4101:  Called distutils-r1_src_compile
 *   environment, line 1995:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line  783:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3669:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3169:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3167:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 1302:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line 1979:  Called python_compile
 *   environment, line 3466:  Called die
 * The specific snippet of code:
 *       DOXYGEN="$(type -P doxygen)" ${PYTHON} build.py dox etg --nodoc || die;
 *
 * If you need support, post the output of `emerge --info '=dev-python/wxpython-4.2.1-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/wxpython-4.2.1-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/wxpython-4.2.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/wxpython-4.2.1-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_11'
 * S: '/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1'


this the package.use for python

Code:

*/* PYTHON_TARGETS: -* python3_11 python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_12
dev-db/mysql-workbench python_single_target_python3_11



can somebody help me please, thanks a lot
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***


Last edited by luna80 on Tue Jun 18, 2024 5:52 am; edited 1 time in total
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1946

PostPosted: Tue Jun 18, 2024 5:32 am    Post subject: Reply with quote

See bug 934482 which I've just fixed.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1556
Location: switzerland

PostPosted: Tue Jun 18, 2024 5:52 am    Post subject: Reply with quote

ops sorry :oops: , I didn't see it

many thanks
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum