[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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.


Reply to: