[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1058237: python-boto: FTBFS: ModuleNotFoundError: No module named 'imp'



Source: python-boto
Version: 2.49.0-4.1
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):
>  fakeroot debian/rules binary
> py3versions: no X-Python3-Version in control file, using supported versions
> dh_testdir
> dh_installdirs
> set -e ; for pyvers in 3.12 3.11; do \
> 	python$pyvers setup.py install --root /<<PKGBUILDDIR>>/debian/python3-boto \
> 		--install-scripts usr/share/doc/python3-boto/examples/ \
>         	--install-layout=deb ; \
> done
> /<<PKGBUILDDIR>>/boto/__init__.py:1105: SyntaxWarning: invalid escape sequence '\c'
>   """
> /<<PKGBUILDDIR>>/boto/pyami/config.py:98: SyntaxWarning: invalid escape sequence '\s'
>   match = re.match("^#import[\s\t]*([^\s^\t]*)[\s\t]*$", line)
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 37, in <module>
>     from boto import __version__
>   File "/<<PKGBUILDDIR>>/boto/__init__.py", line 29, in <module>
>     import boto.plugin
>   File "/<<PKGBUILDDIR>>/boto/plugin.py", line 40, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> make: *** [debian/rules:28: install] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-boto_2.49.0-4.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=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.


Reply to: