Source: libsass-python Version: 0.22.0-1 Severity: important Tags: ftbfs User: [email protected] Usertags: sphinx7.1
Hi, libsass-python fails to build with Sphinx 7.1 and docutils 0.20, both of which are currently available in experimental. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh debian/rules --with python3 --buildsystem=pybuild > py3versions: no X-Python3-Version in control file, using supported versions > pybuild --build -p "3.11" > I: pybuild base:240: /usr/bin/python3 setup.py build > /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: > _DeprecatedConfig: Deprecated config in `setup.cfg` > !! > > > ******************************************************************************** > The license_file parameter is deprecated, use license_files instead. > > By 2023-Oct-30, you need to update your project and remove deprecated > calls > or your builds will no longer be supported. > > See > https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for > details. > > ******************************************************************************** > > !! > parsed = self.parsers.get(option_name, lambda x: x)(value) > running build > running build_py > copying pysassc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build > copying sass.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build > copying sasstests.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/sassutils > copying sassutils/builder.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/sassutils > copying sassutils/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/sassutils > copying sassutils/distutils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/sassutils > copying sassutils/wsgi.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/sassutils > running build_ext > building '_sass' extension > creating build > creating build/temp.linux-x86_64-cpython-311 > x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g > -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g > -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -DPy_LIMITED_API -I/usr/include/python3.11 -c _sass.c -o > build/temp.linux-x86_64-cpython-311/_sass.o -fPIC -std=gnu++0x -Wall > -Wno-parentheses -Werror=switch > cc1: warning: command-line option ‘-std=gnu++11’ is valid for C++/ObjC++ but > not for C > x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 > -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-311/_sass.o > -L/usr/lib/x86_64-linux-gnu -lsass -o > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/_sass.abi3.so -fPIC -lstdc++ > # build doc once > pybuild -s custom --build -p 3.11 \ > --build-args="env PYTHONPATH={build_dir} python3 -m sphinx -N -bman > docs/ build/man" > I: pybuild base:240: env > PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build python3 -m sphinx -N > -bman docs/ build/man > Running Sphinx v7.1.1 > making output directory... done > WARNING: html_static_path entry '_static' does not exist > loading intersphinx inventory from > /usr/share/doc/python3-doc/html/objects.inv... > loading intersphinx inventory from > /usr/share/doc/python-setuptools-doc/html/objects.inv... > loading intersphinx inventory from > /usr/share/doc/python-flask-doc/html/objects.inv... > building [mo]: targets for 0 po files that are out of date > writing output... > building [man]: all manpages > updating environment: [new config] 9 added, 0 changed, 0 removed > [2Kreading sources... [ 11%] changes > > Exception occurred: > File "/usr/lib/python3/dist-packages/sphinx/ext/extlinks.py", line 103, in > role > title = caption % part > ~~~~~~~~^~~~~~ > TypeError: not all arguments converted during string formatting > The full traceback has been saved in /tmp/sphinx-err-35anc_tm.log, if you > want to report the issue to the developers. > Please also report this if it was a user error, so that a better error > message can be provided next time. > A bug report can be filed in the tracker at > <https://github.com/sphinx-doc/sphinx/issues>. Thanks! > E: pybuild pybuild:388: build: plugin custom failed with: exit code=2: env > PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build python3 -m sphinx -N > -bman docs/ build/man > make[1]: *** [debian/rules:17: override_dh_auto_build] Error 13 The full build log is available from: http://qa-logs.debian.net/2023/07/30/exp/libsass-python_0.22.0-1_unstable_sphinx-exp.log Please see [1] for Sphinx changelog and [2] for Docutils changelog. Also see [3] for the list of deprecated/removed APIs in Sphinx and possible alternatives to them. Some notable changes in Sphinx 6 and Sphinx 7: - Sphinx no longer includes jquery.js and underscore.js by default. Please use python3-sphinxcontrib.jquery package if you are using a custom template and it still needs jquery. - The setup.py build_sphinx command was removed. Please instead call sphinx-build or "python3 -m sphinx" directly. - For packages using the extlinks extension, the caption should contain exactly one "%s" placeholder (if caption is not None). In case you have questions, please Cc [email protected] on reply. [1]: https://www.sphinx-doc.org/en/master/changes.html [2]: https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.20.1:/RELEASE-NOTES.txt [3]: https://www.sphinx-doc.org/en/master/extdev/deprecated.html#dev-deprecated-apis All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=sphinx7.1;[email protected] or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx7.1&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results 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

