Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #352331

Bug#1058406: python-lzstring: FTBFS: ModuleNotFoundError: No module named 'imp'

From Lucas Nussbaum <lucas@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1058406: python-lzstring: FTBFS: ModuleNotFoundError: No module named 'imp'
Date 2023-12-12 11:10 +0100
Message-ID <HK7Sb-d2tt-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: python-lzstring
Version: 1.0.4-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@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_lzstring/build/lzstring
> copying lzstring/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lzstring/build/lzstring
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lzstring/build/lzstring
> copying lzstring/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lzstring/build/lzstring
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lzstring/build; python3.12 -m unittest discover -v 
> lzstring (unittest.loader._FailedTest.lzstring) ... ERROR
> 
> ======================================================================
> ERROR: lzstring (unittest.loader._FailedTest.lzstring)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: lzstring
> 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_lzstring/build/lzstring/__init__.py", line 11, in <module>
>     from future import standard_library
>   File "/usr/lib/python3/dist-packages/future/standard_library/__init__.py", line 65, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ----------------------------------------------------------------------
> 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_lzstring/build; python3.12 -m unittest discover -v 
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lzstring/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/python-lzstring_1.0.4-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.

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1058406: python-lzstring: FTBFS: ModuleNotFoundError: No module named 'imp' Lucas Nussbaum <lucas@debian.org> - 2023-12-12 11:10 +0100
  Bug#1058406: marked as done (python-lzstring: FTBFS:  ModuleNotFoundError: No module named 'imp') "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-01-02 01:30 +0100
  Bug#1058406: marked as done (python-lzstring: FTBFS:  ModuleNotFoundError: No module named 'imp') "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-01-02 01:30 +0100

csiph-web