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

Bug#1114238: ocaml-fpath: FTBFS: dh_missing: error: missing files, aborting



Package: src:ocaml-fpath
Version: 0.7.3-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ocaml-fpath, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with ocaml
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ocaml pkg/pkg.ml clean
+ ocamlfind ocamlc -config
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_ocamlclean
   dh_clean
 debian/rules binary
dh binary --with ocaml
   dh_update_autotools_config
   dh_autoreconf
   dh_ocamlinit
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ocaml pkg/pkg.ml build --tests true
+ ocamlfind ocamlc -config
+ ocamlfind ocamldep -package astring -modules src/fpath.ml > src/fpath.ml.depends
+ ocamlfind ocamldep -package astring -modules src/fpath.mli > src/fpath.mli.depends
+ ocamlfind ocamlc -c -g -bin-annot -safe-string -package astring -I src -I test -o src/fpath.cmi src/fpath.mli
+ ocamlfind ocamlopt -c -g -bin-annot -safe-string -package astring -I src -I test -o src/fpath.cmx src/fpath.ml
+ ocamlfind ocamlopt -c -g -bin-annot -safe-string -package astring -I src -I test -o src/fpath.cmx src/fpath.ml
File "src/fpath.ml", line 40, characters 22-38:
40 |   let is_unc_path p = String.is_prefix "\\\\" p
                           ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 124, characters 21-37:
124 |   let has_volume p = String.is_prefix "//" p
                           ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 427, characters 10-26:
427 |   if not (String.is_prefix prefix p) then false else
                ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 548, characters 42-58:
548 | | Some r -> not (String.equal dotdot r || String.is_prefix dotdot_dir r)
                                                ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 563, characters 32-48:
563 | | true -> String.equal dot p || String.is_prefix dot_dir p
                                      ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 578, characters 35-51:
578 | | true -> String.equal dotdot p || String.is_prefix dotdot_dir p
                                         ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 633, characters 18-31:
633 |   if not (String.(Sub.is_suffix (sub e) ext)) then false else
                        ^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.
+ ocamlfind ocamlopt -a -package astring -I src src/fpath.cmx -o src/fpath.cmxa
+ ocamlfind ocamlopt -shared -linkall -package astring -I src src/fpath.cmxa -o src/fpath.cmxs
+ ocamlfind ocamlc -c -g -bin-annot -safe-string -package astring -I src -I test -o src/fpath.cmo src/fpath.ml
+ ocamlfind ocamlc -c -g -bin-annot -safe-string -package astring -I src -I test -o src/fpath.cmo src/fpath.ml
File "src/fpath.ml", line 40, characters 22-38:
40 |   let is_unc_path p = String.is_prefix "\\\\" p
                           ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 124, characters 21-37:
124 |   let has_volume p = String.is_prefix "//" p
                           ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 427, characters 10-26:
427 |   if not (String.is_prefix prefix p) then false else
                ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 548, characters 42-58:
548 | | Some r -> not (String.equal dotdot r || String.is_prefix dotdot_dir r)
                                                ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 563, characters 32-48:
563 | | true -> String.equal dot p || String.is_prefix dot_dir p
                                      ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 578, characters 35-51:
578 | | true -> String.equal dotdot p || String.is_prefix dotdot_dir p
                                         ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.

File "src/fpath.ml", line 633, characters 18-31:
633 |   if not (String.(Sub.is_suffix (sub e) ext)) then false else
                        ^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label affix was omitted in the application of this function.
+ ocamlfind ocamlc -a -package astring -I src src/fpath.cmo -o src/fpath.cma
+ ocamlfind ocamldep -package compiler-libs.toplevel -package astring -modules src/fpath_top.ml > src/fpath_top.ml.depends
+ ocamlfind ocamlc -c -g -bin-annot -safe-string -package compiler-libs.toplevel -package astring -I src -I test -o src/fpath_top.cmo src/fpath_top.ml
+ ocamlfind ocamlopt -c -g -bin-annot -safe-string -package compiler-libs.toplevel -package astring -I src -I test -o src/fpath_top.cmx src/fpath_top.ml
+ ocamlfind ocamlopt -a -package compiler-libs.toplevel -package astring -I src src/fpath_top.cmx -o src/fpath_top.cmxa
+ ocamlfind ocamlopt -shared -linkall -package compiler-libs.toplevel -package astring -I src src/fpath_top.cmxa -o src/fpath_top.cmxs
+ ocamlfind ocamlc -a -package compiler-libs.toplevel -package astring -I src src/fpath_top.cmo -o src/fpath_top.cma
+ ocamlfind ocamldep -package astring -modules test/test.ml > test/test.ml.depends
+ ocamlfind ocamldep -package astring -modules test/test_fpath.ml > test/test_fpath.ml.depends
+ ocamlfind ocamldep -package astring -modules test/testing.mli > test/testing.mli.depends
+ ocamlfind ocamlc -c -g -bin-annot -safe-string -package astring -I test -I src -o test/testing.cmi test/testing.mli
+ ocamlfind ocamlc -c -g -bin-annot -safe-string -package astring -I test -I src -o test/test_fpath.cmo test/test_fpath.ml
+ ocamlfind ocamlc -c -g -bin-annot -safe-string -package astring -I test -I src -o test/test_fpath.cmo test/test_fpath.ml
File "test/test_fpath.ml", line 666, characters 39-55:
666 |   let relativize root p result = match Fpath.relativize root p with
                                             ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label root was omitted in the application of this function.
+ ocamlfind ocamlc -c -g -bin-annot -safe-string -package astring -I test -I src -o test/test.cmo test/test.ml
+ ocamlfind ocamldep -package astring -modules test/testing.ml > test/testing.ml.depends
+ ocamlfind ocamlopt -c -g -bin-annot -safe-string -package astring -I test -I src -o test/testing.cmx test/testing.ml
+ ocamlfind ocamlopt -c -g -bin-annot -safe-string -package astring -I test -I src -o test/test_fpath.cmx test/test_fpath.ml
+ ocamlfind ocamlopt -c -g -bin-annot -safe-string -package astring -I test -I src -o test/test_fpath.cmx test/test_fpath.ml
File "test/test_fpath.ml", line 666, characters 39-55:
666 |   let relativize root p result = match Fpath.relativize root p with
                                             ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label root was omitted in the application of this function.
+ ocamlfind ocamlopt -c -g -bin-annot -safe-string -package astring -I test -I src -o test/test.cmx test/test.ml
+ ocamlfind ocamlopt -linkpkg -g -package astring -I src -I test src/fpath.cmx test/testing.cmx test/test_fpath.cmx test/test.cmx -o test/test.native
# No parallelism done
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ocaml pkg/pkg.ml test
Fpath module
* Fpath.{v,of_string}
* Fpath.dir_sep
* Fpath.is_seg
* Fpath.add_seg
* Fpath.append
* Fpath.split_volume
* Fpath.segs
* Fpath.is_dir_path
* Fpath.is_file_path
* Fpath.to_dir_path
* Fpath.filename
* Fpath.split_base
* Fpath.base
* Fpath.basename
* Fpath.parent
* Fpath.rem_empty_seg
* Fpath.normalize
* Fpath.is_prefix
* Fpath.find_prefix
* Fpath.rem_prefix
* Fpath.relativize
* Fpath.is_rooted
* Fpath.is_abs_rel
* Fpath.is_root
* Fpath.is_current_dir
* Fpath.is_parent_dir
* Fpath.is_dotfile
* Fpath.get_ext
* Fpath.has_ext
* Fpath.exists_ext
* Fpath.add_ext
* Fpath.rem_ext
* Fpath.set_ext
* Fpath.split_ext
[OK] All 959 assertions succeeded !

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
opam-installer \
	--prefix=/<<PKGBUILDDIR>>/debian/tmp \
	--libdir=./usr/lib/x86_64-linux-gnu/ocaml/5.3.0 fpath.install
Creating directory /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath
_build/opam                      => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/opam
_build/pkg/META                  => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/META
_build/src/fpath.a               => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath.a
_build/src/fpath.cma             => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath.cma
_build/src/fpath.cmi             => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath.cmi
_build/src/fpath.cmt             => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath.cmt
_build/src/fpath.cmti            => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath.cmti
_build/src/fpath.cmx             => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath.cmx
_build/src/fpath.cmxa            => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath.cmxa
_build/src/fpath.cmxs            => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath.cmxs
_build/src/fpath.ml              => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath.ml
_build/src/fpath.mli             => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath.mli
_build/src/fpath_top.a           => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath_top.a
_build/src/fpath_top.cma         => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath_top.cma
_build/src/fpath_top.cmt         => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath_top.cmt
_build/src/fpath_top.cmx         => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath_top.cmx
_build/src/fpath_top.cmxa        => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath_top.cmxa
_build/src/fpath_top.cmxs        => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath_top.cmxs
_build/src/fpath_top.ml          => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath_top.ml
_build/src/fpath_top_init.ml     => /<<PKGBUILDDIR>>/debian/tmp/./usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath_top_init.ml
Creating directory /<<PKGBUILDDIR>>/debian/tmp/doc/fpath
_build/CHANGES.md                => /<<PKGBUILDDIR>>/debian/tmp/doc/fpath/CHANGES.md
_build/LICENSE.md                => /<<PKGBUILDDIR>>/debian/tmp/doc/fpath/LICENSE.md
_build/README.md                 => /<<PKGBUILDDIR>>/debian/tmp/doc/fpath/README.md
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install
   dh_ocamldoc
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
dh_missing: warning: usr/lib/x86_64-linux-gnu/ocaml/5.3.0/fpath/fpath.ml exists in debian/tmp but is not installed to anywhere 
dh_missing: error: missing files, aborting
	The following debhelper tools have reported what they installed (with files per package)
	 * dh_install: libfpath-ocaml (3), libfpath-ocaml-dev (16)
	 * dh_installdocs: libfpath-ocaml (0), libfpath-ocaml-dev (2)
	If the missing files are installed by another tool, please file a bug against it.
	When filing the report, if the tool is not part of debhelper itself, please reference the
	"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
	  (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.md.gz)
	Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
	If the omission is intentional or no other helper can take care of this consider adding the
	paths to debian/not-installed.

	Remember to be careful with paths containing "x86_64-linux-gnu", where you might need to
	use a wildcard or (assuming compat 13+) e.g. ${DEB_HOST_MULTIARCH} in debian/not-installed
	to ensure it works on all architectures (see #961104).
make: *** [debian/rules:7: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------


Reply to: