Source: mathcomp-finmap
Version: 1.5.2-3
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian...@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 mathcomp-finmap
> dpkg-buildpackage: info: source version 1.5.2-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Stéphane Glondu 
> <glo...@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with coq,ocaml
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f Makefile.coq Makefile.coq.conf Makefile.coq
> rm -f 
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_ocamlclean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building mathcomp-finmap using existing 
> ./mathcomp-finmap_1.5.2.orig.tar.gz
> dpkg-source: error: cannot represent change to 
> _build/install/default/lib/coq-mathcomp-finmap/dune-package:
> dpkg-source: error:   new version is symlink to 
> ../../../../default/coq-mathcomp-finmap.dune-package
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> _build/install/default/lib/coq-mathcomp-finmap/opam:
> dpkg-source: error:   new version is symlink to 
> ../../../../default/coq-mathcomp-finmap.opam
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> _build/install/default/lib/coq-mathcomp-finmap/META:
> dpkg-source: error:   new version is symlink to 
> ../../../../default/META.coq-mathcomp-finmap
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> _build/install/default/lib/coq/user-contrib/mathcomp/finmap/multiset.vo:
> dpkg-source: error:   new version is symlink to 
> ../../../../../../../default/multiset.vo
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> _build/install/default/lib/coq/user-contrib/mathcomp/finmap/finmap.v:
> dpkg-source: error:   new version is symlink to 
> ../../../../../../../default/finmap.v
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> _build/install/default/lib/coq/user-contrib/mathcomp/finmap/set.vo:
> dpkg-source: error:   new version is symlink to 
> ../../../../../../../default/set.vo
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> _build/install/default/lib/coq/user-contrib/mathcomp/finmap/multiset.v:
> dpkg-source: error:   new version is symlink to 
> ../../../../../../../default/multiset.v
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> _build/install/default/lib/coq/user-contrib/mathcomp/finmap/finmap.vo:
> dpkg-source: error:   new version is symlink to 
> ../../../../../../../default/finmap.vo
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> _build/install/default/lib/coq/user-contrib/mathcomp/finmap/set.v:
> dpkg-source: error:   new version is symlink to 
> ../../../../../../../default/set.v
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> _build/install/default/doc/coq-mathcomp-finmap/CHANGELOG.md:
> dpkg-source: error:   new version is symlink to 
> ../../../../default/CHANGELOG.md
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> _build/install/default/doc/coq-mathcomp-finmap/CHANGELOG_UNRELEASED.md:
> dpkg-source: error:   new version is symlink to 
> ../../../../default/CHANGELOG_UNRELEASED.md
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to 
> _build/install/default/doc/coq-mathcomp-finmap/README.md:
> dpkg-source: error:   new version is symlink to ../../../../default/README.md
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/.db: binary file 
> contents changed
> dpkg-source: error: add _build/.db in debian/source/include-binaries if you 
> want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to _build/.digest-db: binary file 
> contents changed
> dpkg-source: error: add _build/.digest-db in debian/source/include-binaries 
> if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file mathcomp-finmap-1.5.2/_build/.filesystem-clock has 
> no final newline (either original or modified version)
> dpkg-source: warning: file mathcomp-finmap-1.5.2/_build/.lock has no final 
> newline (either original or modified version)
> dpkg-source: warning: file 
> mathcomp-finmap-1.5.2/_build/default/.dune/configurator.v2 has no final 
> newline (either original or modified version)
> dpkg-source: warning: newly created empty file 
> '_build/default/META.coq-mathcomp-finmap' will not be represented in diff
> dpkg-source: warning: executable mode 0555 of '_build/default/debian/rules' 
> will not be represented in diff
> dpkg-source: error: cannot represent change to _build/default/finmap.vo: 
> binary file contents changed
> dpkg-source: error: add _build/default/finmap.vo in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: newly created empty file '_build/default/finmap.vok' 
> will not be represented in diff
> dpkg-source: warning: newly created empty file '_build/default/finmap.vos' 
> will not be represented in diff
> dpkg-source: error: cannot represent change to _build/default/multiset.vo: 
> binary file contents changed
> dpkg-source: error: add _build/default/multiset.vo in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: newly created empty file '_build/default/multiset.vok' 
> will not be represented in diff
> dpkg-source: warning: newly created empty file '_build/default/multiset.vos' 
> will not be represented in diff
> dpkg-source: warning: newly created empty file 
> '_build/default/ocamlinit-stamp' will not be represented in diff
> dpkg-source: warning: executable mode 0555 of 
> '_build/default/opam-release.sh' will not be represented in diff
> dpkg-source: error: cannot represent change to _build/default/set.vo: binary 
> file contents changed
> dpkg-source: error: add _build/default/set.vo in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: newly created empty file '_build/default/set.vok' will 
> not be represented in diff
> dpkg-source: warning: newly created empty file '_build/default/set.vos' will 
> not be represented in diff
> 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/mathcomp-finmap_1.5.2-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.

Reply via email to