Bug#917058: ocaml-migrate-parsetree FTBFS:

2018-12-23 Thread Andy Li
Hi Ralf,

I've just pushed to salsa for a fix and update to the latest upstream
version.
I tested the update with autopkgtests against unstable-amd64 and
unstable-mips, both passed.
Would you review and upload?

Best,
Andy

On Sat, Dec 22, 2018 at 9:00 AM Adrian Bunk  wrote:

> Source: ocaml-migrate-parsetree
> Version: 1.0.10-2
> Severity: serious
> Tags: ftbfs
>
> Some recent change in unstable makes ocaml-migrate-parsetree FTBFS:
>
>
> https://tests.reproducible-builds.org/debian/history/ocaml-migrate-parsetree.html
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ocaml-migrate-parsetree.html
>
> ...
> make -j1 install
> DESTDIR=/build/1st/ocaml-migrate-parsetree-1.0.10/debian/tmp
> AM_UPDATE_INFO_DIR=no
> "INSTALL_ARGS=--destdir=/build/1st/ocaml-migrate-parsetree-1.0.10/debian/tmp
> --libdir=/build/1st/ocaml-migrate-parsetree-1.0.10/debian/tmp/usr/lib/ocaml
> --verbose"
> make[2]: Entering directory '/build/1st/ocaml-migrate-parsetree-1.0.10'
> jbuilder install
> --destdir=/build/1st/ocaml-migrate-parsetree-1.0.10/debian/tmp
> --libdir=/build/1st/ocaml-migrate-parsetree-1.0.10/debian/tmp/usr/lib/ocaml
> --verbose
> # Workspace root: /build/1st/ocaml-migrate-parsetree-1.0.10
> Running[0]: /usr/bin/nproc > /tmp/dune67e2fd.output 2> /dev/null
> # # Workspace root: /build/1st/ocaml-migrate-parsetree-1.0.10
> # Auto-detected concurrency: 16
> Running[1]: /usr/bin/ocamlc.opt -config > /tmp/dune707986.output
> # # # Workspace root: /build/1st/ocaml-migrate-parsetree-1.0.10
> # # Auto-detected concurrency: 16
> # Dune context:
> #  ((name default)
> #   (kind default)
> #   (profile release)
> #   (merlin true)
> #   (for_host ())
> #   (build_dir (In_build_dir default))
> #   (toplevel_path ())
> #   (ocaml_bin (External /usr/bin))
> #   (ocaml (External /usr/bin/ocaml))
> #   (ocamlc (External /usr/bin/ocamlc.opt))
> #   (ocamlopt ((External /usr/bin/ocamlopt.opt)))
> #   (ocamldep (External /usr/bin/ocamldep.opt))
> #   (ocamlmklib (External /usr/bin/ocamlmklib.opt))
> #   (env
> #((CAML_LD_LIBRARY_PATH
> #
> /build/1st/ocaml-migrate-parsetree-1.0.10/_build/install/default/lib/stublibs)
> # (DUNE_CONFIGURATOR /usr/bin/ocamlc.opt)
> # (INSIDE_DUNE 1)
> # (MANPATH
> #
> /build/1st/ocaml-migrate-parsetree-1.0.10/_build/install/default/bin)
> # (OCAMLFIND_IGNORE_DUPS_IN
> #
> /build/1st/ocaml-migrate-parsetree-1.0.10/_build/install/default/lib)
> # (OCAMLPATH
> #
> /build/1st/ocaml-migrate-parsetree-1.0.10/_build/install/default/lib)))
> #   (findlib_path ((External /usr/lib/ocaml)))
> #   (arch_sixtyfour true)
> #   (natdynlink_supported true)
> #   (supports_shared_libraries true)
> #   (opam_vars ())
> #   (ocaml_config
> #((version 4.05.0)
> # (standard_library_default /usr/lib/ocaml)
> # (standard_library /usr/lib/ocaml)
> # (standard_runtime /usr/bin/ocamlrun)
> # (ccomp_type cc)
> # (c_compiler gcc)
> # (ocamlc_cflags
> #  (-O2
> #   -fno-strict-aliasing
> #   -fwrapv
> #   -D_FILE_OFFSET_BITS=64
> #   -D_REENTRANT
> #   -fPIC))
> # (ocamlopt_cflags
> #  (-O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64
> -D_REENTRANT))
> # (bytecomp_c_compiler
> #  (gcc
> #   -O2
> #   -fno-strict-aliasing
> #   -fwrapv
> #   -D_FILE_OFFSET_BITS=64
> #   -D_REENTRANT
> #   -fPIC))
> # (bytecomp_c_libraries (-lm -ldl -lcurses -lpthread))
> # (native_c_compiler
> #  (gcc
> #   -O2
> #   -fno-strict-aliasing
> #   -fwrapv
> #   -D_FILE_OFFSET_BITS=64
> #   -D_REENTRANT))
> # (native_c_libraries (-lm -ldl))
> # (cc_profile (-pg))
> # (architecture amd64)
> # (model default)
> # (int_size 63)
> # (word_size 64)
> # (system linux)
> # (asm (as))
> # (asm_cfi_supported true)
> # (with_frame_pointers false)
> # (ext_exe )
> # (ext_obj .o)
> # (ext_asm .s)
> # (ext_lib .a)
> # (ext_dll .so)
> # (os_type Unix)
> # (default_executable_name a.out)
> # (systhread_supported true)
> # (host x86_64-pc-linux-gnu)
> # (target x86_64-pc-linux-gnu)
> # (profiling true)
> # (flambda false)
> # (spacetime false)
> # (safe_string false)
> # (exec_magic_number Caml1999X011)
> # (cmi_magic_number Caml1999I021)
> # (cmo_magic_number Caml1999O011)
> # (cma_magic_number Caml1999A012)
> # (cmx_magic_number Caml1999Y015)
> # (cmxa_magic_number Caml1999Z014)
> # (ast_impl_magic_number Caml1999M020)
> # (ast_intf_magic_number Caml1999N018)
> # (cmxs_magic_number Caml2007D002)
> # (cmt_magic_number Caml2012T009)
> # (natdynlink_supported true)
> # (supports_shared_libraries true)
> # (windows_unicode false)))
> #   (which
> #((ocaml ((External /usr/bin/ocaml)))
> # (ocamlc ((External /usr/bin/ocamlc.opt))
> Running[2]: /usr/bin/opam config var prefix > /tmp/dune55264d.output
> Output[2]:
> [WARNING] Running as root is 

Bug#917058: ocaml-migrate-parsetree FTBFS:

2018-12-21 Thread Adrian Bunk
Source: ocaml-migrate-parsetree
Version: 1.0.10-2
Severity: serious
Tags: ftbfs

Some recent change in unstable makes ocaml-migrate-parsetree FTBFS:

https://tests.reproducible-builds.org/debian/history/ocaml-migrate-parsetree.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ocaml-migrate-parsetree.html

...
make -j1 install DESTDIR=/build/1st/ocaml-migrate-parsetree-1.0.10/debian/tmp 
AM_UPDATE_INFO_DIR=no 
"INSTALL_ARGS=--destdir=/build/1st/ocaml-migrate-parsetree-1.0.10/debian/tmp 
--libdir=/build/1st/ocaml-migrate-parsetree-1.0.10/debian/tmp/usr/lib/ocaml 
--verbose"
make[2]: Entering directory '/build/1st/ocaml-migrate-parsetree-1.0.10'
jbuilder install --destdir=/build/1st/ocaml-migrate-parsetree-1.0.10/debian/tmp 
--libdir=/build/1st/ocaml-migrate-parsetree-1.0.10/debian/tmp/usr/lib/ocaml 
--verbose
# Workspace root: /build/1st/ocaml-migrate-parsetree-1.0.10
Running[0]: /usr/bin/nproc > /tmp/dune67e2fd.output 2> /dev/null
# # Workspace root: /build/1st/ocaml-migrate-parsetree-1.0.10
# Auto-detected concurrency: 16
Running[1]: /usr/bin/ocamlc.opt -config > /tmp/dune707986.output
# # # Workspace root: /build/1st/ocaml-migrate-parsetree-1.0.10
# # Auto-detected concurrency: 16
# Dune context:
#  ((name default)
#   (kind default)
#   (profile release)
#   (merlin true)
#   (for_host ())
#   (build_dir (In_build_dir default))
#   (toplevel_path ())
#   (ocaml_bin (External /usr/bin))
#   (ocaml (External /usr/bin/ocaml))
#   (ocamlc (External /usr/bin/ocamlc.opt))
#   (ocamlopt ((External /usr/bin/ocamlopt.opt)))
#   (ocamldep (External /usr/bin/ocamldep.opt))
#   (ocamlmklib (External /usr/bin/ocamlmklib.opt))
#   (env
#((CAML_LD_LIBRARY_PATH
#  
/build/1st/ocaml-migrate-parsetree-1.0.10/_build/install/default/lib/stublibs)
# (DUNE_CONFIGURATOR /usr/bin/ocamlc.opt)
# (INSIDE_DUNE 1)
# (MANPATH
#  /build/1st/ocaml-migrate-parsetree-1.0.10/_build/install/default/bin)
# (OCAMLFIND_IGNORE_DUPS_IN
#  /build/1st/ocaml-migrate-parsetree-1.0.10/_build/install/default/lib)
# (OCAMLPATH
#  /build/1st/ocaml-migrate-parsetree-1.0.10/_build/install/default/lib)))
#   (findlib_path ((External /usr/lib/ocaml)))
#   (arch_sixtyfour true)
#   (natdynlink_supported true)
#   (supports_shared_libraries true)
#   (opam_vars ())
#   (ocaml_config
#((version 4.05.0)
# (standard_library_default /usr/lib/ocaml)
# (standard_library /usr/lib/ocaml)
# (standard_runtime /usr/bin/ocamlrun)
# (ccomp_type cc)
# (c_compiler gcc)
# (ocamlc_cflags
#  (-O2
#   -fno-strict-aliasing
#   -fwrapv
#   -D_FILE_OFFSET_BITS=64
#   -D_REENTRANT
#   -fPIC))
# (ocamlopt_cflags
#  (-O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT))
# (bytecomp_c_compiler
#  (gcc
#   -O2
#   -fno-strict-aliasing
#   -fwrapv
#   -D_FILE_OFFSET_BITS=64
#   -D_REENTRANT
#   -fPIC))
# (bytecomp_c_libraries (-lm -ldl -lcurses -lpthread))
# (native_c_compiler
#  (gcc
#   -O2
#   -fno-strict-aliasing
#   -fwrapv
#   -D_FILE_OFFSET_BITS=64
#   -D_REENTRANT))
# (native_c_libraries (-lm -ldl))
# (cc_profile (-pg))
# (architecture amd64)
# (model default)
# (int_size 63)
# (word_size 64)
# (system linux)
# (asm (as))
# (asm_cfi_supported true)
# (with_frame_pointers false)
# (ext_exe )
# (ext_obj .o)
# (ext_asm .s)
# (ext_lib .a)
# (ext_dll .so)
# (os_type Unix)
# (default_executable_name a.out)
# (systhread_supported true)
# (host x86_64-pc-linux-gnu)
# (target x86_64-pc-linux-gnu)
# (profiling true)
# (flambda false)
# (spacetime false)
# (safe_string false)
# (exec_magic_number Caml1999X011)
# (cmi_magic_number Caml1999I021)
# (cmo_magic_number Caml1999O011)
# (cma_magic_number Caml1999A012)
# (cmx_magic_number Caml1999Y015)
# (cmxa_magic_number Caml1999Z014)
# (ast_impl_magic_number Caml1999M020)
# (ast_intf_magic_number Caml1999N018)
# (cmxs_magic_number Caml2007D002)
# (cmt_magic_number Caml2012T009)
# (natdynlink_supported true)
# (supports_shared_libraries true)
# (windows_unicode false)))
#   (which
#((ocaml ((External /usr/bin/ocaml)))
# (ocamlc ((External /usr/bin/ocamlc.opt))
Running[2]: /usr/bin/opam config var prefix > /tmp/dune55264d.output
Output[2]:
[WARNING] Running as root is not recommended
[ERROR] Opam has not been initialised, please run `opam init'
Warning: Command [2] exited with code 50, but I'm ignoring it, hope that's OK.
...
   dh_install
dh_install: Cannot find (any matches for) 
"/usr/lib/ocaml/ocaml-migrate-parsetree/META" (tried in ., debian/tmp)

dh_install: libmigrate-parsetree-ocaml missing files: 
/usr/lib/ocaml/ocaml-migrate-parsetree/META
dh_install: Cannot find (any matches for) 
"/usr/lib/ocaml/ocaml-migrate-parsetree/opam" (tried in ., debian/tmp)

dh_install: