ocaml-bench / sandmark

A benchmark suite for the OCaml compiler
The Unlicense
82 stars 38 forks source link

`mtime.1.2.0` fails to build with 5.1.0+trunk #399

Closed shakthimaan closed 2 years ago

shakthimaan commented 2 years ago

mtime.1.2.0 is now failing to build with 5.1.0+trunk with the following error:

File "myocamlbuild.ml", line 1:
Error: /home/guest/sandmark/_opam/5.1.0+trunk/lib/ocamlbuild/ocamlbuild_plugin.cmx
       was built with -for-pack Ocamlbuild_pack, but the 
       current unit Myocamlbuild is not
Command exited with code 2.
pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-j' '4' '-tag' 'debug'
     '-build-dir' '_build' 'opam' 'pkg/META' 'CHANGES.md' 'LICENSE.md'
     'README.md' 'src/mtime.a' 'src/mtime.cmxa' 'src/mtime.cma'
     'src/mtime.cmx' 'src/mtime.cmi' 'src/mtime.mli' 'src/mtime_top.a'
     'src/mtime_top.cmxa' 'src/mtime_top.cma' 'src/mtime_top.cmx'
     'src/mtime_top_init.ml' 'doc/index.mld' 'src-os/mtime_clock.a'
     'src-os/mtime_clock.cmxa' 'src-os/mtime_clock.cma'
     'src-os/mtime_clock.cmx' 'src-os/mtime_clock.cmi'
     'src-os/mtime_clock.mli' 'src-os/dllmtime_clock_stubs.so'
     'src-os/libmtime_clock_stubs.a' 'test-os/min_os.ml']: exited with 10
shakthimaan commented 2 years ago

Fixed in package ocamlbuild.0.14.2. https://github.com/ocaml/opam-repository/pull/22182