• Bug#1046275: ocaml-uunf: Fails to build source after successful build

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

    Source: ocaml-uunf
    Version: 15.0.0-3
    Severity: minor
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
    User: debian-qa@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 ocaml-uunf
    dpkg-buildpackage: info: source version 15.0.0-3
    dpkg-buildpackage: info: source distribution unstable
    dpkg-buildpackage: info: source changed by Stéphane Glondu <glondu@debian.org>
    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-uunf using existing ./ocaml-uunf_15.0.0.orig.tar.gz
    dpkg-source: error: cannot represent change to support/ucd.xml:
    dpkg-source: error: new version is symlink to ../debian/ucd.xml dpkg-source: error: old version is nonexistent
    dpkg-source: error: cannot represent change to _build/_topkg-uunf.tests: binary file contents changed
    dpkg-source: error: add _build/_topkg-uunf.tests 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/src/uunf.a: binary file contents changed
    dpkg-source: error: add _build/src/uunf.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/src/uunf.cma: binary file contents changed
    dpkg-source: error: add _build/src/uunf.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/src/uunf.cmi: binary file contents changed
    dpkg-source: error: add _build/src/uunf.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/src/uunf.cmo: binary file contents changed
    dpkg-source: error: add _build/src/uunf.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/src/uunf.cmt: binary file contents changed
    dpkg-source: error: add _build/src/uunf.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/src/uunf.cmti: binary file contents changed
    dpkg-source: error: add _build/src/uunf.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/src/uunf.cmx: binary file contents changed
    dpkg-source: error: add _build/src/uunf.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/src/uunf.cmxa: binary file contents changed
    dpkg-source: error: add _build/src/uunf.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/src/uunf.cmxs: binary file contents changed
    dpkg-source: error: add _build/src/uunf.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/src/uunf.cmxs' will not be represented in diff
    dpkg-source: warning: file ocaml-uunf-15.0.0/_build/src/uunf.mllib has no final newline (either original or modified version)
    dpkg-source: error: cannot represent change to _build/src/uunf.o: binary file contents changed
    dpkg-source: error: add _build/src/uunf.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/src/uunf_data.cmi: binary file contents changed
    dpkg-source: error: add _build/src/uunf_data.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/src/uunf_data.cmo: binary file contents changed
    dpkg-source: error: add _build/src/uunf_data.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/src/uunf_data.cmt: binary file contents changed
    dpkg-source: error: add _build/src/uunf_data.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/src/uunf_data.cmx: binary file contents changed
    dpkg-source: error: add _build/src/uunf_data.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/src/uunf_data.o: binary file contents changed
    dpkg-source: error: add _build/src/uunf_data.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/src/uunf_fmt.cmi: binary file contents changed
    dpkg-source: error: add _build/src/uunf_fmt.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/src/uunf_fmt.cmo: binary file contents changed
    dpkg-source: error: add _build/src/uunf_fmt.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/src/uunf_fmt.cmt: binary file contents changed
    dpkg-source: error: add _build/src/uunf_fmt.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/src/uunf_fmt.cmx: binary file contents changed
    dpkg-source: error: add _build/src/uunf_fmt.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/src/uunf_fmt.o: binary file contents changed
    dpkg-source: error: add _build/src/uunf_fmt.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/src/uunf_string.a: binary file contents changed
    dpkg-source: error: add _build/src/uunf_string.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/src/uunf_string.cma: binary file contents changed
    dpkg-source: error: add _build/src/uunf_string.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/src/uunf_string.cmi: binary file contents changed
    dpkg-source: error: add _build/src/uunf_string.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/src/uunf_string.cmo: binary file contents changed
    dpkg-source: error: add _build/src/uunf_string.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/src/uunf_string.cmt: binary file contents changed
    dpkg-source: error: add _build/src/uunf_string.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/src/uunf_string.cmti: binary file contents changed
    dpkg-source: error: add _build/src/uunf_string.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/src/uunf_string.cmx: binary file contents changed
    dpkg-source: error: add _build/src/uunf_string.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/src/uunf_string.cmxa: binary file contents changed
    dpkg-source: error: add _build/src/uunf_string.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/src/uunf_string.cmxs: binary file contents changed
    dpkg-source: error: add _build/src/uunf_string.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/src/uunf_string.cmxs' will not be represented in diff
    dpkg-source: error: cannot represent change to _build/src/uunf_string.o: binary file contents changed
    dpkg-source: error: add _build/src/uunf_string.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/src/uunf_tmap.cmi: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmap.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/src/uunf_tmap.cmo: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmap.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/src/uunf_tmap.cmt: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmap.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/src/uunf_tmap.cmx: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmap.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/src/uunf_tmap.o: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmap.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/src/uunf_tmapbool.cmi: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmapbool.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/src/uunf_tmapbool.cmo: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmapbool.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/src/uunf_tmapbool.cmt: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmapbool.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/src/uunf_tmapbool.cmx: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmapbool.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/src/uunf_tmapbool.o: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmapbool.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/src/uunf_tmapbyte.cmi: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmapbyte.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/src/uunf_tmapbyte.cmo: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmapbyte.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/src/uunf_tmapbyte.cmt: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmapbyte.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/src/uunf_tmapbyte.cmx: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmapbyte.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/src/uunf_tmapbyte.o: binary file contents changed
    dpkg-source: error: add _build/src/uunf_tmapbyte.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/support/gen.cmi: binary file contents changed
    dpkg-source: error: add _build/support/gen.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/support/gen.cmo: binary file contents changed
    dpkg-source: error: add _build/support/gen.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/support/gen.cmt: binary file contents changed
    dpkg-source: error: add _build/support/gen.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/support/gen.cmx: binary file contents changed
    dpkg-source: error: add _build/support/gen.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/support/gen.o: binary file contents changed
    dpkg-source: error: add _build/support/gen.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/support/gen_norm.cmi: binary file contents changed
    dpkg-source: error: add _build/support/gen_norm.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/support/gen_norm.cmo: binary file contents changed
    dpkg-source: error: add _build/support/gen_norm.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/support/gen_norm.cmt: binary file contents changed
    dpkg-source: error: add _build/support/gen_norm.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/support/gen_norm.cmx: binary file contents changed
    dpkg-source: error: add _build/support/gen_norm.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/support/gen_norm.o: binary file contents changed
    dpkg-source: error: add _build/support/gen_norm.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/support/gen_props.cmi: binary file contents changed
    dpkg-source: error: add _build/support/gen_props.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/support/gen_props.cmo: binary file contents changed
    dpkg-source: error: add _build/support/gen_props.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/support/gen_props.cmt: binary file contents changed
    dpkg-source: error: add _build/support/gen_props.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/support/gen_props.cmx: binary file contents changed
    dpkg-source: error: add _build/support/gen_props.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/support/gen_props.native: binary file contents changed
    dpkg-source: error: add _build/support/gen_props.native 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/support/gen_props.native' will not be represented in diff
    dpkg-source: error: cannot represent change to _build/support/gen_props.o: binary file contents changed
    dpkg-source: error: add _build/support/gen_props.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/test/unftrip.cmi: binary file contents changed
    dpkg-source: error: add _build/test/unftrip.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/test/unftrip.cmo: binary file contents changed
    dpkg-source: error: add _build/test/unftrip.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/test/unftrip.cmt: binary file contents changed
    dpkg-source: error: add _build/test/unftrip.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/test/unftrip.cmx: binary file contents changed
    dpkg-source: error: add _build/test/unftrip.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/test/unftrip.native: binary file contents changed
    dpkg-source: error: add _build/test/unftrip.native 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/test/unftrip.native' will not be represented in diff
    dpkg-source: error: cannot represent change to _build/test/unftrip.o: binary file contents changed
    dpkg-source: error: add _build/test/unftrip.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-uunf_15.0.0-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)