Package: wxpython-tools
Version: 4.2.1+dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: paolo.gre...@libpf.com

While preparing to upload doxygen 1.9.8, I did a partial rebuild of packages that build-depend on it. More info here: https://salsa.debian.org/debian/doxygen/-/wikis/ratt_doxygen_1.9.8+ds-1_amd64-partial

Of 510 packages I tried, 5 failed and one is wxpython-tools.

The build error was:

  Running command: etg
  "/usr/bin/python3.11" etg/_core.py --sip --nodoc
  "/usr/bin/python3.11" etg/_html2.py --sip --nodoc
  "/usr/bin/python3.11" etg/_xml.py --sip --nodoc
  "/usr/bin/python3.11" etg/_xrc.py --sip --nodoc
  "/usr/bin/python3.11" etg/_richtext.py --sip --nodoc
  "/usr/bin/python3.11" etg/_stc.py --sip --nodoc
  "/usr/bin/python3.11" etg/_grid.py --sip --nodoc
"/usr/bin/python3.11" etg/_msw.py --sip --nodoc
  "/usr/bin/python3.11" etg/_propgrid.py --sip --nodoc
  "/usr/bin/python3.11" etg/_dataview.py --sip --nodoc
  "/usr/bin/python3.11" etg/_glcanvas.py --sip --nodoc
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/etg/_glcanvas.py", line 137, in <module>
      run()
    File "/<<PKGBUILDDIR>>/etg/_glcanvas.py", line 49, in run
etgtools.parseDoxyXML(module, ITEMS)
    File "/<<PKGBUILDDIR>>/etgtools/__init__.py", line 91, in parseDoxyXML
      item = module.addElement(element)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/etgtools/extractors.py", line 1576, in addElement
      self.addElement(node)
File "/<<PKGBUILDDIR>>/etgtools/extractors.py", line 1547, in addElement
      item = EnumDef(element, inClass)
            ^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/etgtools/extractors.py", line 1185, in __init__
self.extract(element)
    File "/<<PKGBUILDDIR>>/etgtools/extractors.py", line 1189, in extract
      super(EnumDef, self).extract(element)
    File "/<<PKGBUILDDIR>>/etgtools/extractors.py", line 65, in extract
      if '::' in self.name:
        ^^^^^^^^^^^^^^^^^
  TypeError: argument of type 'NoneType' is not iterable

I attach the full build log.

Paolo

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wxpython-tools depends on:
ii  python3           3.11.4-5+b1
ii  python3-wxgtk4.0  4.2.1+dfsg-1

wxpython-tools recommends no packages.

wxpython-tools suggests no packages.

-- no debconf information

Attachment: wxpython4.0_4.2.1+dfsg-1.xz
Description: application/xz

Reply via email to