Bug#1058165: itango: FTBFS: ModuleNotFoundError: No module named 'tango._tango'

Lucas Nussbaum lucas at debian.org
Tue Dec 12 08:01:36 GMT 2023


Source: itango
Version: 0.1.7-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at 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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango
> copying itango/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango
> copying itango/eventlogger.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango
> copying itango/itango.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango
> copying itango/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango
> copying itango/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango
> copying itango/install.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango/resource
> copying itango/resource/starter.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango/resource
> copying itango/resource/motor.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango/resource
> copying itango/resource/database.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango/resource
> copying itango/resource/serial.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango/resource
> copying itango/resource/device.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango/resource
> copying itango/resource/ITangoConsole.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango/resource
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango
> copying itango/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango
> copying itango/eventlogger.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango
> copying itango/itango.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango
> copying itango/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango
> copying itango/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango
> copying itango/install.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango/resource
> copying itango/resource/starter.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango/resource
> copying itango/resource/motor.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango/resource
> copying itango/resource/database.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango/resource
> copying itango/resource/serial.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango/resource
> copying itango/resource/device.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango/resource
> copying itango/resource/ITangoConsole.svg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build/itango/resource
> PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman doc/ build/man
> Running Sphinx v7.2.6
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [man]: all manpages
> updating environment: [new config] 1 added, 0 changed, 0 removed
> reading sources... [100%] itango
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> writing... itango.1 { } done
> build succeeded.
> 
> The manual pages are in build/man.
> cp build/man/itango.1 build/man/itango3.1
> PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/sphinx/html
> Running Sphinx v7.2.6
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [html]: targets for 1 source files that are out of date
> updating environment: [new config] 1 added, 0 changed, 0 removed
> reading sources... [100%] itango
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> copying assets... copying static files... done
> copying extra files... done
> done
> writing output... [100%] itango
> 
> generating indices... genindex done
> writing additional pages... search done
> copying images... [ 33%] _images/itango00.png
> copying images... [ 67%] _images/itango06.png
> copying images... [100%] _images/itango02.png
> 
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded.
> 
> The HTML pages are in build/sphinx/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build; python3.12 -m unittest discover -v 
> itango (unittest.loader._FailedTest.itango) ... ERROR
> 
> ======================================================================
> ERROR: itango (unittest.loader._FailedTest.itango)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: itango
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 427, in _find_test_path
>     package = 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>>/.pybuild/cpython3_3.12_itango/build/itango/__init__.py", line 21, in <module>
>     from .install import install
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build/itango/install.py", line 31, in <module>
>     import tango
>   File "/usr/lib/python3/dist-packages/tango/__init__.py", line 255, in <module>
>     from ._tango import (
> ModuleNotFoundError: No module named 'tango._tango'
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_itango/build; python3.12 -m unittest discover -v 
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_itango/build; python3.11 -m unittest discover -v 
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> 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/itango_0.1.7-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@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.



More information about the debian-science-maintainers mailing list