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

Bug#924764: mingw-ocaml: FTBFS (cp: cannot stat 'objinfo_helper': No such file or directory)



Package: src:mingw-ocaml
Version: 4.01.0~20140328-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
dh: Compatibility levels before 9 are deprecated (level 7 in use)
   dh_update_autotools_config -i
   dh_auto_configure -i
dh_auto_configure: Compatibility levels before 9 are deprecated (level 7 in use)
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf .pc build patches stamp-*
mkdir -p /<<PKGBUILDDIR>>/bindir
make BINARY_DIR=/<<PKGBUILDDIR>>/bindir MINGW_HOST=i686-w64-mingw32
make[2]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p patches
find patches.in | grep '.patch' | while read i; do \

[... snipped ...]

cp libbigarray.a /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/
cd /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml; i686-w64-mingw32-ranlib libbigarray.a
cp bigarray.cma bigarray.cmi bigarray.mli /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/
if test -n "bigarray.h"; then cp bigarray.h /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/caml/; fi
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/ocaml/otherlibs/bigarray'
make[3]: Entering directory '/<<PKGBUILDDIR>>/build/ocaml/otherlibs/systhreads'
cp dllthreads.dll /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/stublibs/dllthreads.dll
cp libthreads.a /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/libthreads.a
cd /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml; i686-w64-mingw32-ranlib libthreads.a
mkdir -p /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/threads
cp thread.cmi mutex.cmi condition.cmi event.cmi threadUnix.cmi threads.cma /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/threads
rm -f /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/threads/stdlib.cma
cp threads.h /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/caml/threads.h
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/ocaml/otherlibs/systhreads'
make[3]: Entering directory '/<<PKGBUILDDIR>>/build/ocaml/otherlibs/win32graph'
if test -f dllgraphics.dll; then \
  cp dllgraphics.dll /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/stublibs/; fi
cp libgraphics.a /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/
cd /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml; i686-w64-mingw32-ranlib libgraphics.a
cp graphics.cma graphics.cmi graphics.mli /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/
if test -n ""; then cp  /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/caml/; fi
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/ocaml/otherlibs/win32graph'
cd build/ocaml && make BINDIR=/<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/bin \
                                        LIBDIR=/<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml \
                                        -C tools install
make[3]: Entering directory '/<<PKGBUILDDIR>>/build/ocaml/tools'
cp ocamldep /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/bin/ocamldep
if test -f ocamldep.opt; \
  then cp ocamldep.opt /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/bin/ocamldep.opt; else :; fi
cp ocamlprof /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/bin/ocamlprof
cp ocamlcp /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/bin/ocamlcp
cp ocamloptp /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/bin/ocamloptp
cp profiling.cmi profiling.cmo /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml
cp ocamlmklib /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/bin/ocamlmklib
cp objinfo /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/bin/ocamlobjinfo
cp objinfo_helper /<<PKGBUILDDIR>>/bindir/usr/i686-w64-mingw32/lib/ocaml/objinfo_helper
cp: cannot stat 'objinfo_helper': No such file or directory
make[3]: *** [Makefile.shared:295: install] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/ocaml/tools'
make[2]: *** [Makefile:153: stamp-binary-mingw-ocaml] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:29: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

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

where you can get a full build log if you need it.

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

Thanks.


Reply to: