Bug#651131: dh-ocaml: debhelper sequence cannot be used with additional options
Package: dh-ocaml
Version: 1.0.2
Severity: important
The debhelper sequence cannot be used if additional options are passed
to dh, like this:
dh $@ --with ocaml --parallel
In this case package build fails with this:
"dh_ocamlinit -d" -O--parallel
make: *** [clean] Error 255
Without additional options it works because dh uses system() to execute
commands and it behaves differently with only one argument. I do not
think that this is a failure of debhelper because ocaml seems to be the
only sequence with command that has parameters, and I think it is hard to
use overrides for that "dh_ocamlinit -d".
I think the functionality of dh_ocamlinit -d should be split into a new
program, called for example dh_ocamlclean.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
dh-ocaml depends on no packages.
Versions of packages dh-ocaml recommends:
ii debhelper 8.9.11
ii ocaml-nox 3.12.1-2
Versions of packages dh-ocaml suggests:
ii git 1:1.7.7.3-1
-- no debconf information
Reply to: