• Bug#1044395: coq-reduction-effects: Fails to build source after success

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

    Source: coq-reduction-effects
    Version: 0.1.4-4
    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 coq-reduction-effects dpkg-buildpackage: info: source version 0.1.4-4
    dpkg-buildpackage: info: source distribution unstable
    dpkg-buildpackage: info: source changed by Julien Puydt <jpuydt@debian.org>
    dpkg-source --before-build .
    debian/rules clean
    dh clean --with coq
    debian/rules override_dh_auto_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    # not good
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_clean
    dpkg-source -b .
    dpkg-source: info: using source format '3.0 (quilt)'
    dpkg-source: info: building coq-reduction-effects using existing ./coq-reduction-effects_0.1.4.orig.tar.gz
    dpkg-source: error: cannot represent change to PrintingEffect.vo: binary file contents changed
    dpkg-source: error: add PrintingEffect.vo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: warning: newly created empty file 'PrintingEffect.vok' will not be represented in diff
    dpkg-source: warning: newly created empty file 'PrintingEffect.vos' will not be represented in diff
    dpkg-source: error: cannot represent change to redeffect.cmi: binary file contents changed
    dpkg-source: error: add redeffect.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 redeffect.cmt: binary file contents changed
    dpkg-source: error: add redeffect.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 redeffect.cmx: binary file contents changed
    dpkg-source: error: add redeffect.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 redeffect.o: binary file contents changed
    dpkg-source: error: add redeffect.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 redeffect_plugin.a: binary file contents changed
    dpkg-source: error: add redeffect_plugin.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 redeffect_plugin.cmi: binary file contents changed
    dpkg-source: error: add redeffect_plugin.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 redeffect_plugin.cmt: binary file contents changed
    dpkg-source: error: add redeffect_plugin.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 redeffect_plugin.cmx: binary file contents changed
    dpkg-source: error: add redeffect_plugin.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 redeffect_plugin.cmxa: binary file contents changed
    dpkg-source: error: add redeffect_plugin.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 redeffect_plugin.cmxs: binary file contents changed
    dpkg-source: error: add redeffect_plugin.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 'redeffect_plugin.cmxs' will not be represented in diff
    dpkg-source: error: cannot represent change to redeffect_plugin.o: binary file contents changed
    dpkg-source: error: add redeffect_plugin.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 tests/PrintEffect.vo: binary file contents changed
    dpkg-source: error: add tests/PrintEffect.vo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: warning: newly created empty file 'tests/PrintEffect.vok' will not be represented in diff
    dpkg-source: warning: newly created empty file 'tests/PrintEffect.vos' 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/coq-reduction-effects_0.1.4-4_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)
  • From Debian Bug Tracking System@21:1/5 to All on Fri Dec 22 11:50:02 2023
    This is a multi-part message in MIME format...

    Your message dated Fri, 22 Dec 2023 10:36:05 +0000
    with message-id <E1rGcsv-00DSor-L3@fasolo.debian.org>
    and subject line Bug#1044395: fixed in coq-reduction-effects 0.1.5-1
    has caused the Debian Bug report #1044395,
    regarding coq-reduction-effects: Fails to build source after successful build to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1044395: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1044395
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 13 Aug 2023 16:59:39 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-103.2 required=4.0 tests=ATTENDEES_DBSPAM_BODY3,
    ATTENDEES_DBSPAM_BODY7,BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,SPF_HELO_NONE,SPF_NONE,
    UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 52; hammy, 150; neutral, 149; spammy,
    0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311 Return-path: <lucas@debian.org>
    Received: from stra