← Back to team overview

ocaml-maint team mailing list archive

[Bug 504060] [NEW] ocamlbuild + batteries does not work on amd64, but does on i386

 

Public bug reported:

Binary package hint: ocaml

Something is borked with the amd64 packages for ocaml's batteries
libraries. Specifically, ocamlbuild fails to build trivial programs,
which do build on i386.

This is under Karmic.

Steps to reproduce,
1. Install ocaml-core and ocaml-batteries-included
2. Create test.ml,

        open Printf;;                                                                                                        
        printf "Hello, world.\n";; 

3. Create _tags,

        <*>: use_batteries

4. cp --archive /usr/share/doc/libbatteries-ocaml-doc/myocamlbuild.ml .

5. ocamlbuild test.byte

What happens,

        $ uname -a
        Linux ubupilus 2.6.31-16-server #53-Ubuntu SMP Tue Dec 8 05:08:02 UTC 2009 x86_64 GNU/Linux
        $ ocamlbuild test.byte
        + ocamlfind ocamldep -package batteries.pa_openin.syntax,batteries.pa_where.syntax,batteries.pa_batteries.syntax,batteries.pa_comprehension.syntax,batteries.pa_strings.syntax -package batteries -syntax camlp4o -modules test.ml > test.ml.depends
        ocamlfind: Package `batteries.pa_openin.syntax' not found
        Command exited with code 2.
        $ 

What should happen,

        $ uname -a
        Linux snapdragon 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux
        $ ocamlbuild test.byte
        Finished, 1 target (0 cached) in 00:00:00.
        Finished, 3 targets (0 cached) in 00:00:00.
        $

** Affects: ocaml (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ocamlbuild + batteries does not work on amd64, but does on i386
https://bugs.launchpad.net/bugs/504060
You received this bug notification because you are a member of Debian
OCaml Maintainers, which is subscribed to ocaml in ubuntu.

Status in “ocaml” package in Ubuntu: New

Bug description:
Binary package hint: ocaml

Something is borked with the amd64 packages for ocaml's batteries libraries. Specifically, ocamlbuild fails to build trivial programs, which do build on i386.

This is under Karmic.

Steps to reproduce,
1. Install ocaml-core and ocaml-batteries-included
2. Create test.ml,

        open Printf;;                                                                                                        
        printf "Hello, world.\n";; 

3. Create _tags,

        <*>: use_batteries

4. cp --archive /usr/share/doc/libbatteries-ocaml-doc/myocamlbuild.ml .

5. ocamlbuild test.byte

What happens,

        $ uname -a
        Linux ubupilus 2.6.31-16-server #53-Ubuntu SMP Tue Dec 8 05:08:02 UTC 2009 x86_64 GNU/Linux
        $ ocamlbuild test.byte
        + ocamlfind ocamldep -package batteries.pa_openin.syntax,batteries.pa_where.syntax,batteries.pa_batteries.syntax,batteries.pa_comprehension.syntax,batteries.pa_strings.syntax -package batteries -syntax camlp4o -modules test.ml > test.ml.depends
        ocamlfind: Package `batteries.pa_openin.syntax' not found
        Command exited with code 2.
        $ 

What should happen,

        $ uname -a
        Linux snapdragon 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux
        $ ocamlbuild test.byte
        Finished, 1 target (0 cached) in 00:00:00.
        Finished, 3 targets (0 cached) in 00:00:00.
        $





Follow ups

References