Source: sphinx-copybutton
Version: 0.4.0-4
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
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 sphinx-copybutton
> dpkg-buildpackage: info: source version 0.4.0-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Sandro Tosi <[email protected]>
>  dpkg-source --before-build .
> dpkg-source: info: using options from 
> sphinx-copybutton-0.4.0/debian/source/options: 
> --extend-diff-ignore=^[^/]*[.]egg-info/
>  fakeroot debian/rules clean
> dh clean --with python3,sphinxdoc --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
>       pybuild --clean -i python{version} -p 3.11
> I: pybuild base:275: 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-copybutton/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
>       rm -rf .pybuild/
>       find . -name \*.pyc -exec rm {} \;
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>       rm -f debian/debhelper-build-stamp
>       rm -rf debian/.debhelper/
>       rm -f debian/python-sphinx-copybutton-doc.debhelper.log 
> debian/python3-sphinx-copybutton.debhelper.log
>       rm -f -- debian/python3-sphinx-copybutton.substvars 
> debian/python3-sphinx-copybutton.postinst.debhelper 
> debian/python3-sphinx-copybutton.prerm.debhelper 
> debian/python-sphinx-copybutton-doc.substvars debian/files
>       rm -fr -- debian/python3-sphinx-copybutton/ debian/tmp/ 
> debian/python-sphinx-copybutton-doc/
>       find .  \( \( \
>               \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
> .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
> -type f -a \
>               \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
>                -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
>                -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
>                -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
>               \) -exec rm -f {} + \) -o \
>               \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) 
> \)
>  dpkg-source -b .
> dpkg-source: info: using options from 
> sphinx-copybutton-0.4.0/debian/source/options: 
> --extend-diff-ignore=^[^/]*[.]egg-info/
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building sphinx-copybutton using existing 
> ./sphinx-copybutton_0.4.0.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to 
> sphinx_copybutton/_static/clipboard.min.js:
> dpkg-source: error:   new version is symlink to 
> /usr/share/nodejs/clipboard/dist/clipboard.js
> dpkg-source: error:   old version is symlink to 
> ../../clipboard.js/dist/clipboard.min.js
> dpkg-source: error: cannot represent change to 
> docs/build/html/.doctrees/environment.pickle: binary file contents changed
> dpkg-source: error: add docs/build/html/.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/html/.doctrees/index.doctree: binary file contents changed
> dpkg-source: error: add docs/build/html/.doctrees/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/html/.doctrees/second/second_page.doctree: binary file contents 
> changed
> dpkg-source: error: add docs/build/html/.doctrees/second/second_page.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/html/_images/copybutton.gif: binary file contents changed
> dpkg-source: error: add docs/build/html/_images/copybutton.gif in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: newly created empty file 
> 'docs/build/html/_static/__init__.py' will not be represented in diff
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/docs/build/html/_static/basic.css has no final 
> newline (either original or modified version)
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/docs/build/html/_static/clipboard.min.js has no final 
> newline (either original or modified version)
> dpkg-source: error: cannot represent change to 
> docs/build/html/_static/copybutton.gif: binary file contents changed
> dpkg-source: error: add docs/build/html/_static/copybutton.gif in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/docs/build/html/_static/copybutton.js has no final 
> newline (either original or modified version)
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/docs/build/html/_static/css/blank.css has no final 
> newline (either original or modified version)
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/docs/build/html/_static/css/index.ff1ffe594081f20da1ef19478df9384b.css
>  has no final newline (either original or modified version)
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/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/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/images/logo_colab.png: binary file contents changed
> dpkg-source: error: add docs/build/html/_static/images/logo_colab.png in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/docs/build/html/_static/js/index.be7d3bbb2ef33a8344ce.js
>  has no final newline (either original or modified version)
> 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 
> sphinx-copybutton-0.4.0/docs/build/html/_static/pygments.css has no final 
> newline (either original or modified version)
> dpkg-source: error: cannot represent change to 
> docs/build/html/_static/test/TEST_COPYBUTTON.png: binary file contents changed
> dpkg-source: error: add docs/build/html/_static/test/TEST_COPYBUTTON.png in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/docs/build/html/_static/vendor/fontawesome/5.13.0/css/all.min.css
>  has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.eot: 
> binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.eot 
> 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/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.ttf: 
> binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.ttf 
> 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/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff:
>  binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff 
> 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/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff2:
>  binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff2
>  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/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.eot:
>  binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.eot 
> 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/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.ttf:
>  binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.ttf 
> 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/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.woff:
>  binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.woff
>  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/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.woff2:
>  binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-regular-400.woff2
>  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/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.eot: 
> binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.eot 
> 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/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.ttf: 
> binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.ttf 
> 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/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff: 
> binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff 
> 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/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2:
>  binary file contents changed
> dpkg-source: error: add 
> docs/build/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2 
> in debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/docs/build/html/_static/webpack-macros.html has no 
> final newline (either original or modified version)
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/docs/build/html/genindex.html has no final newline 
> (either original or modified version)
> dpkg-source: warning: file sphinx-copybutton-0.4.0/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 
> sphinx-copybutton-0.4.0/docs/build/html/search.html has no final newline 
> (either original or modified version)
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/docs/build/html/searchindex.js has no final newline 
> (either original or modified version)
> dpkg-source: warning: file 
> sphinx-copybutton-0.4.0/docs/build/html/second/second_page.html 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/sphinx-copybutton_0.4.0-4_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 via email to