Source: git-buildpackage
Version: 0.9.25
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p build
> pydoctor -v --config=.pydoctor.cfg
> adding directory /<<PKGBUILDDIR>>/gbp
> adding directory /<<PKGBUILDDIR>>/tests/doctests
> processing ['gbp.pkg.compressor']
> processing ['gbp.patch_series']
> processing ['gbp.patch_series', 'gbp.errors']
> processing ['gbp.patch_series', 'gbp.git.repository']
> processing ['gbp.patch_series', 'gbp.git.repository', 'gbp.format']
> processing ['gbp.patch_series', 'gbp.git.repository', 'gbp.git.modifier']
> processing ['gbp.patch_series', 'gbp.git.repository', 'gbp.git.modifier', 
> 'gbp.git.errors']
> processing ['gbp.patch_series', 'gbp.git.repository', 'gbp.git.commit']
> processing ['gbp.patch_series', 'gbp.git.repository', 'gbp.git.args']
> processing ['gbp.patch_series', 'gbp.git.repository', 'gbp.paths']
> processing ['gbp.pkg.archive']
> processing ['gbp.scripts']
> processing ['gbp.pkg.git']
> processing ['gbp.pkg.git', 'gbp.command_wrappers']
> processing ['gbp.pkg.git', 'gbp.git']
> processing ['gbp.pkg.git', 'gbp.git', 'gbp.git.fastimport']
> processing ['gbp.pkg.git', 'gbp.git', 'gbp.git.vfs']
> processing ['gbp.pkg.git', 'gbp.deb.pristinetar']
> processing ['gbp.pkg.git', 'gbp.deb.pristinetar', 'gbp.pkg.pristinetar']
> processing ['gbp.pkg.git', 'gbp.deb.pristinetar', 'gbp.deb']
> processing ['gbp.pkg.git', 'gbp.deb.pristinetar', 'gbp.deb', 
> 'gbp.deb.changelog']
> processing ['gbp.pkg.git', 'gbp.deb.pristinetar', 'gbp.deb', 'gbp.deb.policy']
> processing ['gbp.pkg.git', 'gbp.deb.pristinetar', 'gbp.deb', 
> 'gbp.deb.policy', 'gbp.pkg.pkgpolicy']
> processing ['gbp.pkg.upstreamsource']
> processing ['gbp.rpm.git']
> processing ['gbp.rpm.git', 'gbp.rpm']
> processing ['gbp.rpm.git', 'gbp.rpm', 'gbp.pkg']
> processing ['gbp.rpm.git', 'gbp.rpm', 'gbp.rpm.policy']
> processing ['gbp.rpm.git', 'gbp.rpm', 'gbp.rpm.policy', 
> 'gbp.scripts.common.pq']
> processing ['gbp.rpm.git', 'gbp.rpm', 'gbp.rpm.linkedlist']
> processing ['gbp.rpm.git', 'gbp.rpm', 'gbp.rpm.lib_rpm']
> processing ['gbp.rpm.changelog']
> processing ['gbp.tristate']
> processing ['gbp.scripts.import_orig']
> processing ['gbp.scripts.import_orig', 'gbp.deb.format']
> processing ['gbp.scripts.import_orig', 'gbp.deb.upstreamsource']
> processing ['gbp.scripts.import_orig', 'gbp.deb.uscan']
> processing ['gbp.scripts.import_orig', 'gbp.deb.git']
> processing ['gbp.scripts.import_orig', 'gbp.config']
> processing ['gbp.scripts.import_orig', 'gbp.config', 'gbp.version']
> processing ['gbp.scripts.import_orig', 'gbp.scripts.common']
> processing ['gbp.scripts.import_orig', 'gbp.scripts.common.import_orig']
> gbp.scripts.common.import_orig.download_orig processing import statement in 
> odd context ZopeInterfaceFunction 
> 'gbp.scripts.common.import_orig.download_orig'
> processing ['gbp.scripts.import_orig', 'gbp.scripts.common.hook']
> processing ['gbp.scripts.import_orig', 'gbp.deb.rollbackgit']
> processing ['gbp.scripts.import_orig', 'gbp.deb.rollbackgit', 'gbp']
> processing ['gbp.scripts.import_orig', 'gbp.deb.rollbackgit', 'gbp.log']
> processing ['gbp.scripts.import_dscs']
> processing ['gbp.scripts.import_dscs', 'gbp.deb.dscfile']
> processing ['gbp.scripts.import_dscs', 'gbp.scripts.import_dsc']
> processing ['gbp.scripts.import_dscs', 'gbp.scripts.import_dsc', 
> 'gbp.scripts.common.repo_setup']
> processing ['gbp.scripts.export_orig']
> processing ['gbp.scripts.export_orig', 'gbp.deb.source']
> processing ['gbp.scripts.export_orig', 'gbp.deb.source', 'gbp.deb.control']
> processing ['gbp.scripts.buildpackage_rpm']
> processing ['gbp.scripts.buildpackage_rpm', 'gbp.tmpfile']
> processing ['gbp.scripts.buildpackage_rpm', 'gbp.scripts.common.buildpackage']
> processing ['gbp.scripts.buildpackage_rpm', 'gbp.scripts.pq_rpm']
> processing ['gbp.scripts.dch']
> processing ['gbp.scripts.buildpackage']
> processing ['gbp.scripts.buildpackage', 'gbp.scripts.tag']
> processing ['gbp.scripts.import_ref']
> processing ['gbp.scripts.clone']
> processing ['gbp.scripts.create_remote_repo']
> processing ['doctests.test_GitRepository']
> /<<PKGBUILDDIR>>/tests/doctests/test_GitRepository.py:14: relative import 
> level (2) too high
> processing ['gbp.scripts.supercommand']
> gbp.scripts.supercommand.version processing import statement in odd context 
> ZopeInterfaceFunction 'gbp.scripts.supercommand.version'
> processing ['gbp.scripts.setup_gitattributes']
> processing ['doctests']
> processing ['gbp.scripts.config']
> processing ['gbp.dch']
> processing ['gbp.scripts.rpm_ch']
> processing ['gbp.scripts.pull']
> processing ['gbp.scripts.push']
> processing ['doctests.test_PristineTar']
> /<<PKGBUILDDIR>>/tests/doctests/test_PristineTar.py:18: relative import level 
> (2) too high
> processing ['gbp.notifications']
> gbp.notifications.enable_notifications processing import statement in odd 
> context ZopeInterfaceFunction 'gbp.notifications.enable_notifications'
> processing ['gbp.scripts.pq']
> processing ['doctests.test_GitModifier']
> /<<PKGBUILDDIR>>/tests/doctests/test_GitModifier.py:7: relative import level 
> (2) too high
> processing ['doctests.test_GitVfs']
> /<<PKGBUILDDIR>>/tests/doctests/test_GitVfs.py:10: relative import level (2) 
> too high
> processing ['gbp.scripts.import_srpm']
> processing ['doctests.test_create_remote_repo']
> processing ['doctests.test_Changelog']
> /<<PKGBUILDDIR>>/tests/doctests/test_Changelog.py:6: relative import level 
> (2) too high
> /<<PKGBUILDDIR>>/tests/doctests/test_Changelog.py:7: relative import level 
> (2) too high
> processing ['doctests.test_Config']
> /<<PKGBUILDDIR>>/tests/doctests/test_Config.py:8: relative import level (2) 
> too high
> processing ['doctests.test_Control']
> /<<PKGBUILDDIR>>/tests/doctests/test_Control.py:7: relative import level (2) 
> too high
> processing ['gbp.scripts.pristine_tar']
> writing html to build/apidocs using 
> pydoctor.templatewriter.writer.TemplateWriter
> starting ModuleIndexPage ...took 0.062927s
> starting ClassIndexPage ...took 0.051203s
> starting IndexPage ...took 0.000861s
> starting NameIndexPage ...took 0.053836s
> starting UndocumentedSummaryPage ...took 0.017654s
> Package 'gbp'
> ZopeInterfaceModule 'gbp.command_wrappers'
> ZopeInterfaceClass 'gbp.command_wrappers.CommandExecFailed'
> ZopeInterfaceClass 'gbp.command_wrappers.Command'
> ZopeInterfaceClass 'gbp.command_wrappers.RunAtCommand'
> ZopeInterfaceClass 'gbp.command_wrappers.UnpackTarArchive'
> ZopeInterfaceClass 'gbp.command_wrappers.PackTarArchive'
> ZopeInterfaceClass 'gbp.command_wrappers.CatenateTarArchive'
> ZopeInterfaceClass 'gbp.command_wrappers.RemoveTree'
> ZopeInterfaceClass 'gbp.command_wrappers.DpkgSourceExtract'
> ZopeInterfaceClass 'gbp.command_wrappers.UnpackZipArchive'
> ZopeInterfaceClass 'gbp.command_wrappers.CatenateZipArchive'
> ZopeInterfaceClass 'gbp.command_wrappers.GitCommand'
> ZopeInterfaceModule 'gbp.config'
> ZopeInterfaceClass 'gbp.config.GbpOption'
> ZopeInterfaceClass 'gbp.config.GbpOptionParser'
> ZopeInterfaceClass 'gbp.config.GbpOptionGroup'
> ZopeInterfaceClass 'gbp.config.GbpOptionParserDebian'
> ZopeInterfaceClass 'gbp.config.GbpOptionParserRpm'
> ZopeInterfaceModule 'gbp.dch'
> Package 'gbp.deb'
> ZopeInterfaceModule 'gbp.deb.changelog'
> ZopeInterfaceClass 'gbp.deb.changelog.NoChangeLogError'
> ZopeInterfaceClass 'gbp.deb.changelog.ParseChangeLogError'
> ZopeInterfaceClass 'gbp.deb.changelog.ChangeLogSection'
> ZopeInterfaceClass 'gbp.deb.changelog.ChangeLog'
> /<<PKGBUILDDIR>>/gbp/deb/changelog.py:73: Parameter "filename" was already 
> documented
> /<<PKGBUILDDIR>>/gbp/deb/changelog.py:330: Parameter "version" was already 
> documented
> ZopeInterfaceModule 'gbp.deb.control'
> ZopeInterfaceClass 'gbp.deb.control.NoControlError'
> ZopeInterfaceClass 'gbp.deb.control.ParseControlError'
> ZopeInterfaceClass 'gbp.deb.control.Control'
> ZopeInterfaceModule 'gbp.deb.dscfile'
> ZopeInterfaceClass 'gbp.deb.dscfile.DscFile'
> ZopeInterfaceModule 'gbp.deb.format'
> ZopeInterfaceClass 'gbp.deb.format.DebianSourceFormatError'
> ZopeInterfaceClass 'gbp.deb.format.DebianSourceFormat'
> ZopeInterfaceModule 'gbp.deb.git'
> ZopeInterfaceClass 'gbp.deb.git.DebianGitRepository'
> /<<PKGBUILDDIR>>/gbp/deb/git.py:291: Documented parameter "soures" does not 
> exist
> /<<PKGBUILDDIR>>/gbp/deb/git.py:350: Documented parameter "type" does not 
> exist
> ZopeInterfaceModule 'gbp.deb.policy'
> ZopeInterfaceClass 'gbp.deb.policy.DebianPkgPolicy'
> ZopeInterfaceModule 'gbp.deb.pristinetar'
> ZopeInterfaceClass 'gbp.deb.pristinetar.DebianPristineTar'
> ZopeInterfaceModule 'gbp.deb.rollbackgit'
> ZopeInterfaceClass 'gbp.deb.rollbackgit.RollbackError'
> ZopeInterfaceClass 'gbp.deb.rollbackgit.RollbackDebianGitRepository'
> ZopeInterfaceModule 'gbp.deb.source'
> ZopeInterfaceClass 'gbp.deb.source.FileVfs'
> ZopeInterfaceClass 'gbp.deb.source.DebianSourceError'
> ZopeInterfaceClass 'gbp.deb.source.DebianSource'
> /<<PKGBUILDDIR>>/gbp/deb/source.py:107: Cannot find link target for 
> "gbp.deb.Control"
> /<<PKGBUILDDIR>>/gbp/deb/source.py:107: Cannot find link target for 
> "gbp.deb.Control"
> ZopeInterfaceModule 'gbp.deb.upstreamsource'
> ZopeInterfaceClass 'gbp.deb.upstreamsource.DebianUpstreamSource'
> ZopeInterfaceClass 'gbp.deb.upstreamsource.DebianAdditionalTarball'
> /<<PKGBUILDDIR>>/gbp/deb/upstreamsource.py:51: Documented parameter "dir" 
> does not exist
> ZopeInterfaceModule 'gbp.deb.uscan'
> ZopeInterfaceClass 'gbp.deb.uscan.UscanError'
> ZopeInterfaceClass 'gbp.deb.uscan.Uscan'
> ZopeInterfaceClass 'gbp.deb.DpkgCompareVersions'
> ZopeInterfaceModule 'gbp.errors'
> ZopeInterfaceClass 'gbp.errors.GbpError'
> ZopeInterfaceModule 'gbp.format'
> Package 'gbp.git'
> ZopeInterfaceModule 'gbp.git.args'
> ZopeInterfaceClass 'gbp.git.args.GitArgs'
> ZopeInterfaceModule 'gbp.git.commit'
> ZopeInterfaceClass 'gbp.git.commit.GitCommit'
> ZopeInterfaceModule 'gbp.git.errors'
> ZopeInterfaceClass 'gbp.git.errors.GitError'
> ZopeInterfaceModule 'gbp.git.fastimport'
> ZopeInterfaceClass 'gbp.git.fastimport.FastImport'
> /<<PKGBUILDDIR>>/gbp/git/fastimport.py:85: Parameter "linkname" was already 
> documented
> ZopeInterfaceModule 'gbp.git.modifier'
> ZopeInterfaceClass 'gbp.git.modifier.GitModifierError'
> ZopeInterfaceClass 'gbp.git.modifier.GitTz'
> ZopeInterfaceClass 'gbp.git.modifier.GitModifier'
> ZopeInterfaceModule 'gbp.git.repository'
> ZopeInterfaceClass 'gbp.git.repository.GitRepositoryError'
> ZopeInterfaceClass 'gbp.git.repository.GitRemote'
> ZopeInterfaceClass 'gbp.git.repository.GitRepository'
> /<<PKGBUILDDIR>>/gbp/git/repository.py:357: Parameter "remote" was already 
> documented
> /<<PKGBUILDDIR>>/gbp/git/repository.py:1209: Unknown field 'deprecated'
> /<<PKGBUILDDIR>>/gbp/git/repository.py:1688: Unknown field 'deprecated'
> /<<PKGBUILDDIR>>/gbp/git/repository.py:1386: Parameter "paths" was already 
> documented
> /<<PKGBUILDDIR>>/gbp/git/repository.py:157: Unknown field 'deprecated'
> ZopeInterfaceModule 'gbp.git.vfs'
> ZopeInterfaceClass 'gbp.git.vfs.GitVfs'
> ZopeInterfaceClass 'gbp.git.vfs.GitVfs._File'
> /<<PKGBUILDDIR>>/gbp/git/vfs.py:29: Unknown field 'todo'
> ZopeInterfaceModule 'gbp.log'
> ZopeInterfaceClass 'gbp.log.GbpFilter'
> ZopeInterfaceClass 'gbp.log.GbpStreamHandler'
> ZopeInterfaceClass 'gbp.log.GbpLogger'
> ZopeInterfaceModule 'gbp.notifications'
> ZopeInterfaceModule 'gbp.patch_series'
> ZopeInterfaceClass 'gbp.patch_series.Patch'
> ZopeInterfaceClass 'gbp.patch_series.Dep3Patch'
> ZopeInterfaceClass 'gbp.patch_series.PatchSeries'
> ZopeInterfaceModule 'gbp.paths'
> Package 'gbp.pkg'
> ZopeInterfaceModule 'gbp.pkg.archive'
> ZopeInterfaceClass 'gbp.pkg.archive.Archive'
> ZopeInterfaceModule 'gbp.pkg.compressor'
> ZopeInterfaceClass 'gbp.pkg.compressor.Compressor'
> ZopeInterfaceModule 'gbp.pkg.git'
> ZopeInterfaceClass 'gbp.pkg.git.PkgGitRepository'
> ZopeInterfaceModule 'gbp.pkg.pkgpolicy'
> ZopeInterfaceClass 'gbp.pkg.pkgpolicy.PkgPolicy'
> ZopeInterfaceModule 'gbp.pkg.pristinetar'
> ZopeInterfaceClass 'gbp.pkg.pristinetar.PristineTar'
> /<<PKGBUILDDIR>>/gbp/pkg/pristinetar.py:39: Documented parameter "feature" 
> does not exist
> ZopeInterfaceModule 'gbp.pkg.upstreamsource'
> ZopeInterfaceClass 'gbp.pkg.upstreamsource.UpstreamSource'
> Package 'gbp.rpm'
> ZopeInterfaceModule 'gbp.rpm.changelog'
> ZopeInterfaceClass 'gbp.rpm.changelog.ChangelogError'
> ZopeInterfaceClass 'gbp.rpm.changelog._ChangelogHeader'
> ZopeInterfaceClass 'gbp.rpm.changelog._ChangelogEntry'
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/xml/sax/expatreader.py", line 217, in feed
>     self._parser.Parse(data, isFinal)
> xml.parsers.expat.ExpatError: undefined entity: line 1, column 46
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/twisted/web/_flatten.py", line 321, in 
> _flattenTree
>     element = next(stack[-1])
>   File "/usr/lib/python3/dist-packages/twisted/web/_flatten.py", line 237, in 
> _flattenElement
>     result = renderMethod(request, rootClone)
>   File 
> "/usr/lib/python3/dist-packages/pydoctor/templatewriter/pages/functionchild.py",
>  line 73, in functionBody
>     return self.docgetter.get(self.ob)
>   File 
> "/usr/lib/python3/dist-packages/pydoctor/templatewriter/pages/__init__.py", 
> line 71, in get
>     return epydoc2stan.format_docstring(ob)
>   File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 744, in 
> format_docstring
>     fh.handle(Field.from_epydoc(field, source))
>   File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 600, in 
> handle
>     m(field)
>   File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 529, in 
> handle_type
>     self.types[name] = field.format()
>   File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 353, in 
> format
>     return self.body.to_stan(_EpydocLinker(self.source))
>   File "/usr/lib/python3/dist-packages/pydoctor/epydoc/markup/__init__.py", 
> line 134, in to_stan
>     self._stan = Tag('', children=node2stan.node2stan(self.to_node(), 
> docstring_linker).children)
>   File "/usr/lib/python3/dist-packages/pydoctor/node2stan.py", line 42, in 
> node2stan
>     return html2stan(''.join(html))
>   File "/usr/lib/python3/dist-packages/pydoctor/stanutils.py", line 30, in 
> html2stan
>     stan = XMLString(b'<div>%s</div>' % html).load()[0]
>   File "/usr/lib/python3/dist-packages/twisted/web/template.py", line 402, in 
> __init__
>     self._loadedTemplate = _flatsaxParse(NativeStringIO(s))
>   File "/usr/lib/python3/dist-packages/twisted/web/template.py", line 356, in 
> _flatsaxParse
>     parser.parse(fl)
>   File "/usr/lib/python3.9/xml/sax/expatreader.py", line 111, in parse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "/usr/lib/python3.9/xml/sax/xmlreader.py", line 125, in parse
>     self.feed(buffer)
>   File "/usr/lib/python3.9/xml/sax/expatreader.py", line 221, in feed
>     self._err_handler.fatalError(exc)
>   File "/usr/lib/python3.9/xml/sax/handler.py", line 38, in fatalError
>     raise exception
> xml.sax._exceptions.SAXParseException: <unknown>:1:46: undefined entity
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/usr/bin/pydoctor", line 33, in <module>
>     sys.exit(load_entry_point('pydoctor==21.12.1', 'console_scripts', 
> 'pydoctor')())
>   File "/usr/lib/python3/dist-packages/pydoctor/driver.py", line 482, in main
>     writer.writeIndividualFiles(subjects)
>   File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", 
> line 81, in writeIndividualFiles
>     self._writeDocsFor(ob)
>   File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", 
> line 103, in _writeDocsFor
>     self._writeDocsFor(o)
>   File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", 
> line 103, in _writeDocsFor
>     self._writeDocsFor(o)
>   File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", 
> line 103, in _writeDocsFor
>     self._writeDocsFor(o)
>   File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", 
> line 101, in _writeDocsFor
>     self._writeDocsForOne(ob, fobj)
>   File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", 
> line 123, in _writeDocsForOne
>     flattenToFile(fobj, page)
>   File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", 
> line 31, in flattenToFile
>     raise err
> twisted.web.error.FlattenerError: Exception while flattening:
>   <pydoctor.templatewriter.pages.ZopeInterfaceClassPage object at 
> 0x7ff936328160>
>   Tag <>
>   [[Tag('html', children=['\n', '  ', '\n', '\n', '  ', Tag('', 
> children=['Head']), '\n', '\n', '  ', Tag('body', children=['\n', '\n', '    
> ', Tag('div'), '\n', '\n', '    ', Tag('', children=['Nav']), '\n', '\n', '   
>  ', Tag('div', attributes=OrderedDict([('class', 'container')])), '\n', '\n', 
> '    ', Tag('div', attributes=OrderedDict([('class', 'container')]), 
> children=['\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 
> 'page-header')]), children=['\n', '        ', slot('heading'), '\n', '        
> ', Tag('div', attributes=OrderedDict([('id', 'showPrivate')]), 
> children=['\n', '          ', Tag('button', attributes=OrderedDict([('class', 
> 'btn btn-link'), ('onclick', 'togglePrivate()')]), children=['Toggle Private 
> API']), '\n', '        ']), '\n', '      ']), '\n', '\n', '      ', 
> Tag('div', attributes=OrderedDict([('class', 'categoryHeader')]), 
> children=['\n', '        ', slot('category'), '\n', '      ']), '\n', '\n', ' 
>      ', Tag('div', attributes=OrderedDict([('class', 'extrasDocstring')]), 
> children=['\n', '        ', slot('extras'), '\n', '        ', Tag('p', 
> children=[Tag('a', children=['View In Hierarchy'])]), '\n', '      ']), '\n', 
> '\n', '      ', Tag('div', attributes=OrderedDict([('class', 
> 'moduleDocstring')]), children=['\n', '        ', slot('docstring'), '\n', '  
>     ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 
> 'splitTables')]), children=['\n', '        ', slot('mainTable'), '\n', '      
>   ', Tag('', children=['\n', '          ', Tag('p', 
> attributes=OrderedDict([('class', 'inheritedFrom')]), children=['\n', '       
>      Inherited from ', slot('baseName'), ':', '\n', '          ']), '\n', '   
>        ', slot('baseTable'), '\n', '          ']), '\n', '\n', '          ', 
> slot('packageInitTable'), '\n', '      ']), '\n', '\n', '      ', Tag('div', 
> attributes=OrderedDict([('id', 'childList')]), children=['\n', '\n', '        
> ', slot('childlist'), '\n', '\n', '      ']), '\n', '    ']), '\n', '\n', '   
>  ', Tag('footer'), '\n', '\n', '    ', Tag('script', 
> attributes=OrderedDict([('src', 'pydoctor.js'), ('type', 
> 'text/javascript')])), '\n', '\n', '  ']), '\n'])]]
>   [Tag('html', children=['\n', '  ', '\n', '\n', '  ', Tag('', 
> children=['Head']), '\n', '\n', '  ', Tag('body', children=['\n', '\n', '    
> ', Tag('div'), '\n', '\n', '    ', Tag('', children=['Nav']), '\n', '\n', '   
>  ', Tag('div', attributes=OrderedDict([('class', 'container')])), '\n', '\n', 
> '    ', Tag('div', attributes=OrderedDict([('class', 'container')]), 
> children=['\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 
> 'page-header')]), children=['\n', '        ', slot('heading'), '\n', '        
> ', Tag('div', attributes=OrderedDict([('id', 'showPrivate')]), 
> children=['\n', '          ', Tag('button', attributes=OrderedDict([('class', 
> 'btn btn-link'), ('onclick', 'togglePrivate()')]), children=['Toggle Private 
> API']), '\n', '        ']), '\n', '      ']), '\n', '\n', '      ', 
> Tag('div', attributes=OrderedDict([('class', 'categoryHeader')]), 
> children=['\n', '        ', slot('category'), '\n', '      ']), '\n', '\n', ' 
>      ', Tag('div', attributes=OrderedDict([('class', 'extrasDocstring')]), 
> children=['\n', '        ', slot('extras'), '\n', '        ', Tag('p', 
> children=[Tag('a', children=['View In Hierarchy'])]), '\n', '      ']), '\n', 
> '\n', '      ', Tag('div', attributes=OrderedDict([('class', 
> 'moduleDocstring')]), children=['\n', '        ', slot('docstring'), '\n', '  
>     ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 
> 'splitTables')]), children=['\n', '        ', slot('mainTable'), '\n', '      
>   ', Tag('', children=['\n', '          ', Tag('p', 
> attributes=OrderedDict([('class', 'inheritedFrom')]), children=['\n', '       
>      Inherited from ', slot('baseName'), ':', '\n', '          ']), '\n', '   
>        ', slot('baseTable'), '\n', '          ']), '\n', '\n', '          ', 
> slot('packageInitTable'), '\n', '      ']), '\n', '\n', '      ', Tag('div', 
> attributes=OrderedDict([('id', 'childList')]), children=['\n', '\n', '        
> ', slot('childlist'), '\n', '\n', '      ']), '\n', '    ']), '\n', '\n', '   
>  ', Tag('footer'), '\n', '\n', '    ', Tag('script', 
> attributes=OrderedDict([('src', 'pydoctor.js'), ('type', 
> 'text/javascript')])), '\n', '\n', '  ']), '\n'])]
>   Tag <html>
>   ['\n', '  ', '\n', '\n', '  ', Tag('', children=['Head']), '\n', '\n', '  
> ', Tag('body', children=['\n', '\n', '    ', Tag('div'), '\n', '\n', '    ', 
> Tag('', children=['Nav']), '\n', '\n', '    ', Tag('div', 
> attributes=OrderedDict([('class', 'container')])), '\n', '\n', '    ', 
> Tag('div', attributes=OrderedDict([('class', 'container')]), children=['\n', 
> '\n', '      ', Tag('div', attributes=OrderedDict([('class', 
> 'page-header')]), children=['\n', '        ', slot('heading'), '\n', '        
> ', Tag('div', attributes=OrderedDict([('id', 'showPrivate')]), 
> children=['\n', '          ', Tag('button', attributes=OrderedDict([('class', 
> 'btn btn-link'), ('onclick', 'togglePrivate()')]), children=['Toggle Private 
> API']), '\n', '        ']), '\n', '      ']), '\n', '\n', '      ', 
> Tag('div', attributes=OrderedDict([('class', 'categoryHeader')]), 
> children=['\n', '        ', slot('category'), '\n', '      ']), '\n', '\n', ' 
>      ', Tag('div', attributes=OrderedDict([('class', 'extrasDocstring')]), 
> children=['\n', '        ', slot('extras'), '\n', '        ', Tag('p', 
> children=[Tag('a', children=['View In Hierarchy'])]), '\n', '      ']), '\n', 
> '\n', '      ', Tag('div', attributes=OrderedDict([('class', 
> 'moduleDocstring')]), children=['\n', '        ', slot('docstring'), '\n', '  
>     ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 
> 'splitTables')]), children=['\n', '        ', slot('mainTable'), '\n', '      
>   ', Tag('', children=['\n', '          ', Tag('p', 
> attributes=OrderedDict([('class', 'inheritedFrom')]), children=['\n', '       
>      Inherited from ', slot('baseName'), ':', '\n', '          ']), '\n', '   
>        ', slot('baseTable'), '\n', '          ']), '\n', '\n', '          ', 
> slot('packageInitTable'), '\n', '      ']), '\n', '\n', '      ', Tag('div', 
> attributes=OrderedDict([('id', 'childList')]), children=['\n', '\n', '        
> ', slot('childlist'), '\n', '\n', '      ']), '\n', '    ']), '\n', '\n', '   
>  ', Tag('footer'), '\n', '\n', '    ', Tag('script', 
> attributes=OrderedDict([('src', 'pydoctor.js'), ('type', 
> 'text/javascript')])), '\n', '\n', '  ']), '\n']
>   Tag <body>
>   ['\n', '\n', '    ', Tag('div'), '\n', '\n', '    ', Tag('', 
> children=['Nav']), '\n', '\n', '    ', Tag('div', 
> attributes=OrderedDict([('class', 'container')])), '\n', '\n', '    ', 
> Tag('div', attributes=OrderedDict([('class', 'container')]), children=['\n', 
> '\n', '      ', Tag('div', attributes=OrderedDict([('class', 
> 'page-header')]), children=['\n', '        ', slot('heading'), '\n', '        
> ', Tag('div', attributes=OrderedDict([('id', 'showPrivate')]), 
> children=['\n', '          ', Tag('button', attributes=OrderedDict([('class', 
> 'btn btn-link'), ('onclick', 'togglePrivate()')]), children=['Toggle Private 
> API']), '\n', '        ']), '\n', '      ']), '\n', '\n', '      ', 
> Tag('div', attributes=OrderedDict([('class', 'categoryHeader')]), 
> children=['\n', '        ', slot('category'), '\n', '      ']), '\n', '\n', ' 
>      ', Tag('div', attributes=OrderedDict([('class', 'extrasDocstring')]), 
> children=['\n', '        ', slot('extras'), '\n', '        ', Tag('p', 
> children=[Tag('a', children=['View In Hierarchy'])]), '\n', '      ']), '\n', 
> '\n', '      ', Tag('div', attributes=OrderedDict([('class', 
> 'moduleDocstring')]), children=['\n', '        ', slot('docstring'), '\n', '  
>     ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 
> 'splitTables')]), children=['\n', '        ', slot('mainTable'), '\n', '      
>   ', Tag('', children=['\n', '          ', Tag('p', 
> attributes=OrderedDict([('class', 'inheritedFrom')]), children=['\n', '       
>      Inherited from ', slot('baseName'), ':', '\n', '          ']), '\n', '   
>        ', slot('baseTable'), '\n', '          ']), '\n', '\n', '          ', 
> slot('packageInitTable'), '\n', '      ']), '\n', '\n', '      ', Tag('div', 
> attributes=OrderedDict([('id', 'childList')]), children=['\n', '\n', '        
> ', slot('childlist'), '\n', '\n', '      ']), '\n', '    ']), '\n', '\n', '   
>  ', Tag('footer'), '\n', '\n', '    ', Tag('script', 
> attributes=OrderedDict([('src', 'pydoctor.js'), ('type', 
> 'text/javascript')])), '\n', '\n', '  ']
>   Tag <div>
>   ['\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 
> 'page-header')]), children=['\n', '        ', slot('heading'), '\n', '        
> ', Tag('div', attributes=OrderedDict([('id', 'showPrivate')]), 
> children=['\n', '          ', Tag('button', attributes=OrderedDict([('class', 
> 'btn btn-link'), ('onclick', 'togglePrivate()')]), children=['Toggle Private 
> API']), '\n', '        ']), '\n', '      ']), '\n', '\n', '      ', 
> Tag('div', attributes=OrderedDict([('class', 'categoryHeader')]), 
> children=['\n', '        ', slot('category'), '\n', '      ']), '\n', '\n', ' 
>      ', Tag('div', attributes=OrderedDict([('class', 'extrasDocstring')]), 
> children=['\n', '        ', slot('extras'), '\n', '        ', Tag('p', 
> children=[Tag('a', children=['View In Hierarchy'])]), '\n', '      ']), '\n', 
> '\n', '      ', Tag('div', attributes=OrderedDict([('class', 
> 'moduleDocstring')]), children=['\n', '        ', slot('docstring'), '\n', '  
>     ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 
> 'splitTables')]), children=['\n', '        ', slot('mainTable'), '\n', '      
>   ', Tag('', children=['\n', '          ', Tag('p', 
> attributes=OrderedDict([('class', 'inheritedFrom')]), children=['\n', '       
>      Inherited from ', slot('baseName'), ':', '\n', '          ']), '\n', '   
>        ', slot('baseTable'), '\n', '          ']), '\n', '\n', '          ', 
> slot('packageInitTable'), '\n', '      ']), '\n', '\n', '      ', Tag('div', 
> attributes=OrderedDict([('id', 'childList')]), children=['\n', '\n', '        
> ', slot('childlist'), '\n', '\n', '      ']), '\n', '    ']
>   Tag <div>
>   ['\n', '\n', '        ', slot('childlist'), '\n', '\n', '      ']
>   slot('childlist')
>   [<pydoctor.templatewriter.pages.functionchild.FunctionChild object at 
> 0x7ff93589c6d0>, <pydoctor.templatewriter.pages.functionchild.FunctionChild 
> object at 0x7ff935994c70>, 
> <pydoctor.templatewriter.pages.attributechild.AttributeChild object at 
> 0x7ff935994fd0>, <pydoctor.templatewriter.pages.attributechild.AttributeChild 
> object at 0x7ff935994cd0>, 
> <pydoctor.templatewriter.pages.attributechild.AttributeChild object at 
> 0x7ff935994a90>]
>   <pydoctor.templatewriter.pages.functionchild.FunctionChild object at 
> 0x7ff93589c6d0>
>   [Tag('div', attributes=OrderedDict([('class', Tag(''))]), children=['\n', ' 
>  ', '\n', '  ', '\n', '  ', Tag('a', attributes=OrderedDict([('name', 
> Tag(''))]), children=['\n', '    ', '\n', '  ']), '\n', '  ', Tag('a', 
> attributes=OrderedDict([('name', Tag(''))]), children=['\n', '    ', '\n', '  
> ']), '\n', '  ', Tag('div', attributes=OrderedDict([('class', 
> 'functionHeader')]), children=['\n', '    ', Tag(''), '\n', '    ', Tag('', 
> children=['\n', '      def functionName():', '\n', '    ']), '\n', '    ', 
> Tag('a', attributes=OrderedDict([('class', 'sourceLink'), ('href', Tag('', 
> children=[slot('sourceHref')]))]), children=['\n', '      ', '\n', '      
> (source)', '\n', '    ']), '\n', '  ']), '\n', '  ', Tag('div', 
> attributes=OrderedDict([('class', 'docstring functionBody')]), 
> children=['\n', '    ', Tag(''), '\n', '    ', Tag(''), '\n', '    ', Tag('', 
> children=['\n', '      Docstring.', '\n', '    ']), '\n', '  ']), '\n'])]
>   Tag <div>
>   ['\n', '  ', '\n', '  ', '\n', '  ', Tag('a', 
> attributes=OrderedDict([('name', Tag(''))]), children=['\n', '    ', '\n', '  
> ']), '\n', '  ', Tag('a', attributes=OrderedDict([('name', Tag(''))]), 
> children=['\n', '    ', '\n', '  ']), '\n', '  ', Tag('div', 
> attributes=OrderedDict([('class', 'functionHeader')]), children=['\n', '    
> ', Tag(''), '\n', '    ', Tag('', children=['\n', '      def 
> functionName():', '\n', '    ']), '\n', '    ', Tag('a', 
> attributes=OrderedDict([('class', 'sourceLink'), ('href', Tag('', 
> children=[slot('sourceHref')]))]), children=['\n', '      ', '\n', '      
> (source)', '\n', '    ']), '\n', '  ']), '\n', '  ', Tag('div', 
> attributes=OrderedDict([('class', 'docstring functionBody')]), 
> children=['\n', '    ', Tag(''), '\n', '    ', Tag(''), '\n', '    ', Tag('', 
> children=['\n', '      Docstring.', '\n', '    ']), '\n', '  ']), '\n']
>   Tag <div>
>   ['\n', '    ', Tag(''), '\n', '    ', Tag(''), '\n', '    ', Tag('', 
> children=['\n', '      Docstring.', '\n', '    ']), '\n', '  ']
>   Tag <>
>   File "/usr/lib/python3/dist-packages/twisted/web/_flatten.py", line 321, in 
> _flattenTree
>     element = next(stack[-1])
>   File "/usr/lib/python3/dist-packages/twisted/web/_flatten.py", line 237, in 
> _flattenElement
>     result = renderMethod(request, rootClone)
>   File 
> "/usr/lib/python3/dist-packages/pydoctor/templatewriter/pages/functionchild.py",
>  line 73, in functionBody
>     return self.docgetter.get(self.ob)
>   File 
> "/usr/lib/python3/dist-packages/pydoctor/templatewriter/pages/__init__.py", 
> line 71, in get
>     return epydoc2stan.format_docstring(ob)
>   File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 744, in 
> format_docstring
>     fh.handle(Field.from_epydoc(field, source))
>   File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 600, in 
> handle
>     m(field)
>   File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 529, in 
> handle_type
>     self.types[name] = field.format()
>   File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 353, in 
> format
>     return self.body.to_stan(_EpydocLinker(self.source))
>   File "/usr/lib/python3/dist-packages/pydoctor/epydoc/markup/__init__.py", 
> line 134, in to_stan
>     self._stan = Tag('', children=node2stan.node2stan(self.to_node(), 
> docstring_linker).children)
>   File "/usr/lib/python3/dist-packages/pydoctor/node2stan.py", line 42, in 
> node2stan
>     return html2stan(''.join(html))
>   File "/usr/lib/python3/dist-packages/pydoctor/stanutils.py", line 30, in 
> html2stan
>     stan = XMLString(b'<div>%s</div>' % html).load()[0]
>   File "/usr/lib/python3/dist-packages/twisted/web/template.py", line 402, in 
> __init__
>     self._loadedTemplate = _flatsaxParse(NativeStringIO(s))
>   File "/usr/lib/python3/dist-packages/twisted/web/template.py", line 356, in 
> _flatsaxParse
>     parser.parse(fl)
>   File "/usr/lib/python3.9/xml/sax/expatreader.py", line 111, in parse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "/usr/lib/python3.9/xml/sax/xmlreader.py", line 125, in parse
>     self.feed(buffer)
>   File "/usr/lib/python3.9/xml/sax/expatreader.py", line 221, in feed
>     self._err_handler.fatalError(exc)
>   File "/usr/lib/python3.9/xml/sax/handler.py", line 38, in fatalError
>     raise exception
> SAXParseException: <unknown>:1:46: undefined entity
> 
> make[3]: *** [Makefile:30: apidocs] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/git-buildpackage_0.9.25_unstable.log

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 via email to