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

Bug#1020041: zope.testrunner: FTBFS: AttributeError: 're.Pattern' object has no attribute 'replace'



Source: zope.testrunner
Version: 5.2-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

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_python3 --shebang=/usr/bin/python3 -X tests
> I: dh_python3 tools:114: replacing shebang in debian/python3-zope.testrunner/usr/bin/zope-testrunner3
> I: dh_python3 tools:114: replacing shebang in debian/python3-zope.testrunner/usr/bin/zope-testrunner
> Traceback (most recent call last):
>   File "/usr/bin/dh_python3", line 284, in <module>
>     main()
>   File "/usr/bin/dh_python3", line 214, in main
>     dependencies.parse(stats, options)
>   File "/usr/share/dh-python/dhpython/depends.py", line 228, in parse
>     args += " -X '%s'" % pattern.replace("'", r"'\''")
> AttributeError: 're.Pattern' object has no attribute 'replace'
> make[1]: *** [debian/rules:20: override_dh_python3] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/zope.testrunner_5.2-3_unstable.log

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