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

Bug#231775: FTBFS m68k: missing Build-Depends ocaml-native-compilers



Package: numerix-doc
Version: numerix: FTBFS m68k: missing Build-Depends ocaml-native-compilers
Severity: important
Justification: fails to build from source

Hi,

numerix fails to build on m68k with the following error:

sh: line 1: /usr/bin/ocamlopt: No such file or directory

ocamlopt is only available on archs with ocaml-native-compilers (although
its then in the ocaml.deb it seems). I suggest you add a Build-Depends for
ocaml-native-compilers to ensure the presence of ocamlopt.

Further the build seems to fail before that but errors get ignored:

-----------------------------------------------------------------------
mv numerix.cma lib/ocaml
mv libmlnumx.a dllmlnumx.so lib/common
I lib/ocaml -c lib/ocaml/numerix.ml
make[1]: I: Command not found
make[1]: [lib/ocaml/numerix.cmx] Error 127 (ignored)
I lib/ocaml -c lib/ocaml/numcount.ml
make[1]: I: Command not found
make[1]: [lib/ocaml/numcount.cmx] Error 127 (ignored)
I lib/ocaml -c lib/ocaml/numcmp.ml
make[1]: I: Command not found
make[1]: [lib/ocaml/numcmp.cmx] Error 127 (ignored)
ocamlmklib -o numerix -oc mlnumx -I lib/ocaml numerix.cmx numcount.cmx numcmp.cm
x -cclib -Llib/common  -lgmp -cclib -lnums
sh: line 1: /usr/bin/ocamlopt: No such file or directory
make[1]: *** [lib/ocaml/numerix.cmxa] Error 2
make[1]: Leaving directory `/build/buildd/numerix-0.19'
make: *** [build-stamp] Error 2
--------------------------------------------------------------------

You might want to check that out too before uploading a new version.
Maybe you can build a bytecode version for m68k.

MfG
	Goswin

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: m68k
Kernel: Linux 2.2.10
Locale: LANG=C, LC_CTYPE=C




Reply to: