Hi Helmut,

* Helmut Grohne <hel...@subdivi.de> [2023-10-25 11:47]:
Source: cyrus-sasl2
Version: 2.1.28+dfsg1-3
Severity: serious
Tags: ftbfs
User: helm...@debian.org
Usertags: rebootstrap

cyrus-sasl2 fails to build from source in unstable. A non-parallel build
ends as follows:

| /usr/bin/sphinx-build -d docsrc/.doctrees -n -q -D today=2023-08-03 -b html 
./docsrc ./doc/html
| WARNING: extlinks: Sphinx-6.0 will require a caption string to contain 
exactly one '%s' and all other '%' need to be escaped as '%%'.
| WARNING: extlinks: Sphinx-6.0 will require a caption string to contain 
exactly one '%s' and all other '%' need to be escaped as '%%'.
|
| Theme error:
| An error happened in rendering the page developer.
| Reason: AttributeError("'str' object has no attribute 'attributes'")
| make[2]: *** [Makefile:1165: doc/html/.sphinx-build.stamp] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-mit'
| dh_auto_build: error: cd build-mit && make -j1 
sasldir=/usr/lib/x86_64-linux-gnu/sasl2 all doc-html returned exit code 2
| make[1]: *** [debian/rules:166: override_dh_auto_build] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:127: build] Error 2
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

I don't quit see the cause of this failure just yet, maybe someone else
does?

This is due to this line:

https://sources.debian.org/src/cyrus-sasl2/2.1.28%2Bdfsg1-3/docsrc/_templates/layout.html/#L2

and a simple workaround is to remove it.

I think a proper fix is to add
html_css_files = ['cyrus.css']

to docsrc/conf.py instead, as per

https://docs.readthedocs.io/en/stable/guides/adding-custom-css.html

But I have not verified that it gives the same result.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to