• Bug#1045611: ocaml-benchmark: Fails to build source after successful bu

    From Lucas Nussbaum@21:1/5 to All on Sun Aug 13 22:00:04 2023
    XPost: linux.debian.bugs.dist

    Source: ocaml-benchmark
    Version: 1.6-3
    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 ocaml-benchmark
    dpkg-buildpackage: info: source version 1.6-3
    dpkg-buildpackage: info: source distribution unstable
    dpkg-buildpackage: info: source changed by Stéphane Glondu <[email protected]>
    dpkg-source --before-build .
    debian/rules clean
    dh clean --with ocaml
    dh_ocamlclean
    dh_clean
    dpkg-source -b .
    dpkg-source: info: using source format '3.0 (quilt)'
    dpkg-source: info: building ocaml-benchmark using existing ./ocaml-benchmark_1.6.orig.tar.bz2
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/benchmark.cmti:
    dpkg-source: error: new version is symlink to ../../../../default/src/.benchmark.objs/byte/benchmark.cmti
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/dune-package:
    dpkg-source: error: new version is symlink to ../../../../default/benchmark.dune-package
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/benchmark.cmxa:
    dpkg-source: error: new version is symlink to ../../../../default/src/benchmark.cmxa
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/benchmark.cmt:
    dpkg-source: error: new version is symlink to ../../../../default/src/.benchmark.objs/byte/benchmark.cmt
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/benchmark.cma:
    dpkg-source: error: new version is symlink to ../../../../default/src/benchmark.cma
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/benchmark.mli:
    dpkg-source: error: new version is symlink to ../../../../default/src/benchmark.mli
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/opam:
    dpkg-source: error: new version is symlink to ../../../../default/benchmark.opam
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/benchmark.cmx:
    dpkg-source: error: new version is symlink to ../../../../default/src/.benchmark.objs/native/benchmark.cmx
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/benchmark.a:
    dpkg-source: error: new version is symlink to ../../../../default/src/benchmark.a
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/benchmark.cmi:
    dpkg-source: error: new version is symlink to ../../../../default/src/.benchmark.objs/byte/benchmark.cmi
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/benchmark.ml:
    dpkg-source: error: new version is symlink to ../../../../default/src/benchmark.ml
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/META:
    dpkg-source: error: new version is symlink to ../../../../default/META.benchmark
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/benchmark/benchmark.cmxs:
    dpkg-source: error: new version is symlink to ../../../../default/src/benchmark.cmxs
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/doc/benchmark/CHANGES.md:
    dpkg-source: error: new version is symlink to ../../../../default/CHANGES.md
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/doc/benchmark/LICENSE.md:
    dpkg-source: error: new version is symlink to ../../../../default/LICENSE.md
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/doc/benchmark/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 ocaml-benchmark-1.6/_build/.filesystem-clock has no final newline (either original or modified version)
    dpkg-source: warning: file ocaml-benchmark-1.6/_build/.lock has no final newline (either original or modified version)
    dpkg-source: error: cannot represent change to _build/.to-delete-in-source-tree: binary file contents changed
    dpkg-source: error: add _build/.to-delete-in-source-tree in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: warning: file ocaml-benchmark-1.6/_build/default/.dune/configurator.v2 has no final newline (either original or modified version)
    dpkg-source: warning: file ocaml-benchmark-1.6/_build/default/META.benchmark has no final newline (either original or modified version)
    dpkg-source: error: cannot represent change to _build/default/src/.benchmark.objs/byte/benchmark.cmi: binary file contents changed
    dpkg-source: error: add _build/default/src/.benchmark.objs/byte/benchmark.cmi 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/default/src/.benchmark.objs/byte/benchmark.cmo: binary file contents changed
    dpkg-source: error: add _build/default/src/.benchmark.objs/byte/benchmark.cmo 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/default/src/.benchmark.objs/byte/benchmark.cmt: binary file contents changed
    dpkg-source: error: add _build/default/src/.benchmark.objs/byte/benchmark.cmt 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/default/src/.benchmark.objs/byte/benchmark.cmti: binary file contents changed
    dpkg-source: error: add _build/default/src/.benchmark.objs/byte/benchmark.cmti 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/default/src/.benchmark.objs/native/benchmark.cmx: binary file contents changed
    dpkg-source: error: add _build/default/src/.benchmark.objs/native/benchmark.cmx 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/default/src/.benchmark.objs/native/benchmark.o: binary file contents changed
    dpkg-source: error: add _build/default/src/.benchmark.objs/native/benchmark.o 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/default/src/.merlin-conf/lib-benchmark: binary file contents changed
    dpkg-source: error: add _build/default/src/.merlin-conf/lib-benchmark 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/default/src/benchmark.a: binary file contents changed
    dpkg-source: error: add _build/default/src/benchmark.a 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/default/src/benchmark.cma: binary file contents changed
    dpkg-source: error: add _build/default/src/benchmark.cma 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/default/src/benchmark.cmxa: binary file contents changed
    dpkg-source: error: add _build/default/src/benchmark.cmxa 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/default/src/benchmark.cmxs: binary file contents changed
    dpkg-source: error: add _build/default/src/benchmark.cmxs in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: warning: executable mode 0755 of '_build/default/src/benchmark.cmxs' 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/ocaml-benchmark_1.6-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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)