• Bug#1046412: unison-2.52: Fails to build source after successful build

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

    Source: unison-2.52
    Version: 2.52.1-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 unison-2.52
    dpkg-buildpackage: info: source version 2.52.1-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
    debian/rules override_dh_auto_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    /usr/bin/make clean
    make[2]: Entering directory '/<<PKGBUILDDIR>>'
    Cannot find file /<<PKGBUILDDIR>>/configure.ml.
    Cannot find file /<<PKGBUILDDIR>>/configure.ml.
    Cannot find file /<<PKGBUILDDIR>>/configure.ml.
    Cannot find file /<<PKGBUILDDIR>>/configure.ml.
    Cannot find file /<<PKGBUILDDIR>>/configure.ml.
    rm -f ubase/projectInfo.ml
    rm -f fsmonitor/linux/*.cm[iox] fsmonitor/linux/*.o fsmonitor/linux/*~
    rm -f unison-fsmonitor
    rm -f -r *.cmi *.cmo *.cmx *.cma *.cmxa TAGS tags
    rm -f -r *.o core gmon.out *~ .*~
    rm -f -r *.obj *.lib *.exp
    rm -f -r *.tmp *.bak?.tmp .*.bak?.tmp
    rm -f system/*.cm[iox] system/*.{o,obj} system/win/*~
    rm -f system/generic/*.cm[iox] system/generic/*.{o,obj} system/generic/*~
    rm -f system/win/*.cm[iox] system/win/*.{o,obj} system/win/*~
    rm -f fsmonitor/*.cm[iox] fsmonitor/*.{o,obj}
    rm -f -r *.tmp \
    *.o *.obj *.cmo *.cmx *.cmi core TAGS *~ *.log \
    *.aux *.log *.dvi *.out *.backup[0-9] *.bak
    /usr/bin/make -C doc clean
    make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
    Cannot find file /<<PKGBUILDDIR>>/doc/configure.ml.
    Cannot find file /<<PKGBUILDDIR>>/doc/configure.ml.
    Cannot find file /<<PKGBUILDDIR>>/doc/configure.ml.
    Cannot find file /<<PKGBUILDDIR>>/doc/configure.ml.
    rm -f ubase/projectInfo.ml
    rm -f -r *.cmi *.cmo *.cmx *.cma *.cmxa TAGS tags
    rm -f -r *.o core gmon.out *~ .*~
    rm -f -r *.obj *.lib *.exp
    rm -f -r *.tmp *.bak?.tmp .*.bak?.tmp
    rm -f system/*.cm[iox] system/*.{o,obj} system/win/*~
    rm -f system/generic/*.cm[iox] system/generic/*.{o,obj} system/generic/*~
    rm -f system/win/*.cm[iox] system/win/*.{o,obj} system/win/*~
    rm -f fsmonitor/*.cm[iox] fsmonitor/*.{o,obj}
    rm -f -r \
    *.dtxt *.aux *.haux *.log *.out \
    texdirectives.tex \
    junk.* *.htoc *.toc *.bak \
    docs docs.exe temp.dvi temp.html unison-manual.html \
    postproc postproc.exe postproc.ml \
    unison-manual.dvi unison-manual.ps unison-manual.pdf \
    unison-manual.txt unison-manual.info* unisonversion.tex \
    contact.html faq.html faq.haux index.html
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
    /usr/bin/make -C man clean
    make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
    rm -f *.tmp unison.1
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
    /usr/bin/make -C src clean
    make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
    rm -f ubase/projectInfo.ml
    rm -f fsmonitor/linux/*.cm[iox] fsmonitor/linux/*.o fsmonitor/linux/*~
    rm -f unison-fsmonitor
    rm -f -r *.cmi *.cmo *.cmx *.cma *.cmxa TAGS tags
    rm -f -r *.o core gmon.out *~ .*~
    rm -f -r *.obj *.lib *.exp
    rm -f -r *.tmp *.bak?.tmp .*.bak?.tmp
    rm -f system/*.cm[iox] system/*.{o,obj} system/win/*~
    rm -f system/generic/*.cm[iox] system/generic/*.{o,obj} system/generic/*~
    rm -f system/win/*.cm[iox] system/win/*.{o,obj} system/win/*~
    rm -f fsmonitor/*.cm[iox] fsmonitor/*.{o,obj}
    rm -f *.log *.aux *.log *.dvi *.out *.bak
    rm -f -r obsolete
    rm -f unison unison.exe
    rm -f unison-blob.o
    /usr/bin/make -C ubase clean
    make[4]: Entering directory '/<<PKGBUILDDIR>>/src/ubase'
    rm -f *.cmi *.cmo *.cmx *.cma *.cmxa *.a *.o *~ *.bak
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/ubase'
    /usr/bin/make -C lwt clean
    make[4]: Entering directory '/<<PKGBUILDDIR>>/src/lwt'
    rm -f -f *.cmi *.cmo *.cmx *.cma *.cmxa *.a *.{o,obj} *~ *.bak
    rm -f -f generic/*.cm[ioxa] generic/*.cmxa generic/*.a generic/*.{o,obj} generic/*~ generic/*.bak
    rm -f -f win/*.cm[ioxa] win/*.cmxa win/*.a win/*.{o,obj} win/*~ win/*.bak
    cd example && /usr/bin/make clean
    make[5]: Entering directory '/<<PKGBUILDDIR>>/src/lwt/example'
    rm -f *.cmi *.cmo *~ relay start_editor
    make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/lwt/example'
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/lwt'
    /usr/bin/make -C fsmonitor/windows clean
    make[4]: Entering directory '/<<PKGBUILDDIR>>/src/fsmonitor/windows'
    rm -f fsmonitor/windows/*.cm[iox] fsmonitor/windows/*.{o,obj} fsmonitor/windows/*~
    rm -f unison-fsmonitor
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/fsmonitor/windows'
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    rm -f src/ubase/depend
    rm -f unison-text unison-gtk
    rm -f unison-manual.txt unison.1
    rm -f debian/unison-gtk.png debian/unison-gtk.xpm
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_ocamlclean
    debian/rules override_dh_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_clean
    rm -f unison.1 debian/unison-2.52.install debian/unison-2.52-gtk.install make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dpkg-source -b .
    dpkg-source: info: using source format '3.0 (quilt)'
    dpkg-source: info: building unison-2.52 using existing ./unison-2.52_2.52.1.orig.tar.gz
    dpkg-source: error: cannot represent change to src/lwt/lwt.o: binary file contents changed
    dpkg-source: error: add src/lwt/lwt.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 src/lwt/lwt_unix.o: binary file contents changed
    dpkg-source: error: add src/lwt/lwt_unix.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 src/lwt/lwt_util.o: binary file contents changed
    dpkg-source: error: add src/lwt/lwt_util.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 src/lwt/pqueue.o: binary file contents changed
    dpkg-source: error: add src/lwt/pqueue.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/unison-2.52_2.52.1-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 Tue Sep 26 18:30:02 2023
    This is a multi-part message in MIME format...

    Your message dated Tue, 26 Sep 2023 16:22:08 +0000
    with message-id <E1qlAp6-009AeS-Lt@fasolo.debian.org>
    and subject line Bug#1050381: Removed package(s) from unstable
    has caused the Debian Bug report #1046412,
    regarding unison-2.52: 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.)


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

    Received: (at submit) by bugs.debian.org; 13 Aug 2023 20:39:09 +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=-102.1 required=4.0 tests=ATTENDEES_DBSPAM_BODY2,
    ATTENDEES_DBSPAM_BODY3,ATTENDEES_DBSPAM_BODY7,BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    FROMDEVELOPER,FVGT_m_MULTI_ODD,PP_MIME_FAKE_ASCII_TEXT,SPF_HELO_NONE,
    SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST autolearn=no autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 113; hammy, 150; neutral, 252; 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-spa