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

Bug#1047505: pygresql: Fails to build source after successful build



Source: pygresql
Version: 1:5.1.2-2
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

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/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
> -----------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package pygresql
> dpkg-buildpackage: info: source version 1:5.1.2-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jelmer Vernooij <jelmer@debian.org>
>  dpkg-source --before-build .
> dpkg-source: info: using options from pygresql-5.1.2/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/
>  debian/rules clean
> dh clean --with python3,sphinxdoc --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:275: python3.11 setup.py clean 
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pygresql/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
>  dpkg-source -b .
> dpkg-source: info: using options from pygresql-5.1.2/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building pygresql using existing ./pygresql_5.1.2.orig.tar.gz
> dpkg-source: error: cannot represent change to docs/_build/doctrees/about.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/about.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/announce.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/announce.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/community/index.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/community/index.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/changelog.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/changelog.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/examples.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/examples.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/general.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/general.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/index.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/index.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/install.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/install.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pg/adaptation.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pg/adaptation.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pg/connection.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pg/connection.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pg/db_types.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pg/db_types.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pg/db_wrapper.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pg/db_wrapper.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pg/index.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pg/index.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pg/introduction.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pg/introduction.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pg/large_objects.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pg/large_objects.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pg/module.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pg/module.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pg/notification.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pg/notification.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pg/query.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pg/query.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pgdb/adaptation.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pgdb/adaptation.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pgdb/connection.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pgdb/connection.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pgdb/cursor.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pgdb/cursor.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pgdb/index.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pgdb/index.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pgdb/introduction.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pgdb/introduction.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pgdb/module.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pgdb/module.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pgdb/typecache.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pgdb/typecache.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/pgdb/types.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/pgdb/types.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/postgres/advanced.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/postgres/advanced.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/postgres/basic.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/postgres/basic.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/postgres/func.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/postgres/func.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/postgres/index.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/postgres/index.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/postgres/syscat.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/postgres/syscat.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/contents/tutorial.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/contents/tutorial.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/copyright.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/copyright.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/download/index.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/download/index.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/environment.pickle: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/environment.pickle in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/doctrees/index.doctree: binary file contents changed
> dpkg-source: error: add docs/_build/doctrees/index.doctree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/_sources/about.rst.txt has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/_sources/contents/pg/notification.rst.txt has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/_sources/download/index.rst.txt has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/_sources/index.rst.txt has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/_static/basic.css has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/_static/classic.css has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/_static/documentation_options.js has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to docs/_build/html/_static/favicon.ico: binary file contents changed
> dpkg-source: error: add docs/_build/html/_static/favicon.ico in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/html/_static/file.png: binary file contents changed
> dpkg-source: error: add docs/_build/html/_static/file.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/html/_static/minus.png: binary file contents changed
> dpkg-source: error: add docs/_build/html/_static/minus.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to docs/_build/html/_static/plus.png: binary file contents changed
> dpkg-source: error: add docs/_build/html/_static/plus.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/_static/pygments.css has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/_static/pygresql.css has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to docs/_build/html/_static/pygresql.png: binary file contents changed
> dpkg-source: error: add docs/_build/html/_static/pygresql.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/_static/sidebar.js has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/about.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/announce.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/community/index.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/changelog.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/examples.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/general.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/index.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/install.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pg/adaptation.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pg/connection.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pg/db_types.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pg/db_wrapper.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pg/index.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pg/introduction.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pg/large_objects.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pg/module.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pg/notification.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pg/query.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pgdb/adaptation.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pgdb/connection.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pgdb/cursor.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pgdb/index.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pgdb/introduction.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pgdb/module.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pgdb/typecache.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/pgdb/types.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/postgres/advanced.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/postgres/basic.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/postgres/func.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/postgres/index.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/postgres/syscat.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/contents/tutorial.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/copyright.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/download/index.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/genindex.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/index.html has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to docs/_build/html/objects.inv: binary file contents changed
> dpkg-source: error: add docs/_build/html/objects.inv in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/py-modindex.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/search.html has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/_build/html/searchindex.js has no final newline (either original or modified version)
> dpkg-source: warning: file pygresql-5.1.2/docs/index.rst has no final newline (either original or modified version)
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/pygresql_5.1.2-2_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.


Reply to: