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

Bug#1044017: camlp5: Fails to build source after successful build



Source: camlp5
Version: 8.00.04-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 camlp5
> dpkg-buildpackage: info: source version 8.00.04-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>>'
> dh_auto_clean
> 	make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make clean_hot clean_cold
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> cd ocaml_stuff; make clean; cd ..
> for i in lib odyl main meta; do \
> 	(cd ocaml_src/$i; make clean; cd ../..); \
> done
> make[4]: Entering directory '/<<PKGBUILDDIR>>/ocaml_stuff'
> cd ./4.13.0/utils; \
> make clean EXE=
> make[4]: Entering directory '/<<PKGBUILDDIR>>/ocaml_src/lib'
> rm -f *.cm[ioax] *.cmxa *.pp[io] *.[ao] *.obj *.lib *.bak .*.bak
> make[5]: Entering directory '/<<PKGBUILDDIR>>/ocaml_stuff/4.13.0/utils'
> rm -f *.cm[oix] *.o
> rm -f gramlib.cma
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/ocaml_stuff/4.13.0/utils'
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/ocaml_stuff'
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/ocaml_src/lib'
> for i in lib odyl main meta etc top ocpp man  compile; do (cd $i; make clean; cd ..); done
> make[4]: Entering directory '/<<PKGBUILDDIR>>/ocaml_src/odyl'
> rm -f *.cm* *.pp[io] *.[ao] *.obj *.lib *.bak .*.bak *.out *.opt
> make[4]: Entering directory '/<<PKGBUILDDIR>>/lib'
> rm -f *.cm[ioax] *.cmxa *.pp[io] *.[ao] *.obj *.lib *.bak .*.bak
> rm -f odyl_config.ml odyl
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/ocaml_src/odyl'
> rm -f gramlib.cma
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/ocaml_src/main'
> rm -f *.cm* *.pp[io] *.[ao] *.obj *.lib *.bak .*.bak *.out *.opt
> make[4]: Entering directory '/<<PKGBUILDDIR>>/odyl'
> rm -f *.cm* *.pp[io] *.[ao] *.obj *.lib *.bak .*.bak *.out *.opt
> rm -f camlp5
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/ocaml_src/main'
> rm -f odyl_config.ml odyl
> make[4]: Entering directory '/<<PKGBUILDDIR>>/ocaml_src/meta'
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/odyl'
> rm -f *.cm* *.pp[io] *.[ao] *.obj *.lib *.bak .*.bak q_MLast.cmo q_ast_base.cmo q_ast.cmo pa_r.cmo pa_rp.cmo pa_macro.cmo pa_macro_gram.cmo pa_fstream.cmo pa_extend.cmo pa_extend_m.cmo pr_dump.cmo pa_lexer.cmo camlp5r q_MLast.cmx q_ast_base.cmx q_ast.cmx pa_r.cmx pa_rp.cmx pa_macro.cmx pa_macro_gram.cmx pa_fstream.cmx pa_extend.cmx pa_extend_m.cmx pr_dump.cmx pa_lexer.cmx camlp5r.opt
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/ocaml_src/meta'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/main'
> rm -f *.cm* *.pp[io] *.[ao] *.obj *.lib *.bak .*.bak *.out *.opt
> rm -f camlp5
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/main'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/meta'
> rm -f *.cm* *.pp[io] *.[ao] *.obj *.lib *.bak .*.bak q_MLast.cmo q_ast_base.cmo q_ast.cmo pa_r.cmo pa_rp.cmo pa_macro.cmo pa_macro_gram.cmo pa_fstream.cmo pa_extend.cmo pa_extend_m.cmo pr_dump.cmo pa_lexer.cmo camlp5r q_MLast.cmx q_ast_base.cmx q_ast.cmx pa_r.cmx pa_rp.cmx pa_macro.cmx pa_macro_gram.cmx pa_fstream.cmx pa_extend.cmx pa_extend_m.cmx pr_dump.cmx pa_lexer.cmx camlp5r.opt
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/meta'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/etc'
> rm -f *.cm* *.pp[io] *.[ao] *.obj *.lib *.bak .*.bak *.out *.opt
> rm -f camlp5o camlp5sch
> rm -f META
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/etc'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/top'
> rm -f *.cm[ioa] *.pp[io] *.[ao] *.obj *.lib *.bak .*.bak camlp5o.cma camlp5r.cma camlp5sch.cma camlp5_top.cma
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/top'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/ocpp'
> rm -f *.cm[ioa] *.pp[io] *.[ao] *.obj *.lib *.out *.bak .*.bak
> rm -f ocpp
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/ocpp'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/man'
> rm -f camlp5.1
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/man'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/compile'
> rm -f *.cm* *.pp[io] *.[oa] *.lib *.obj *.bak .*.bak *.out *.opt
> rm -f *.fast tmp.* pa_*_fast.ml *.tmp *.ppo
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/compile'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f boot/*.cm[oi] boot/camlp5*
> rm -rf boot/SAVED
> rm -rf local-install
> make -C test clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/test'
> rm -f *.ml[tu] tmp.* *.cm* *.log *.cache *.ppo
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/test'
> make -C testsuite clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/testsuite'
> rm -f *.cm* *.byte *.log *.cache *.ppo tools/*.byte tools/*.opt
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/testsuite'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -rf doc/html/rss doc/html/*.html
> 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 camlp5 using existing ./camlp5_8.00.04.orig.tar.gz
> dpkg-source: error: cannot represent change to _doc/doc/dvi/camlp5-8.00.04.dvi: binary file contents changed
> dpkg-source: error: add _doc/doc/dvi/camlp5-8.00.04.dvi 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/doc/htmlz/camlp5-8.00.04.html.tgz: binary file contents changed
> dpkg-source: error: add _doc/doc/htmlz/camlp5-8.00.04.html.tgz 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/doc/info/camlp5-8.00.04.info.tgz: binary file contents changed
> dpkg-source: error: add _doc/doc/info/camlp5-8.00.04.info.tgz 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/doc/pdf/camlp5-8.00.04.pdf: binary file contents changed
> dpkg-source: error: add _doc/doc/pdf/camlp5-8.00.04.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/htmlp/camlp5.dvi: binary file contents changed
> dpkg-source: error: add doc/htmlp/camlp5.dvi 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/htmlp/camlp5.pdf: binary file contents changed
> dpkg-source: error: add doc/htmlp/camlp5.pdf 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/camlp5_8.00.04-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: