• Bug#1046147: menhir: Fails to build source after successful build

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

    Source: menhir
    Version: 20220210+ds1-1
    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 menhir
    dpkg-buildpackage: info: source version 20220210+ds1-1
    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 --buildsystem ocaml_dune
    dh_auto_clean -O--buildsystem=ocaml_dune
    dune clean
    dh_autoreconf_clean -O--buildsystem=ocaml_dune
    dh_ocamlclean -O--buildsystem=ocaml_dune
    dh_clean -O--buildsystem=ocaml_dune
    dpkg-source -b .
    dpkg-source: info: using source format '3.0 (quilt)'
    dpkg-source: info: building menhir using existing ./menhir_20220210+ds1.orig.tar.xz
    dpkg-source: info: using patch list from debian/patches/series
    dpkg-source: warning: newly created empty file 'doc/manual.image.out' will not be represented in diff
    dpkg-source: error: cannot represent change to doc/manual.pdf: binary file contents changed
    dpkg-source: error: add doc/manual.pdf in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: error: cannot represent change to doc/manual001.png: binary file contents changed
    dpkg-source: error: add doc/manual001.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: error: cannot represent change to doc/manual002.png: binary file contents changed
    dpkg-source: error: add doc/manual002.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
    dpkg-source: error: cannot represent change to doc/manual003.png: binary file contents changed
    dpkg-source: error: add doc/manual003.png 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/menhir_20220210+ds1-1_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 Sun Aug 27 07:10:01 2023
    Processing control commands:

    tag -1 pending
    Bug #1046147 [src:menhir] menhir: Fails to build source after successful build Added tag(s) pending.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Aug 27 07:30:01 2023
    This is a multi-part message in MIME format...

    Your message dated Sun, 27 Aug 2023 05:19:01 +0000
    with message-id <E1qa8Av-000VWR-0Z@fasolo.debian.org>
    and subject line Bug#1046147: fixed in menhir 20230608+ds-1
    has caused the Debian Bug report #1046147,
    regarding menhir: 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.)


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

    Received: (at submit) by bugs.debian.org; 13 Aug 2023 20:21:58 +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,FVGT_m_MULTI_ODD,
    MURPHY_DRUGS_REL8,PP_MIME_FAKE_ASCII_TEXT,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, 19; hammy, 150; neutral, 154; spammy,
    0. spammytokens: hammytokens:0.000-+--UD:orig.tar.xz,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin Ret