Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unbound module Myocamlbuild_config with r14353 #6272

Closed
vicuna opened this issue Dec 16, 2013 · 5 comments
Closed

Error: Unbound module Myocamlbuild_config with r14353 #6272

vicuna opened this issue Dec 16, 2013 · 5 comments

Comments

@vicuna
Copy link

vicuna commented Dec 16, 2013

Original bug ID: 6272
Reporter: gildor
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2015-12-11T18:25:29Z)
Resolution: fixed
Priority: normal
Severity: crash
Version: 4.02.0+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues

Bug description

Using the following last change:
Révision: 14353
Changements
Un-bootstrapping of ocamlbuild, clean-up phase:

  • removed boot/myocamlbuild.boot, _tags, myocamlbuild.ml, etc
  • removed shell scripts in build/, now unused
  • revised configuration and build of tools/ocamlmklib.

I get this error:
../boot/ocamlrun ../boot/ocamlc -strict-sequence -nostdlib -I ../boot -c -w +32..39 -warn-error A -I ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver -I ../toplevel ocamlmklibconfig.ml
../boot/ocamlrun ../boot/ocamlc -strict-sequence -nostdlib -I ../boot -c -w +32..39 -warn-error A -I ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver -I ../toplevel ocamlmklib.ml
File "ocamlmklib.ml", line 15, characters 0-24:
Error: Unbound module Myocamlbuild_config

@vicuna
Copy link
Author

vicuna commented Dec 16, 2013

Comment author: @xclerc

Should be fixed by revision 14359 in branch '4.01'.

@vicuna
Copy link
Author

vicuna commented Dec 16, 2013

Comment author: @xavierleroy

Sylvain, you may have a file tools/ocamlmklib.ml left over from a previous build. It used to be generated, but since r14353 is now a source file. Make sure to erase any leftover tools/ocamlmklib.ml you may have before svn update.

@vicuna
Copy link
Author

vicuna commented Dec 16, 2013

Comment author: gildor

You should know that I am not running this on my own:
http://deci.ovh.le-gall.net:8080/job/ocaml/label=wheezy64/166/console

So I am running:
svn update
make clean
./configure
make world
make world.opt

@vicuna
Copy link
Author

vicuna commented Dec 16, 2013

Comment author: @xavierleroy

The workflow you describe causes svn update to fail on the leftover tools/ocamlmklib.ml, just like I mentioned. Do clean up manually, or start with a fresh checkout.

@vicuna
Copy link
Author

vicuna commented Dec 17, 2013

Comment author: gildor

I have changed my workflow to revert uncommited files (i.e. simulate a checkout). It compiles fine and should avoid future error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant