Source: sphinx-rst-builder Version: 0.0.3-3 Severity: minor Tags: trixie sid ftbfs User: [email protected] Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build User: [email protected] Usertags: qa-doublebuild
Hi, This package fails to do build a binary-only build (not source) after a successful build (dpkg-buildpackage ; dpkg-buildpackage -b). This is probably a clear violation of Debian Policy section 4.9 (clean target), but this is filed as severity:minor for now, because a discussion on debian-devel showed that we might want to revisit the requirement of a working 'clean' target. More information about this class of issues, included common problems and solutions, is available at https://wiki.debian.org/qa.debian.org/FTBFS/DoubleBuild Relevant part of the build log: > cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env > -us -uc -rfakeroot -b > ------------------------------------------------------------------------------------------------------------------------------------------- > > dpkg-buildpackage: info: source package sphinx-rst-builder > dpkg-buildpackage: info: source version 0.0.3-3 > dpkg-buildpackage: info: source distribution unstable > dpkg-buildpackage: info: source changed by Pierre-Elliott Bécue > <[email protected]> > dpkg-source --before-build . > dpkg-buildpackage: info: host architecture amd64 > debian/rules clean > dh clean --with python3,sphinxdoc --buildsystem=pybuild > dh_auto_clean -O--buildsystem=pybuild > I: pybuild base:291: python3.11 setup.py clean > /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 clean > removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinx-rst-builder/build' > (and everything under it) > 'build/bdist.linux-x86_64' does not exist -- can't clean it > 'build/scripts-3.11' does not exist -- can't clean it > dh_autoreconf_clean -O--buildsystem=pybuild > dh_clean -O--buildsystem=pybuild > debian/rules binary > dh binary --with python3,sphinxdoc --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:291: python3.11 setup.py config > /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 config > debian/rules override_dh_auto_build > make[1]: Entering directory '/<<PKGBUILDDIR>>' > # The documentation is splitted in 3 directories, it's a bit PITA to merge. > for directory in changelog examples readme; do \ > PYTHONPATH=src python3 -m sphinx -b html -d docs/.build/.doctrees -N > docs/$directory docs/.build/html/$directory; \ > done > Running Sphinx v5.3.0 > loading pickled environment... failed > failed: source directory has changed > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 1 source files that are out of date > updating environment: [new config] 1 added, 0 changed, 0 removed > reading sources... [100%] CHANGELOG > > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > preparing documents... done > writing output... [100%] CHANGELOG > > generating indices... genindex done > writing additional pages... search done > copying static files... done > copying extra files... done > dumping search index in English (code: en)... done > dumping object inventory... done > build succeeded. > > The HTML pages are in docs/.build/html/changelog. > Running Sphinx v5.3.0 > loading pickled environment... failed > failed: source directory has changed > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 1 source files that are out of date > updating environment: [new config] 1 added, 0 changed, 0 removed > reading sources... [100%] examples > > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > preparing documents... done > writing output... [100%] examples > > generating indices... genindex done > writing additional pages... search done > copying static files... done > copying extra files... done > dumping search index in English (code: en)... done > dumping object inventory... done > build succeeded. > > The HTML pages are in docs/.build/html/examples. > Running Sphinx v5.3.0 > loading pickled environment... failed > failed: source directory has changed > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 1 source files that are out of date > updating environment: [new config] 1 added, 0 changed, 0 removed > reading sources... [100%] README > > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > preparing documents... done > writing output... [100%] README > > generating indices... genindex done > writing additional pages... search done > copying static files... done > copying extra files... done > dumping search index in English (code: en)... done > dumping object inventory... done > build succeeded. > > The HTML pages are in docs/.build/html/readme. > mkdir -p docs/.build/html/_upstream/_sources > cp -a docs/.build/html/changelog/_static docs/.build/html/_upstream > cp: 'docs/.build/html/changelog/_static' and > 'docs/.build/html/_upstream/_static' are the same file > make[1]: *** [debian/rules:12: override_dh_auto_build] Error 1 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > make: *** [debian/rules:6: binary] Error 2 > dpkg-buildpackage: error: debian/rules binary subprocess returned exit status > 2 > > E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage > --sanitize-env -us -uc -rfakeroot -b' failed to run. The full build log is available from: http://qa-logs.debian.net/2023/08/16/sphinx-rst-builder_0.0.3-3_unstable.log 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.

