Package: dag2html
Severity: serious
Justification: Ocaml Policy 7)

It has come under our attention that dag2html fails to build on mips (and
probably other non-native arches, m68k, s390, mipsel and hppa), because it
build-depends on ocaml-native-compilers.

Please read the /usr/share/doc/ocaml-base/ocaml_packaging_policy.gz document,
and especially the entry saying :

  7) Ocaml-best-compilers

     Packages for which it is recommended to use the optimized nativecode
     compilers to build them should depend on the ocaml package and the
     ocaml-best-compilers package. The ocaml-best-compilers will provide the
     best compilers available for that architecture, but as it is a virtual
     package, it cannot (yet) be a versioned dependency. The version
     dependency should thus be carried by the ocaml dependency.

     ...

In general it is not really needed to depend on the native compilers, but you
can simply use the normal compilers to build the package, the resulting built
code should bit-to-bit identic anyway. Using ocaml-best-compilers is only
recomended for large packages where the build time is significant.

Also notice that you then probably also need to check for the presence of
either ocamlopt or ocamlopt.opt before trying to build the native only
version, as those packages don't exist for non-native arches.

Friendly,

Sven Luther

-- System Information:
Debian Release: 3.1
Architecture: powerpc (ppc)
Kernel: Linux 2.6.15-1-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to