• Bug#1044568: extlib: Fails to build source after successful build

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

    Source: extlib
    Version: 1.7.8-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 extlib
    dpkg-buildpackage: info: source version 1.7.8-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
    make -j8 clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    make[1]: git: No such file or directory
    make -C src clean
    make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
    rm -f *.cmo *.cmx *.o *.obj *.cmi *.cma *.cmxa *.cmxs *.a *.lib doc/*.html extBytes.mli
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
    make -C test clean
    make[2]: Entering directory '/<<PKGBUILDDIR>>/test'
    rm -rf *.cm* *.o *.obj extlib_test
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
    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 extlib using existing ./extlib_1.7.8.orig.tar.gz dpkg-source: error: cannot represent change to src/IO.cmt: binary file contents changed
    dpkg-source: error: add src/IO.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 src/IO.cmti: binary file contents changed
    dpkg-source: error: add src/IO.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 src/bitSet.cmt: binary file contents changed
    dpkg-source: error: add src/bitSet.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 src/bitSet.cmti: binary file contents changed
    dpkg-source: error: add src/bitSet.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 src/dllist.cmt: binary file contents changed
    dpkg-source: error: add src/dllist.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 src/dllist.cmti: binary file contents changed
    dpkg-source: error: add src/dllist.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 src/dynArray.cmt: binary file contents changed
    dpkg-source: error: add src/dynArray.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 src/dynArray.cmti: binary file contents changed
    dpkg-source: error: add src/dynArray.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 src/enum.cmt: binary file contents changed
    dpkg-source: error: add src/enum.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 src/enum.cmti: binary file contents changed
    dpkg-source: error: add src/enum.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 src/extArray.cmt: binary file contents changed
    dpkg-source: error: add src/extArray.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 src/extArray.cmti: binary file contents changed
    dpkg-source: error: add src/extArray.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 src/extBuffer.cmt: binary file contents changed
    dpkg-source: error: add src/extBuffer.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 src/extBuffer.cmti: binary file contents changed
    dpkg-source: error: add src/extBuffer.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 src/extBytes.cmt: binary file contents changed
    dpkg-source: error: add src/extBytes.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 src/extBytes.cmti: binary file contents changed
    dpkg-source: error: add src/extBytes.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 src/extHashtbl.cmt: binary file contents changed
    dpkg-source: error: add src/extHashtbl.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 src/extHashtbl.cmti: binary file contents changed
    dpkg-source: error: add src/extHashtbl.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 src/extLib.cmt: binary file contents changed
    dpkg-source: error: add src/extLib.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 src/extList.cmt: binary file contents changed
    dpkg-source: error: add src/extList.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 src/extList.cmti: binary file contents changed
    dpkg-source: error: add src/extList.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 src/extString.cmt: binary file contents changed
    dpkg-source: error: add src/extString.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 src/extString.cmti: binary file contents changed
    dpkg-source: error: add src/extString.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 src/global.cmt: binary file contents changed
    dpkg-source: error: add src/global.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 src/global.cmti: binary file contents changed
    dpkg-source: error: add src/global.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 src/optParse.cmt: binary file contents changed
    dpkg-source: error: add src/optParse.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 src/optParse.cmti: binary file contents changed
    dpkg-source: error: add src/optParse.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 src/option.cmt: binary file contents changed
    dpkg-source: error: add src/option.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 src/option.cmti: binary file contents changed
    dpkg-source: error: add src/option.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 src/pMap.cmt: binary file contents changed
    dpkg-source: error: add src/pMap.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 src/pMap.cmti: binary file contents changed
    dpkg-source: error: add src/pMap.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 src/refList.cmt: binary file contents changed
    dpkg-source: error: add src/refList.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 src/refList.cmti: binary file contents changed
    dpkg-source: error: add src/refList.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 src/std.cmt: binary file contents changed
    dpkg-source: error: add src/std.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 src/std.cmti: binary file contents changed
    dpkg-source: error: add src/std.cmti 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/extlib_1.7.8-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)