When I tried to build the latest code [ master ]. I am getting lot of warnings as follows and the generated xtk.js is not working.
*-----------------------*
Compiling Code
/home/george/XTK4_0_217/lib/closure-library/closure/bin/build/closurebuilder.py: Scanning paths...
/home/george/XTK4_0_217/lib/closure-library/closure/bin/build/closurebuilder.py: 958 sources scanned.
/home/george/XTK4_0_217/lib/closure-library/closure/bin/build/closurebuilder.py: Building dependency tree..
/home/george/XTK4_0_217/lib/closure-library/closure/bin/build/closurebuilder.py: Compiling with the following command: java -jar /home/george/XTK4_0_217/lib/closure-library/compiler-latest/compiler.jar --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/base.js --js /home/george/XTK4_0_217/lib/csg/vector.js --js /home/george/XTK4_0_217/X.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/string/string.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/useragent/useragent.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/structs/collection.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/object/object.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/debug/error.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/asserts/asserts.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/array/array.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/structs/structs.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/iter/iter.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/structs/map.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/structs/set.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/debug/debug.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/disposable/idisposable.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/disposable/disposable.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/structs/simplepool.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/debug/logrecord.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/debug/logbuffer.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/debug/logger.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/debug/tracer.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/debug/entrypointregistry.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/debug/errorhandler.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/debug/errorhandlerweakdep.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/listener.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/browserfeature.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/eventwrapper.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/eventtype.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/event.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/reflect/reflect.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/browserevent.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/events.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/eventtarget.js --js /home/george/XTK4_0_217/core/base.js --js /home/george/XTK4_0_217/lib/csg/vertex.js --js /home/george/XTK4_0_217/lib/csg/plane.js --js /home/george/XTK4_0_217/lib/csg/polygon.js --js /home/george/XTK4_0_217/lib/csg/node.js --js /home/george/XTK4_0_217/lib/csg/csg.js --js /home/george/XTK4_0_217/visualization/indexer.js --js /home/george/XTK4_0_217/core/file.js --js /home/george/XTK4_0_217/injects/loadable.js --js /home/george/XTK4_0_217/core/colortable.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/math/math.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/math/coordinate3.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/math/vec3.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/math/coordinate.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/math/vec2.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/math/size.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/math/matrix.js --js /home/george/XTK4_0_217/math/matrix.js --js /home/george/XTK4_0_217/core/transform.js --js /home/george/XTK4_0_217/core/texture.js --js /home/george/XTK4_0_217/core/triplets.js --js /home/george/XTK4_0_217/injects/displayable.js --js /home/george/XTK4_0_217/injects/thresholdable.js --js /home/george/XTK4_0_217/core/scalars.js --js /home/george/XTK4_0_217/objects/object.js --js /home/george/XTK4_0_217/injects/constructable.js --js /home/george/XTK4_0_217/core/event.js --js /home/george/XTK4_0_217/objects/slice.js --js /home/george/XTK4_0_217/objects/volume.js --js /home/george/XTK4_0_217/io/parser.js --js /home/george/XTK4_0_217/io/parserSTL.js --js /home/george/XTK4_0_217/io/parserVTK.js --js /home/george/XTK4_0_217/io/parserFSM.js --js /home/george/XTK4_0_217/lib/JXG/JXG.js --js /home/george/XTK4_0_217/io/parserNRRD.js --js /home/george/XTK4_0_217/io/parserHelper.js --js /home/george/XTK4_0_217/io/parserMGZ.js --js /home/george/XTK4_0_217/io/parserCRV.js --js /home/george/XTK4_0_217/io/parserIMAGE.js --js /home/george/XTK4_0_217/io/parserLUT.js --js /home/george/XTK4_0_217/io/parserTRK.js --js /home/george/XTK4_0_217/io/loader.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/mousewheelhandler.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/keycodes.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/keyhandler.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/dom/classes.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/dom/tagname.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/dom/browserfeature.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/dom/dom.js --js /home/george/XTK4_0_217/io/interactor.js --js /home/george/XTK4_0_217/io/interactor2D.js --js /home/george/XTK4_0_217/visualization/camera.js --js /home/george/XTK4_0_217/lib/csg/cylinder.js --js /home/george/XTK4_0_217/objects/cylinder.js --js /home/george/XTK4_0_217/lib/csg/sphere.js --js /home/george/XTK4_0_217/objects/sphere.js --js /home/george/XTK4_0_217/objects/labelmap.js --js /home/george/XTK4_0_217/lib/csg/cube.js --js /home/george/XTK4_0_217/objects/cube.js --js /home/george/XTK4_0_217/io/interactor3D.js --js /home/george/XTK4_0_217/math/array.js --js /home/george/XTK4_0_217/visualization/camera2D.js --js /home/george/XTK4_0_217/visualization/camera3D.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/math/box.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/math/rect.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/style/style.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/events/eventhandler.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/ui/idgenerator.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/ui/component.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/ui/rangemodel.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/dom/a11y.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/ui/progressbar.js --js /home/george/XTK4_0_217/ui/progressbar.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/timer/timer.js --js /home/george/XTK4_0_217/visualization/renderer.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/positioning/positioning.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/positioning/abstractposition.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/positioning/anchoredposition.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/fx/transition.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/ui/popupbase.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/positioning/viewportposition.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/positioning/clientposition.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/positioning/viewportclientposition.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/positioning/absoluteposition.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/functions/functions.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/positioning/anchoredviewportposition.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/ui/popup.js --js /home/george/XTK4_0_217/lib/closure-library/closure/goog/ui/tooltip.js --js /home/george/XTK4_0_217/ui/caption.js --js /home/george/XTK4_0_217/visualization/shaders.js --js /home/george/XTK4_0_217/visualization/buffer.js --js /home/george/XTK4_0_217/visualization/renderer3D.js --js /home/george/XTK4_0_217/objects/mesh.js --js /home/george/XTK4_0_217/visualization/renderer2D.js --js /home/george/XTK4_0_217/objects/fibers.js --warning_level=VERBOSE --compilation_level=ADVANCED_OPTIMIZATIONS --jscomp_warning=missingProperties --jscomp_warning=checkTypes --define=goog.DEBUG=false
/home/george/XTK4_0_217/injects/constructable.js:60: WARNING - Property _points never defined on X.constructable
var numberOfPoints = this._points.count;
^
/home/george/XTK4_0_217/injects/constructable.js:67: WARNING - Property _points never defined on X.constructable
var point1 = this._points.get(p);
^
/home/george/XTK4_0_217/injects/constructable.js:68: WARNING - Property _points never defined on X.constructable
var point2 = this._points.get(p + 1);
^
/home/george/XTK4_0_217/injects/constructable.js:69: WARNING - Property _points never defined on X.constructable
var point3 = this._points.get(p + 2);
^
/home/george/XTK4_0_217/injects/constructable.js:71: WARNING - Property _normals never defined on X.constructable
var normal1 = this._normals.get(p);
^
/home/george/XTK4_0_217/injects/constructable.js:72: WARNING - Property _normals never defined on X.constructable
var normal2 = this._normals.get(p + 1);
^
/home/george/XTK4_0_217/injects/constructable.js:73: WARNING - Property _normals never defined on X.constructable
var normal3 = this._normals.get(p + 2);
^
/home/george/XTK4_0_217/injects/constructable.js:79: WARNING - Property _colors never defined on X.constructable
if ((this._colors.length > 0)) {
^
/home/george/XTK4_0_217/injects/constructable.js:83: WARNING - Property _colors never defined on X.constructable
color = this._colors.get(p);
^
/home/george/XTK4_0_217/injects/constructable.js:122: WARNING - Property _points never defined on X.constructable
this._points.clear();
^
/home/george/XTK4_0_217/injects/constructable.js:123: WARNING - Property _normals never defined on X.constructable
this._normals.clear();
^
/home/george/XTK4_0_217/injects/constructable.js:124: WARNING - Property _colors never defined on X.constructable
this._colors.clear();
^
/home/george/XTK4_0_217/injects/constructable.js:234: WARNING - Property toCSG never defined on csg
csg = csg.toCSG();
^
/home/george/XTK4_0_217/injects/constructable.js:240: WARNING - Property fromCSG never defined on X.object
result.fromCSG(this.toCSG().union(csg));
^
/home/george/XTK4_0_217/injects/constructable.js:269: WARNING - Property toCSG never defined on csg
csg = csg.toCSG();
^
/home/george/XTK4_0_217/injects/constructable.js:275: WARNING - Property fromCSG never defined on X.object
result.fromCSG(this.toCSG().subtract(csg));
^
/home/george/XTK4_0_217/injects/constructable.js:304: WARNING - Property toCSG never defined on csg
csg = csg.toCSG();
^
/home/george/XTK4_0_217/injects/constructable.js:310: WARNING - Property fromCSG never defined on X.object
result.fromCSG(this.toCSG().intersect(csg));
^
/home/george/XTK4_0_217/injects/constructable.js:327: WARNING - Property fromCSG never defined on X.object
result.fromCSG(this.toCSG().inverse());
^
/home/george/XTK4_0_217/objects/cube.js:265: WARNING - Property fromCSG never defined on X.cube
this.fromCSG(new CSG.cube({
^
/home/george/XTK4_0_217/objects/cylinder.js:207: WARNING - Property fromCSG never defined on X.cylinder
this.fromCSG(new CSG.cylinder({
^
/home/george/XTK4_0_217/objects/object.js:151: WARNING - incomplete alias created for namespace X
this._children.push(new X[classname](_oldChildren[i]));
^
/home/george/XTK4_0_217/objects/sphere.js:173: WARNING - Property fromCSG never defined on X.sphere
this.fromCSG(new CSG.sphere({
^
0 error(s), 23 warning(s), 94.4% typed
/home/george/XTK4_0_217/lib/closure-library/closure/bin/build/closurebuilder.py: JavaScript compilation succeeded.
>> OUTPUT: xtk.js
Code compiled
*-----------------------*
*-----------------------*
Visit us at goxtk.com!!!
Contact us at: dev#goxtk.com
Enjoy XTK
*-----------------------*
The 23 warnings are ok. The compiled xtk.js should work so - just tested against master.
Related
I am trying to install the library tezos-crypto using Opam on Kubuntu 20.04. I am getting the following error:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of tezos-stdlib-unix failed at "/home/marc/.opam/opam-init/hooks/sandbox.sh build dune build -p
tezos-stdlib-unix -j 15".
#=== ERROR while compiling tezos-stdlib-unix.10.2 =============================#
# context 2.0.5 | linux/x86_64 | ocaml-base-compiler.4.11.1 | https://opam.ocaml.org#e0171a79
# path ~/.opam/default/.opam-switch/build/tezos-stdlib-unix.10.2
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p tezos-stdlib-unix -j 15
# exit-code 1
# env-file ~/.opam/log/tezos-stdlib-unix-69301-e0ba4f.env
# output-file ~/.opam/log/tezos-stdlib-unix-69301-e0ba4f.out
### output ###
# [...]
# (cd _build/default && /home/marc/.opam/default/bin/ocamlc.opt -w -40 -open Tezos_error_monad -open Tezos_error_monad.TzLwtreslib -open Tezos_event_logging -open Tezos_stdlib -open Data_encoding -g -bin-annot -I src/lib_stdlib_unix/.tezos_stdlib_unix.objs/byte -I /home/marc/.opam/default/lib/angstrom -I /home/marc/.opam/default/lib/astring -I /home/marc/.opam/default/lib/base -I /home/marc/.op[...]
# File "src/lib_stdlib_unix/file_descriptor_sink.ml", line 116, characters 16-24:
# 116 | Fmt.strf "%s-%d%s" chopped (Unix.getpid ()) ext
# ^^^^^^^^
# Alert deprecated: Fmt.strf
# use Fmt.str instead.
# (cd _build/default && /home/marc/.opam/default/bin/ocamlopt.opt -w -40 -open Tezos_error_monad -open Tezos_error_monad.TzLwtreslib -open Tezos_event_logging -open Tezos_stdlib -open Data_encoding -g -I src/lib_stdlib_unix/.tezos_stdlib_unix.objs/byte -I src/lib_stdlib_unix/.tezos_stdlib_unix.objs/native -I /home/marc/.opam/default/lib/angstrom -I /home/marc/.opam/default/lib/astring -I /home/[...]
# File "src/lib_stdlib_unix/file_descriptor_sink.ml", line 116, characters 16-24:
# 116 | Fmt.strf "%s-%d%s" chopped (Unix.getpid ()) ext
# ^^^^^^^^
# Alert deprecated: Fmt.strf
# use Fmt.str instead.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build tezos-stdlib-unix 10.2
└─
╶─ No changes have been performed
How can I resolve this error?
When I try to compile an application template of Ocsigen Start following this instruction, the error shown below happens at make test.byte. Could you tell me how to fix this?
LC_ALL=C ocsigen-i18n-generator \
--languages en,fr \
--default-language en \
--primary myapp_i18n.tsv \
< assets/myapp_Demo_i18n.tsv \
> myapp_Demo_i18n.eliom
eliomc -w +A-4-7-9-37-38-39-41-42-44-45-48 -ppx -ppx "ocsigen-i18n-rewriter --prefix 'Myapp_' --suffix '_i18n' Myapp_i18n" -infer -package lwt_ppx -package js_of_ocaml-ppx_deriving_json -package ppx_deriving.std -package pgocaml -package ocsigen-start.server myapp_Demo_i18n.eliom
File "myapp_Demo_i18n.eliom", line 1, characters 24-37:
1 | let%shared languages = [Myapp_i18n.En;Myapp_i18n.Fr]
^^^^^^^^^^^^^
Error: Unbound constructor Myapp_i18n.En
make: *** [Makefile.os:213: _server/myapp_Demo_i18n.type_mli] Error 2
rm myapp_Demo_i18n.eliom
i met issue with python3 while import module built from pybind11
"pcap.h" imported for libpcap in Linux
# test.cpp
#include "pybind11/pybind11.h"
#include "pybind11/stl.h"
#include "pcap.h"
void open_pcap(std::string &filename)
{
char errbuf[PCAP_ERRBUF_SIZE];
char *file_name = const_cast<char *>(filename.c_str());
// "segmentation fault" if i add bellow line
pcap_t *pcapfd = pcap_open_offline(file_name, errbuf);
}
namespace py = pybind11;
PYBIND11_MODULE(test, m)
{
m.def("open_pcap", &open_pcap);
}
Compile successed with
c++ -O3 -Wall -shared -std=c++11 -fPIC `python3 -m pybind11 --includes` test.cpp -o test`python3-config --extension-suffix`
but when i import from python3, i met error
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import test
Segmentation fault (core dumped)
only view info for error with python3 -v -c "import test"
...
# /usr/lib/python3/dist-packages/apt/progress/__pycache__/text.cpython-36.pyc matches /usr/lib/python3/dist-packages/apt/progress/text.py
# code object from '/usr/lib/python3/dist-packages/apt/progress/__pycache__/text.cpython-36.pyc'
# /usr/lib/python3/dist-packages/apt/progress/__pycache__/base.cpython-36.pyc matches /usr/lib/python3/dist-packages/apt/progress/base.py
# code object from '/usr/lib/python3/dist-packages/apt/progress/__pycache__/base.cpython-36.pyc'
import 'fcntl' # <class '_frozen_importlib.BuiltinImporter'>
import 'apt.progress.base' # <_frozen_importlib_external.SourceFileLoader object at 0x7f583e1da7b8>
import 'apt.progress.text' # <_frozen_importlib_external.SourceFileLoader object at 0x7f583e20b2b0>
import 'apt.package' # <_frozen_importlib_external.SourceFileLoader object at 0x7f583fdad160>
# /usr/lib/python3/dist-packages/apt/__pycache__/cache.cpython-36.pyc matches /usr/lib/python3/dist-packages/apt/cache.py
# code object from '/usr/lib/python3/dist-packages/apt/__pycache__/cache.cpython-36.pyc'
import 'apt.cache' # <_frozen_importlib_external.SourceFileLoader object at 0x7f583fdbd2b0>
# /usr/lib/python3/dist-packages/apt/__pycache__/cdrom.cpython-36.pyc matches /usr/lib/python3/dist-packages/apt/cdrom.py
# code object from '/usr/lib/python3/dist-packages/apt/__pycache__/cdrom.cpython-36.pyc'
import 'apt.cdrom' # <_frozen_importlib_external.SourceFileLoader object at 0x7f583e1f30b8>
Segmentation fault (core dumped)
Link with the libpcap by adding -lpcap to your command line when building the module.
For me, the problem was the Python version I was building with. I was in a virtual environment for python3.8, but I was using the default compile command, which defaulted to python3.6
broken command:
c++ -O3 -Wall -shared -std=c++11 -fPIC `python3 -m pybind11 --includes` python-binding.cpp -o matchNotification`python3-config --extension-suffix`
working command:
c++ -O3 -Wall -shared -std=c++11 -fPIC `python3 -m pybind11 --includes` python-binding.cpp -o matchNotification`python3.8-config --extension-suffix`
Scroll to the ends of the commands to see the change
I'm attempting to install ocaml-top on a mac but receiving the following failure message. Any idea? Thanks!
I tried:
opam install ocaml-top
And received the following
`∗ install ocaml-top 1.1.5
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><> 🐫
[ocaml-top.1.1.5] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><> 🐫
[ERROR] The compilation of ocaml-top failed at
"/Users/danielfriedman/.opam/opam-init/hooks/sandbox.sh build jbuilder
build -p ocaml-top".
#=== ERROR while compiling ocaml-top.1.1.5 ====================================#
# context 2.0.2 | macos/x86_64 | ocaml-base-compiler.4.06.1 | https://opam.ocaml.org#866ea725
# path ~/.opam/4.06.1/.opam-switch/build/ocaml-top.1.1.5
# command ~/.opam/opam-init/hooks/sandbox.sh build jbuilder build -p ocaml-top
# exit-code 1
# env-file ~/.opam/log/ocaml-top-49246-ffb3fd.env
# output-file ~/.opam/log/ocaml-top-49246-ffb3fd.out
### output ###
# ocamlopt src/.main.eobjs/completion.{cmx,o} (exit 2)
# (cd _build/default && /Users/danielfriedman/.opam/4.06.1/bin/ocamlopt.opt -w -40 -g -I src/.main.eobjs -I /Users/danielfriedman/.opam/4.06.1/lib/bytes -I /Users/danielfriedman/.opam/4.06.1/lib/lablgtk2 -I /Users/danielfriedman/.opam/4.06.1/lib/ocaml/compiler-libs -I /Users/danielfriedman/.opam/4.06.1/lib/ocaml/threads -I /Users/danielfriedman/.opam/4.06.1/lib/ocp-indent/lexer -I /Users/daniel[...]
# File "src/completion.ml", line 39, characters 4-26:
# Error: Unbound value IndexScope.read_string
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><> 🐫
┌─ The following actions failed
│ λ build ocaml-top 1.1.5
└─
╶─ No changes have been performed`
As this post suggests, ocaml 4.03.0 compiler or greater defaults warning 31 as an error. This makes me unable to install the camlidl package with the command opam install camidl because it contains a module with conflicting name as in stdlib.cma. How should I configure ocaml so I can run the command?
This is the error message:
#=== ERROR while installing camlidl.1.05 ======================================#
# opam-version 1.2.2
# os darwin
# command make all
# path /Users/xxx/.opam/system/build/camlidl.1.05
# compiler system (4.05.0)
# exit-code 2
# env-file /Users/xxx/.opam/system/build/camlidl.1.05/camlidl-58074-a71bb4.env
# stdout-file /Users/xxx/.opam/system/build/camlidl.1.05/camlidl-58074-a71bb4.out
# stderr-file /Users/xxx/.opam/system/build/camlidl.1.05/camlidl-58074-a71bb4.err
### stdout ###
# [...]
# ocamlc -g -c lexer_midl.mli
# ocamlc -g -c lexer_midl.ml
# ocamlc -g -c parse.mli
# ocamlc -g -c parse.ml
# ocamlc -g -c fixlabels.mli
# ocamlc -g -c fixlabels.ml
# ocamlc -g -c normalize.mli
# ocamlc -g -c normalize.ml
# ocamlc -g -c main.ml
# ocamlc -g -o camlidl config.cmo utils.cmo clflags.cmo prefix.cmo lexpr.cmo cvttyp.cmo variables.cmo array.cmo struct.cmo enum.cmo union.cmo cvtval.cmo structdecl.cmo enumdecl.cmo uniondecl.cmo typedef.cmo funct.cmo constdecl.cmo intf.cmo file.cmo predef.cmo linenum.cmo parse_aux.cmo parser_midl.cmo lexer_midl.cmo parse.cmo fixlabels.cmo normalize.cmo main.cmo
### stderr ###
# [...]
# File "parse_aux.ml", line 459, characters 10-26:
# Warning 3: deprecated: String.lowercase
# Use String.lowercase_ascii instead.
# 12 shift/reduce conflicts.
# File "array.cmo", line 1:
# Warning 31: files array.cmo and /usr/local/lib/ocaml/stdlib.cma(Array) both define a module named Array
# File "_none_", line 1:
# Error: Some fatal warnings were triggered (1 occurrences)
# make[1]: *** [camlidl] Error 2
# make: *** [all] Error 2