Source: python-mpegdash
Version: 0.3.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpegdash/build/mpegdash
> copying mpegdash/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpegdash/build/mpegdash
> copying mpegdash/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpegdash/build/mpegdash
> copying mpegdash/prettyprinter.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpegdash/build/mpegdash
> copying mpegdash/parser.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpegdash/build/mpegdash
> copying mpegdash/nodes.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mpegdash/build/mpegdash
> running egg_info
> creating mpegdash.egg-info
> writing mpegdash.egg-info/PKG-INFO
> writing dependency_links to mpegdash.egg-info/dependency_links.txt
> writing requirements to mpegdash.egg-info/requires.txt
> writing top-level names to mpegdash.egg-info/top_level.txt
> writing manifest file 'mpegdash.egg-info/SOURCES.txt'
> reading manifest file 'mpegdash.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'mpegdash.egg-info/SOURCES.txt'
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mpegdash/build/mpegdash
> copying mpegdash/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mpegdash/build/mpegdash
> copying mpegdash/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mpegdash/build/mpegdash
> copying mpegdash/prettyprinter.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mpegdash/build/mpegdash
> copying mpegdash/parser.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mpegdash/build/mpegdash
> copying mpegdash/nodes.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mpegdash/build/mpegdash
> running egg_info
> writing mpegdash.egg-info/PKG-INFO
> writing dependency_links to mpegdash.egg-info/dependency_links.txt
> writing requirements to mpegdash.egg-info/requires.txt
> writing top-level names to mpegdash.egg-info/top_level.txt
> reading manifest file 'mpegdash.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'mpegdash.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> writing mpegdash.egg-info/PKG-INFO
> writing dependency_links to mpegdash.egg-info/dependency_links.txt
> writing requirements to mpegdash.egg-info/requires.txt
> writing top-level names to mpegdash.egg-info/top_level.txt
> reading manifest file 'mpegdash.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'mpegdash.egg-info/SOURCES.txt'
> running build_ext
> test_mpdtoxml (unittest.loader._FailedTest.test_mpdtoxml) ... ERROR
> test_xmltompd (unittest.loader._FailedTest.test_xmltompd) ... ERROR
> 
> ======================================================================
> ERROR: test_mpdtoxml (unittest.loader._FailedTest.test_mpdtoxml)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_mpdtoxml
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
>     module = self._get_module_from_name(name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.12/unittest/loader.py", line 337, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/test_mpdtoxml.py", line 7, in <module>
>     from mpegdash.parser import MPEGDASHParser
>   File "/<<PKGBUILDDIR>>/mpegdash/parser.py", line 9, in <module>
>     from mpegdash.nodes import MPEGDASH
>   File "/<<PKGBUILDDIR>>/mpegdash/nodes.py", line 1, in <module>
>     from mpegdash.utils import (
>   File "/<<PKGBUILDDIR>>/mpegdash/utils.py", line 1, in <module>
>     from past.builtins import unicode   # python3 compat
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/past/builtins/__init__.py", line 54, 
> in <module>
>     from past.builtins.misc import (apply, chr, cmp, execfile, intern, oct,
>   File "/usr/lib/python3/dist-packages/past/builtins/misc.py", line 45, in 
> <module>
>     from imp import reload
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: test_xmltompd (unittest.loader._FailedTest.test_xmltompd)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_xmltompd
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
>     module = self._get_module_from_name(name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.12/unittest/loader.py", line 337, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests/test_xmltompd.py", line 6, in <module>
>     from mpegdash.parser import MPEGDASHParser
>   File "/<<PKGBUILDDIR>>/mpegdash/parser.py", line 9, in <module>
>     from mpegdash.nodes import MPEGDASH
>   File "/<<PKGBUILDDIR>>/mpegdash/nodes.py", line 1, in <module>
>     from mpegdash.utils import (
>   File "/<<PKGBUILDDIR>>/mpegdash/utils.py", line 1, in <module>
>     from past.builtins import unicode   # python3 compat
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/past/builtins/__init__.py", line 54, 
> in <module>
>     from past.builtins.misc import (apply, chr, cmp, execfile, intern, oct,
>   File "/usr/lib/python3/dist-packages/past/builtins/misc.py", line 45, in 
> <module>
>     from imp import reload
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ----------------------------------------------------------------------
> Ran 2 tests in 0.000s
> 
> FAILED (errors=2)
> Test failed: <unittest.runner.TextTestResult run=2 errors=2 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=2 errors=2 failures=0>
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: 
> python3.12 setup.py test 
> I: pybuild base:310: python3.11 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> writing mpegdash.egg-info/PKG-INFO
> writing dependency_links to mpegdash.egg-info/dependency_links.txt
> writing requirements to mpegdash.egg-info/requires.txt
> writing top-level names to mpegdash.egg-info/top_level.txt
> reading manifest file 'mpegdash.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'mpegdash.egg-info/SOURCES.txt'
> running build_ext
> test_mpd2xml (test_mpdtoxml.MPD2XMLTestCase.test_mpd2xml) ... ok
> test_mpd2xml_boolean_casing 
> (test_mpdtoxml.MPD2XMLTestCase.test_mpd2xml_boolean_casing) ... ok
> test_mpd2xmlstr (test_mpdtoxml.MPD2XMLTestCase.test_mpd2xmlstr) ... ok
> test_xml2mpd_from_file (test_xmltompd.XML2MPDTestCase.test_xml2mpd_from_file) 
> ... ok
> test_xml2mpd_from_file_with_content_protection 
> (test_xmltompd.XML2MPDTestCase.test_xml2mpd_from_file_with_content_protection)
>  ... ok
> test_xml2mpd_from_file_with_event_messagedata 
> (test_xmltompd.XML2MPDTestCase.test_xml2mpd_from_file_with_event_messagedata) 
> ... ok
> test_xml2mpd_from_file_with_utc_timing 
> (test_xmltompd.XML2MPDTestCase.test_xml2mpd_from_file_with_utc_timing) ... ok
> test_xml2mpd_from_string 
> (test_xmltompd.XML2MPDTestCase.test_xml2mpd_from_string) ... ok
> test_xml2mpd_from_url (test_xmltompd.XML2MPDTestCase.test_xml2mpd_from_url) 
> ... skipped 'Prevent internet access'
> test_xml2mpd_parse_vector_type_attributes 
> (test_xmltompd.XML2MPDTestCase.test_xml2mpd_parse_vector_type_attributes) ... 
> ok
> 
> ----------------------------------------------------------------------
> Ran 10 tests in 0.022s
> 
> OK (skipped=1)
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-mpegdash_0.3.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to