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

Bug#1045802: ocaml-afl-persistent: Fails to build source after successful build



Source: ocaml-afl-persistent
Version: 1.4-3
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 ocaml-afl-persistent
> dpkg-buildpackage: info: source version 1.4-3
> 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
>    dh_ocamlclean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building ocaml-afl-persistent using existing ./ocaml-afl-persistent_1.4.orig.tar.gz
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/dune-package:
> dpkg-source: error:   new version is symlink to ../../../../default/afl-persistent.dune-package
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/aflPersistent.mli:
> dpkg-source: error:   new version is symlink to ../../../../default/aflPersistent.mli
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/aflPersistent.cmti:
> dpkg-source: error:   new version is symlink to ../../../../default/.afl_persistent.objs/byte/aflPersistent.cmti
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/aflPersistent.cmt:
> dpkg-source: error:   new version is symlink to ../../../../default/.afl_persistent.objs/byte/aflPersistent.cmt
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/opam:
> dpkg-source: error:   new version is symlink to ../../../../default/afl-persistent.opam
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/META:
> dpkg-source: error:   new version is symlink to ../../../../default/META.afl-persistent
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/aflPersistent.cmi:
> dpkg-source: error:   new version is symlink to ../../../../default/.afl_persistent.objs/byte/aflPersistent.cmi
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/aflPersistent.cmx:
> dpkg-source: error:   new version is symlink to ../../../../default/.afl_persistent.objs/native/aflPersistent.cmx
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/afl_persistent.a:
> dpkg-source: error:   new version is symlink to ../../../../default/afl_persistent.a
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/afl_persistent.cmxa:
> dpkg-source: error:   new version is symlink to ../../../../default/afl_persistent.cmxa
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/aflPersistent.ml:
> dpkg-source: error:   new version is symlink to ../../../../default/aflPersistent.ml
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/afl_persistent.cmxs:
> dpkg-source: error:   new version is symlink to ../../../../default/afl_persistent.cmxs
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/lib/afl-persistent/afl_persistent.cma:
> dpkg-source: error:   new version is symlink to ../../../../default/afl_persistent.cma
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/doc/afl-persistent/CHANGES.md:
> dpkg-source: error:   new version is symlink to ../../../../default/CHANGES.md
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/doc/afl-persistent/LICENSE.md:
> dpkg-source: error:   new version is symlink to ../../../../default/LICENSE.md
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/install/default/doc/afl-persistent/README.md:
> dpkg-source: error:   new version is symlink to ../../../../default/README.md
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to _build/.db: binary file contents changed
> dpkg-source: error: add _build/.db in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to _build/.digest-db: binary file contents changed
> dpkg-source: error: add _build/.digest-db in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file ocaml-afl-persistent-1.4/_build/.filesystem-clock has no final newline (either original or modified version)
> dpkg-source: warning: file ocaml-afl-persistent-1.4/_build/.lock has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to _build/default/.afl_persistent.objs/byte/aflPersistent.cmi: binary file contents changed
> dpkg-source: error: add _build/default/.afl_persistent.objs/byte/aflPersistent.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 _build/default/.afl_persistent.objs/byte/aflPersistent.cmo: binary file contents changed
> dpkg-source: error: add _build/default/.afl_persistent.objs/byte/aflPersistent.cmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to _build/default/.afl_persistent.objs/byte/aflPersistent.cmt: binary file contents changed
> dpkg-source: error: add _build/default/.afl_persistent.objs/byte/aflPersistent.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 _build/default/.afl_persistent.objs/byte/aflPersistent.cmti: binary file contents changed
> dpkg-source: error: add _build/default/.afl_persistent.objs/byte/aflPersistent.cmti in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to _build/default/.afl_persistent.objs/native/aflPersistent.cmx: binary file contents changed
> dpkg-source: error: add _build/default/.afl_persistent.objs/native/aflPersistent.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 _build/default/.afl_persistent.objs/native/aflPersistent.o: binary file contents changed
> dpkg-source: error: add _build/default/.afl_persistent.objs/native/aflPersistent.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file ocaml-afl-persistent-1.4/_build/default/.dune/configurator.v2 has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to _build/default/.merlin-conf/lib-afl-persistent: binary file contents changed
> dpkg-source: error: add _build/default/.merlin-conf/lib-afl-persistent in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file ocaml-afl-persistent-1.4/_build/default/META.afl-persistent has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to _build/default/afl_persistent.a: binary file contents changed
> dpkg-source: error: add _build/default/afl_persistent.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 _build/default/afl_persistent.cma: binary file contents changed
> dpkg-source: error: add _build/default/afl_persistent.cma in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to _build/default/afl_persistent.cmxa: binary file contents changed
> dpkg-source: error: add _build/default/afl_persistent.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 _build/default/afl_persistent.cmxs: binary file contents changed
> dpkg-source: error: add _build/default/afl_persistent.cmxs in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0555 of '_build/default/afl_persistent.cmxs' will not be represented in diff
> dpkg-source: warning: executable mode 0555 of '_build/default/config.sh' will not be represented in diff
> dpkg-source: warning: executable mode 0555 of '_build/default/debian/rules' will not be represented in diff
> dpkg-source: warning: newly created empty file '_build/default/ocamlinit-stamp' will not be represented in diff
> dpkg-source: warning: executable mode 0555 of '_build/default/test/test.sh' 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/ocaml-afl-persistent_1.4-3_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: