Bug#1074665: lightproof: FTBFS: AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
Source: lightproof
Version: 1.6-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20240702 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>>'
> for cfg in `find src -name "*.cfg"`; do \
> python3 make.py $cfg; \
> done
> /<<PKGBUILDDIR>>/pythonpath/lightproof_compile___implname__.py:14: SyntaxWarning: invalid escape sequence '\('
> s = re.sub("(affix|spell|morph|stem|option|suggest|generate)\(", r'\1(LOCALE,', s)
> /<<PKGBUILDDIR>>/pythonpath/lightproof_compile___implname__.py:41: SyntaxWarning: invalid escape sequence '\s'
> c = re.search("\s#\s", s)
> /<<PKGBUILDDIR>>/pythonpath/lightproof_compile___implname__.py:53: SyntaxWarning: invalid escape sequence '\d'
> m2 = re.search("-\d*>", s)
> /<<PKGBUILDDIR>>/pythonpath/lightproof_compile___implname__.py:65: SyntaxWarning: invalid escape sequence '\d'
> m = re.compile("-\d*>").search(s)
> /<<PKGBUILDDIR>>/pythonpath/lightproof_compile___implname__.py:87: SyntaxWarning: invalid escape sequence '\d'
> m = re.compile("-(\d*)>").match(s2)
> /<<PKGBUILDDIR>>/pythonpath/lightproof_compile___implname__.py:126: SyntaxWarning: invalid escape sequence '\w'
> lu = re.compile("(?u)\w")
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/make.py", line 39, in <module>
> fArgs = cp.SafeConfigParser()
> ^^^^^^^^^^^^^^^^^^^
> AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/make.py", line 39, in <module>
> fArgs = cp.SafeConfigParser()
> ^^^^^^^^^^^^^^^^^^^
> AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/make.py", line 39, in <module>
> fArgs = cp.SafeConfigParser()
> ^^^^^^^^^^^^^^^^^^^
> AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/make.py", line 39, in <module>
> fArgs = cp.SafeConfigParser()
> ^^^^^^^^^^^^^^^^^^^
> AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
> make[1]: *** [debian/rules:33: override_dh_auto_build] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/07/02/lightproof_1.6-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&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: