Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934482 - dev-python/wxpython-4.2.1-r2 fails to compile: etgtools.extractors.ExtractorError: Unable to find item named 'wxDELETE' within ModuleDef named 'defs'
Summary: dev-python/wxpython-4.2.1-r2 fails to compile: etgtools.extractors.ExtractorE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
: 934498 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-18 03:02 UTC by matoro
Modified: 2024-06-18 10:12 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_934482.txt,11.92 KB, text/plain)
2024-06-18 03:02 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-06-18 03:02:55 UTC
Created attachment 895991 [details]
build.log and emerge --info

* python3_12: running distutils-r1_run_phase python_compile
/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_12/build.py:43: DeprecationWarning: dep_util is Deprecated. Use functions from setuptools instead.
  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"
/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_12/sphinxtools/constants.py:226: SyntaxWarning: invalid escape sequence '\w'
  CONSTANT_RE = re.compile('^([\w\s,]+)=', re.M)
/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_12/sphinxtools/constants.py:226: SyntaxWarning: invalid escape sequence '\w'
  CONSTANT_RE = re.compile('^([\w\s,]+)=', re.M)
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/wxpython-4.2.1-r2/work/wxPython-4.2.1-python3_12/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_12/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_12/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.12"
3.12.3 (main, Jun 10 2024, 00:34:40) [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 (0m25.443s)
Running command: etg
"/usr/bin/python3.12" etg/defs.py --sip --nodoc
Command '"/usr/bin/python3.12" etg/defs.py --sip --nodoc' failed with exit code 1.
Finished command: etg (0.827s)
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-18 03:05:20 UTC
Interesting!
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-18 03:12:46 UTC
Can you humour me and try https://github.com/wxWidgets/Phoenix/commit/6a049ccc0ad96f25c3f7d8540b218ffe8921d8c5?
Comment 3 matoro archtester 2024-06-18 03:43:56 UTC
Applies cleanly and fixes it.
Comment 4 Larry the Git Cow gentoo-dev 2024-06-18 04:49:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9d357d68f7a77aeff1aa1bee8c69746f5d0515d

commit e9d357d68f7a77aeff1aa1bee8c69746f5d0515d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-06-18 04:48:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-18 04:48:53 +0000

    dev-python/wxpython: fix build w/ some doxygen versions
    
    Closes: https://bugs.gentoo.org/934482
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/wxpython-4.2.1-doxygen-1.9.7.patch       | 46 ++++++++++++++++++++++
 dev-python/wxpython/wxpython-4.2.1-r2.ebuild       |  1 +
 2 files changed, 47 insertions(+)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-18 10:12:01 UTC
*** Bug 934498 has been marked as a duplicate of this bug. ***