• Bug#1045537: ocaml-speex: Fails to build source after successful build

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

    Source: ocaml-speex
    Version: 0.4.1-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-speex
    dpkg-buildpackage: info: source version 0.4.1-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-speex using existing ./ocaml-speex_0.4.1.orig.tar.gz
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/speex.mli:
    dpkg-source: error: new version is symlink to ../../../../default/src/speex.mli
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/speex.cmx:
    dpkg-source: error: new version is symlink to ../../../../default/src/.speex.objs/native/speex.cmx
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/dune-package:
    dpkg-source: error: new version is symlink to ../../../../default/speex.dune-package
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/speex.cma:
    dpkg-source: error: new version is symlink to ../../../../default/src/speex.cma
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/speex.cmi:
    dpkg-source: error: new version is symlink to ../../../../default/src/.speex.objs/byte/speex.cmi
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/opam:
    dpkg-source: error: new version is symlink to ../../../../default/speex.opam
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/speex.cmxs:
    dpkg-source: error: new version is symlink to ../../../../default/src/speex.cmxs
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/META:
    dpkg-source: error: new version is symlink to ../../../../default/META.speex
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/speex.ml:
    dpkg-source: error: new version is symlink to ../../../../default/src/speex.ml
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/speex.cmt:
    dpkg-source: error: new version is symlink to ../../../../default/src/.speex.objs/byte/speex.cmt
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/speex.a:
    dpkg-source: error: new version is symlink to ../../../../default/src/speex.a
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/libspeex_stubs.a:
    dpkg-source: error: new version is symlink to ../../../../default/src/libspeex_stubs.a
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/speex.cmti:
    dpkg-source: error: new version is symlink to ../../../../default/src/.speex.objs/byte/speex.cmti
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/speex.cmxa:
    dpkg-source: error: new version is symlink to ../../../../default/src/speex.cmxa
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/decoder/speex_decoder.cmt:
    dpkg-source: error: new version is symlink to ../../../../../default/src/.speex_decoder.objs/byte/speex_decoder.cmt
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/decoder/speex_decoder.cmti:
    dpkg-source: error: new version is symlink to ../../../../../default/src/.speex_decoder.objs/byte/speex_decoder.cmti
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/decoder/speex_decoder.mli:
    dpkg-source: error: new version is symlink to ../../../../../default/src/speex_decoder.mli
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/decoder/speex_decoder.ml:
    dpkg-source: error: new version is symlink to ../../../../../default/src/speex_decoder.ml
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/decoder/speex_decoder.a:
    dpkg-source: error: new version is symlink to ../../../../../default/src/speex_decoder.a
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/decoder/speex_decoder.cma:
    dpkg-source: error: new version is symlink to ../../../../../default/src/speex_decoder.cma
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/decoder/speex_decoder.cmxa:
    dpkg-source: error: new version is symlink to ../../../../../default/src/speex_decoder.cmxa
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/decoder/speex_decoder.cmx:
    dpkg-source: error: new version is symlink to ../../../../../default/src/.speex_decoder.objs/native/speex_decoder.cmx
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/decoder/speex_decoder.cmi:
    dpkg-source: error: new version is symlink to ../../../../../default/src/.speex_decoder.objs/byte/speex_decoder.cmi
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/speex/decoder/speex_decoder.cmxs:
    dpkg-source: error: new version is symlink to ../../../../../default/src/speex_decoder.cmxs
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/lib/stublibs/dllspeex_stubs.so:
    dpkg-source: error: new version is symlink to ../../../../default/src/dllspeex_stubs.so
    dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/install/default/doc/speex/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/install/default/doc/speex/CHANGES:
    dpkg-source: error: new version is symlink to ../../../../default/CHANGES 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-speex-0.4.1/_build/.filesystem-clock has no final newline (either original or modified version)
    dpkg-source: warning: file ocaml-speex-0.4.1/_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-speex-0.4.1/_build/default/.dune/configurator.v2 has no final newline (either original or modified version)
    dpkg-source: warning: file ocaml-speex-0.4.1/_build/default/META.speex has no final newline (either original or modified version)
    dpkg-source: error: cannot represent change to _build/default/src/.merlin-conf/lib-speex: binary file contents changed
    dpkg-source: error: add _build/default/src/.merlin-conf/lib-speex 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-speex.decoder: binary file contents changed
    dpkg-source: error: add _build/default/src/.merlin-conf/lib-speex.decoder 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/.speex.objs/byte/speex.cmi: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex.objs/byte/speex.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/.speex.objs/byte/speex.cmo: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex.objs/byte/speex.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/.speex.objs/byte/speex.cmt: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex.objs/byte/speex.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/.speex.objs/byte/speex.cmti: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex.objs/byte/speex.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/.speex.objs/native/speex.cmx: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex.objs/native/speex.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/.speex.objs/native/speex.o: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex.objs/native/speex.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/.speex_decoder.objs/byte/speex_decoder.cmi: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex_decoder.objs/byte/speex_decoder.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/.speex_decoder.objs/byte/speex_decoder.cmo: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex_decoder.objs/byte/speex_decoder.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/.speex_decoder.objs/byte/speex_decoder.cmt: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex_decoder.objs/byte/speex_decoder.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/.speex_decoder.objs/byte/speex_decoder.cmti: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex_decoder.objs/byte/speex_decoder.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/.speex_decoder.objs/native/speex_decoder.cmx: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex_decoder.objs/native/speex_decoder.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/.speex_decoder.objs/native/speex_decoder.o: binary file contents changed
    dpkg-source: error: add _build/default/src/.speex_decoder.objs/native/speex_decoder.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: warning: file ocaml-speex-0.4.1/_build/default/src/c_flags.sexp has no final newline (either original or modified version)
    dpkg-source: warning: file ocaml-speex-0.4.1/_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/config/endianess.o: binary file contents changed
    dpkg-source: error: add _build/default/src/config/endianess.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/dllspeex_stubs.so: binary file contents changed
    dpkg-source: error: add _build/default/src/dllspeex_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/dllspeex_stubs.so' will not be represented in diff
    dpkg-source: error: cannot represent change to _build/default/src/libspeex_stubs.a: binary file contents changed
    dpkg-source: error: add _build/default/src/libspeex_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/speex.a: binary file contents changed
    dpkg-source: error: add _build/default/src/speex.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/speex.cma: binary file contents changed
    dpkg-source: error: add _build/default/src/speex.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/speex.cmxa: binary file contents changed
    dpkg-source: error: add _build/default/src/speex.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/speex.cmxs: binary file contents changed
    dpkg-source: error: add _build/default/src/speex.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/speex.cmxs' will not be represented in diff
    dpkg-source: error: cannot represent change to _build/default/src/speex_decoder.a: binary file contents changed
    dpkg-source: error: add _build/default/src/speex_decoder.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/speex_decoder.cma: binary file contents changed
    dpkg-source: error: add _build/default/src/speex_decoder.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/speex_decoder.cmxa: binary file contents changed
    dpkg-source: error: add _build/default/src/speex_decoder.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/speex_decoder.cmxs: binary file contents changed
    dpkg-source: error: add _build/default/src/speex_decoder.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/speex_decoder.cmxs' will not be represented in diff
    dpkg-source: error: cannot represent change to _build/default/src/speex_stubs.o: binary file contents changed
    dpkg-source: error: add _build/default/src/speex_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-speex_0.4.1-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)