• Bug#1045427: ocaml-samplerate: Fails to build source after successful b

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

    Source: ocaml-samplerate
    Version: 0.1.6-2
    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-samplerate
    dpkg-buildpackage: info: source version 0.1.6-2
    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_auto_clean
    dh_ocamlclean
    dh_clean
    dpkg-source -b .
    dpkg-source: info: using source format '3.0 (quilt)'
    dpkg-source: info: building ocaml-samplerate using existing ./ocaml-samplerate_0.1.6.orig.tar.gz
    dpkg-source: info: using patch list from debian/patches/series
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/samplerate.cmti:
    dpkg-source: error: new version is symlink to ../../../../default/src/.samplerate.objs/byte/samplerate.cmti
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/dune-package:
    dpkg-source: error: new version is symlink to ../../../../default/samplerate.dune-package
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/samplerate.mli:
    dpkg-source: error: new version is symlink to ../../../../default/src/samplerate.mli
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/samplerate.cmx:
    dpkg-source: error: new version is symlink to ../../../../default/src/.samplerate.objs/native/samplerate.cmx
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/samplerate.a:
    dpkg-source: error: new version is symlink to ../../../../default/src/samplerate.a
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/samplerate.cmxa:
    dpkg-source: error: new version is symlink to ../../../../default/src/samplerate.cmxa
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/opam:
    dpkg-source: error: new version is symlink to ../../../../default/samplerate.opam
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/META:
    dpkg-source: error: new version is symlink to ../../../../default/META.samplerate
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/samplerate.cmi:
    dpkg-source: error: new version is symlink to ../../../../default/src/.samplerate.objs/byte/samplerate.cmi
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/libsamplerate_stubs.a:
    dpkg-source: error: new version is symlink to ../../../../default/src/libsamplerate_stubs.a
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/samplerate.cmt:
    dpkg-source: error: new version is symlink to ../../../../default/src/.samplerate.objs/byte/samplerate.cmt
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/samplerate.ml:
    dpkg-source: error: new version is symlink to ../../../../default/src/samplerate.ml
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/samplerate.cmxs:
    dpkg-source: error: new version is symlink to ../../../../default/src/samplerate.cmxs
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/samplerate/samplerate.cma:
    dpkg-source: error: new version is symlink to ../../../../default/src/samplerate.cma
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/stublibs/dllsamplerate_stubs.so:
    dpkg-source: error: new version is symlink to ../../../../default/src/dllsamplerate_stubs.so
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/doc/samplerate/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/samplerate/README.md:
    dpkg-source: error: new version is symlink to ../../../../default/README.md dpkg-source: error: old version is nonexistent
    dpkg-source: warning: newly created empty file '_build/.actions/default/examples/runtest-b44e06d4ada8c4f200f4055a4bc4dfb8' will not be represented in diff
    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-samplerate-0.1.6/_build/.filesystem-clock has no final newline (either original or modified version)
    dpkg-source: warning: file ocaml-samplerate-0.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-samplerate-0.1.6/_build/default/.dune/configurator.v2 has no final newline (either original or modified version)
    dpkg-source: warning: file ocaml-samplerate-0.1.6/_build/default/META.samplerate has no final newline (either original or modified version)
    dpkg-source: error: cannot represent change to _build/default/examples/.merlin-conf/exe-test: binary file contents changed
    dpkg-source: error: add _build/default/examples/.merlin-conf/exe-test 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/examples/.test.eobjs/byte/dune__exe__Test.cmi: binary file contents changed
    dpkg-source: error: add _build/default/examples/.test.eobjs/byte/dune__exe__Test.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/examples/.test.eobjs/byte/dune__exe__Test.cmo: binary file contents changed
    dpkg-source: error: add _build/default/examples/.test.eobjs/byte/dune__exe__Test.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/examples/.test.eobjs/byte/dune__exe__Test.cmt: binary file contents changed
    dpkg-source: error: add _build/default/examples/.test.eobjs/byte/dune__exe__Test.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/examples/.test.eobjs/native/dune__exe__Test.cmx: binary file contents changed
    dpkg-source: error: add _build/default/examples/.test.eobjs/native/dune__exe__Test.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/examples/.test.eobjs/native/dune__exe__Test.o: binary file contents changed
    dpkg-source: error: add _build/default/examples/.test.eobjs/native/dune__exe__Test.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/examples/test.exe: binary file contents changed
    dpkg-source: error: add _build/default/examples/test.exe in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: warning: executable mode 0555 of '_build/default/examples/test.exe' will not be represented in diff
    dpkg-source: error: cannot represent change to _build/default/src/.merlin-conf/lib-samplerate: binary file contents changed
    dpkg-source: error: add _build/default/src/.merlin-conf/lib-samplerate 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/.samplerate.objs/byte/samplerate.cmi: binary file contents changed
    dpkg-source: error: add _build/default/src/.samplerate.objs/byte/samplerate.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/.samplerate.objs/byte/samplerate.cmo: binary file contents changed
    dpkg-source: error: add _build/default/src/.samplerate.objs/byte/samplerate.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/.samplerate.objs/byte/samplerate.cmt: binary file contents changed
    dpkg-source: error: add _build/default/src/.samplerate.objs/byte/samplerate.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/.samplerate.objs/byte/samplerate.cmti: binary file contents changed
    dpkg-source: error: add _build/default/src/.samplerate.objs/byte/samplerate.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/.samplerate.objs/native/samplerate.cmx: binary file contents changed
    dpkg-source: error: add _build/default/src/.samplerate.objs/native/samplerate.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/.samplerate.objs/native/samplerate.o: binary file contents changed
    dpkg-source: error: add _build/default/src/.samplerate.objs/native/samplerate.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: warning: file ocaml-samplerate-0.1.6/_build/default/src/c_flags.sexp has no final newline (either original or modified version)
    dpkg-source: warning: file ocaml-samplerate-0.1.6/_build/default/src/c_library_flags.sexp has no final newline (either original or modified version)
    dpkg-source: error: cannot represent change to _build/default/src/config/.discover.eobjs/byte/dune__exe__Discover.cmi: binary file contents changed
    dpkg-source: error: add _build/default/src/config/.discover.eobjs/byte/dune__exe__Discover.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/config/.discover.eobjs/byte/dune__exe__Discover.cmo: binary file contents changed
    dpkg-source: error: add _build/default/src/config/.discover.eobjs/byte/dune__exe__Discover.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/config/.discover.eobjs/byte/dune__exe__Discover.cmt: binary file contents changed
    dpkg-source: error: add _build/default/src/config/.discover.eobjs/byte/dune__exe__Discover.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/config/.discover.eobjs/native/dune__exe__Discover.cmx: binary file contents changed
    dpkg-source: error: add _build/default/src/config/.discover.eobjs/native/dune__exe__Discover.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/config/.discover.eobjs/native/dune__exe__Discover.o: binary file contents changed
    dpkg-source: error: add _build/default/src/config/.discover.eobjs/native/dune__exe__Discover.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/config/.merlin-conf/exe-discover: binary file contents changed
    dpkg-source: error: add _build/default/src/config/.merlin-conf/exe-discover 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/config/discover.exe: binary file contents changed
    dpkg-source: error: add _build/default/src/config/discover.exe in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: warning: executable mode 0555 of '_build/default/src/config/discover.exe' will not be represented in diff
    dpkg-source: error: cannot represent change to _build/default/src/dllsamplerate_stubs.so: binary file contents changed
    dpkg-source: error: add _build/default/src/dllsamplerate_stubs.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: warning: executable mode 0555 of '_build/default/src/dllsamplerate_stubs.so' will not be represented in diff
    dpkg-source: error: cannot represent change to _build/default/src/libsamplerate_stubs.a: binary file contents changed
    dpkg-source: error: add _build/default/src/libsamplerate_stubs.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/samplerate.a: binary file contents changed
    dpkg-source: error: add _build/default/src/samplerate.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/samplerate.cma: binary file contents changed
    dpkg-source: error: add _build/default/src/samplerate.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/samplerate.cmxa: binary file contents changed
    dpkg-source: error: add _build/default/src/samplerate.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/samplerate.cmxs: binary file contents changed
    dpkg-source: error: add _build/default/src/samplerate.cmxs in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: warning: executable mode 0555 of '_build/default/src/samplerate.cmxs' will not be represented in diff
    dpkg-source: error: cannot represent change to _build/default/src/samplerate_stubs.o: binary file contents changed
    dpkg-source: error: add _build/default/src/samplerate_stubs.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    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-samplerate_0.1.6-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.

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