#1087643 FTBFS with Python 3.13: AssertionError

Package:
src:pybik
Source:
src:pybik
Submitter:
Andrey Rakhmatullin
Date:
2025-08-13 09:05:04 UTC
Severity:
normal
Tags:
#1087643#5
Date:
2024-11-16 16:14:42 UTC
From:
To:
https://buildd.debian.org/status/fetch.php?pkg=pybik&arch=armel&ver=3.0-6%2Bb4&stamp=1731766127&raw=0

generating build/temp.linux-arm-cpython-313/pybiklib/ext/_gldraw_es2.pxd.tmp
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 1249, in <module>
    setup(
    ~~~~~^
            # Metadata
            ^^^^^^^^^^
    ...<36 lines>...
            cmdclass=cmdclass,
            ^^^^^^^^^^^^^^^^^^
         )
         ^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
183, in setup
    return run_commands(dist)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
199, in run_commands
    dist.run_commands()
    ~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
954, in run_commands
    self.run_command(cmd)
    ~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 991, in
run_command
    super().run_command(command)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
973, in run_command
    cmd_obj.run()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py",
line 135, in run
    self.run_command(cmd_name)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 316,
in run_command
    self.distribution.run_command(command)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 991, in
run_command
    super().run_command(command)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
973, in run_command
    cmd_obj.run()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-
packages/setuptools/_distutils/command/build_ext.py", line 359, in run
    self.build_extensions()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/setup.py", line 425, in build_extensions
    self.build_extension(extvariant)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/setup.py", line 569, in build_extension
    build_csrc.build_extension(self, extension)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/setup.py", line 475, in build_extension
    self.build_pyx(in_file, pyx_file, pxd_file, pxm_file, pxc_file)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/setup.py", line 293, in build_pyx
    self.make_files([py_file], pyx_file, self.build_pyx_, (py_file, pyx_file,
pxd_file, pxm_file, pxc_file))
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/setup.py", line 227, in make_files
    self.execute(func, args, exec_msg, level)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 337,
in execute
    util.execute(func, args, msg, dry_run=self.dry_run)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/util.py", line
326, in execute
    func(*args)
    ~~~~^^^^^^^
  File "/<<PKGBUILDDIR>>/setup.py", line 278, in build_pyx_
    self.run_py2pyx(py_file, pyx_file, pxd_file_tmp, pxm_file_tmp,
pxc_file_tmp)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/setup.py", line 242, in run_py2pyx
    create_pyx(py_file, pyx_file, pxd_file, pxm_file, pxc_file)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/buildlib/py2pyx.py", line 241, in create_pyx
    pxgenerator.generate_lines(lineno+1, indent, makro, makrospec, makroarg,
pyxline)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/buildlib/py2pyx.py", line 202, in generate_lines
    if self.makro(indent, makroarg, lineno):
       ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/buildlib/pxmakros.py", line 157, in FUNC
    returntype, name, args = parse_pfunc(line)
                             ~~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/buildlib/pxmakros.py", line 66, in parse_pfunc
    f = mkpyfunc(line)
  File "/<<PKGBUILDDIR>>/buildlib/pxmakros.py", line 64, in mkpyfunc
    assert len(l) == 1, l
           ^^^^^^^^^^^
AssertionError: {}


It may be due to using cython-legacy (which is an RC bug by itself) or a
separate problem.

#1087643#10
Date:
2025-08-13 09:03:50 UTC
From:
To:
Dear submitter,

as the package pybik has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1092780

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)