Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006272OCamlOCamlbuild (the tool)public2013-12-16 14:082013-12-17 10:26
Reportergildor 
Assigned Toxclerc 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.02.0+dev 
Target VersionFixed in Version 
Summary0006272: Error: Unbound module Myocamlbuild_config with r14353
DescriptionUsing 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
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0010720)
xclerc (developer)
2013-12-16 15:35

Should be fixed by revision 14359 in branch '4.01'.
(0010722)
xleroy (administrator)
2013-12-16 16:17

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.
(0010723)
gildor (developer)
2013-12-16 16:30

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
(0010725)
xleroy (administrator)
2013-12-16 16:47

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.
(0010737)
gildor (developer)
2013-12-17 10:26

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

- Issue History
Date Modified Username Field Change
2013-12-16 14:08 gildor New Issue
2013-12-16 14:12 doligez Reproducibility sometimes => always
2013-12-16 14:12 doligez Status new => confirmed
2013-12-16 14:12 doligez Product Version => 4.02.0+dev
2013-12-16 15:35 xclerc Note Added: 0010720
2013-12-16 15:35 xclerc Status confirmed => resolved
2013-12-16 15:35 xclerc Resolution open => fixed
2013-12-16 15:35 xclerc Assigned To => xclerc
2013-12-16 16:17 xleroy Note Added: 0010722
2013-12-16 16:30 gildor Note Added: 0010723
2013-12-16 16:47 xleroy Note Added: 0010725
2013-12-17 10:26 gildor Note Added: 0010737


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker