Comments (3)
I can't reproduce this. How are you running runtests.py? What versions of python and ocaml?
from spec.
On 21 August 2015 at 19:50, Luke Wagner [email protected] wrote:
Running runtests.py produces the following output:
// building main.native
SANITIZE: a total of 54 files that should probably not be in your source tree
has been found. A script shell file
"/moz/wasm/spec/ml-proto/src/_build/sanitize.sh" is being created. Check
this script and run it to remove unwanted files or use other options (such
as defining hygiene exceptions or using the -no-hygiene option).
IMPORTANT: I cannot work with leftover compiled files.
ERROR: Leftover ocamllex-generated files:
Files lexer.mll and lexer.ml should not be together in .
ERROR: Leftover ocamlyacc-generated files:
Files parser.mly and parser.ml should not be together in .
Files parser.mly and parser.mli should not be together in .
ERROR: Leftover object files:
File memory.o in . has suffix .o
File arithmetic.o in . has suffix .o
File parser.o in . has suffix .o
File script.o in . has suffix .o
File source.o in . has suffix .o
File main.o in . has suffix .o
File print.o in . has suffix .o
File eval.o in . has suffix .o
File flags.o in . has suffix .o
File lib.o in . has suffix .o
File values.o in . has suffix .o
File check.o in . has suffix .o
File error.o in . has suffix .o
File ast.o in . has suffix .o
File lexer.o in . has suffix .o
File types.o in . has suffix .o
ERROR: Leftover OCaml compilation files:
File types.cmo in . has suffix .cmo
File values.cmo in . has suffix .cmo
File ast.cmo in . has suffix .cmo
File memory.cmi in . has suffix .cmi
File main.cmi in . has suffix .cmi
File lexer.cmi in . has suffix .cmi
File values.cmi in . has suffix .cmi
File check.cmi in . has suffix .cmi
File error.cmi in . has suffix .cmi
File flags.cmi in . has suffix .cmi
File script.cmi in . has suffix .cmi
File arithmetic.cmi in . has suffix .cmi
File eval.cmi in . has suffix .cmi
File ast.cmi in . has suffix .cmi
File source.cmi in . has suffix .cmi
File parser.cmi in . has suffix .cmi
File lib.cmi in . has suffix .cmi
File print.cmi in . has suffix .cmi
File types.cmi in . has suffix .cmi
File parser.cmx in . has suffix .cmx
File lexer.cmx in . has suffix .cmx
File values.cmx in . has suffix .cmx
File arithmetic.cmx in . has suffix .cmx
File source.cmx in . has suffix .cmx
File eval.cmx in . has suffix .cmx
File flags.cmx in . has suffix .cmx
File check.cmx in . has suffix .cmx
File error.cmx in . has suffix .cmx
File script.cmx in . has suffix .cmx
File memory.cmx in . has suffix .cmx
File ast.cmx in . has suffix .cmx
File print.cmx in . has suffix .cmx
File lib.cmx in . has suffix .cmx
File main.cmx in . has suffix .cmx
File types.cmx in . has suffix .cmx
Exiting due to hygiene violations.
Compilation unsuccessful after building 0 targets (0 cached) in 00:00:00.
Traceback (most recent call last):
File "runtests.py", line 67, in
interpreterPath = rebuild_interpreter()
File "runtests.py", line 57, in rebuild_interpreter
raise Exception("ocamlbuild failed with exit code %i" % exitCode)
Exception: ocamlbuild failed with exit code 1Performing make clean and then running produces a different set of errors:
// building main.native
SANITIZE: a total of 3 files that should probably not be in your source tree
has been found. A script shell file
"/moz/wasm/spec/ml-proto/src/_build/sanitize.sh" is being created. Check
this script and run it to remove unwanted files or use other options (such
as defining hygiene exceptions or using the -no-hygiene option).
IMPORTANT: I cannot work with leftover compiled files.
ERROR: Leftover ocamllex-generated files:
Files lexer.mll and lexer.ml should not be together in .
ERROR: Leftover ocamlyacc-generated files:
Files parser.mly and parser.ml should not be together in .
Files parser.mly and parser.mli should not be together in .
Exiting due to hygiene violations.
Compilation unsuccessful after building 0 targets (0 cached) in 00:00:00.
Traceback (most recent call last):
File "runtests.py", line 67, in
interpreterPath = rebuild_interpreter()
File "runtests.py", line 57, in rebuild_interpreter
raise Exception("ocamlbuild failed with exit code %i" % exitCode)
Exception: ocamlbuild failed with exit code 1You need to do
make distclean
. Ocamlbuild is pretty pedantic about build
artefacts in the src tree, including generated ML files.
from spec.
Thanks!
from spec.
Related Issues (20)
- test case `as-load-operand` have an error HOT 1
- branching on function name HOT 7
- [interpreter] Source locations are broken since menhir switch HOT 2
- SIMD test optimization? HOT 3
- [core] SIMD Compare instructions link to the wrong "execution"/"validation" sections HOT 1
- Add a note indicating that section ids and section ordering do not correspond HOT 2
- Missing ability to access built older versions of the WebAssembly specification in archivable form HOT 2
- [JS API] 'run a host function' and 'create a host function' don't consistently handle completion records HOT 1
- Wording of README in proposals directory is misleading. HOT 6
- Test extreme alignments HOT 2
- Tests seem to cause side effects that other tests depend on HOT 2
- A question about max table size HOT 5
- Time to delete the old `master` branches? HOT 5
- Missing LICENSE file in the document directory HOT 1
- A question about the order of exports HOT 4
- [bikeshed] Some potential issues in js-api spec HOT 1
- [js-api] Bikeshed issues on wasm-3.0 branch HOT 2
- Fix CSS so the specification shows on narrow viewports without horizontal scrolling. HOT 7
- Possibly incorrect encoding in WAST->JS conversion for elem.wast in wasm-3.0 branch HOT 3
- [reference-types] behavior of out-of-bound in table.fill HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spec.