colis-anr / morbig

A static parser for POSIX Shell
Other
190 stars 8 forks source link

build failure on bytecode architecture #70

Closed treinen closed 5 years ago

treinen commented 5 years ago

release 0.10.2 fails to build on a bytecode-only architecure (in this case mips). This is obtained using the not-yet-released debian package. Any ideas ?

'''' dh build --with ocaml dh_update_autotools_config dh_autoreconf dh_ocamlinit dh_auto_configure dh_auto_build make -j2 "INSTALL=install --strip-program=true" make[1]: Entering directory '/home/treinen/morbig-0.10.2' dune build @install ocamlc src/CAPI.exe.o (exit 2) (cd _build/default && /usr/bin/ocamlc -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o src/CAPI.exe.o -output-complete-obj -I /usr/lib/ocaml/biniou -I /usr/lib/ocaml/easy-format -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/ppx_deriving -I /usr/lib/ocaml/ppx_deriving_yojson -I /usr/lib/ocaml/result -I /usr/lib/ocaml/visitors -I /usr/lib/ocaml/yojson -I src /usr/lib/ocaml/visitors/VisitorsRuntime.cma /usr/lib/ocaml/result/result.cma /usr/lib/ocaml/ppx_deriving/ppx_deriving_runtime.cma /usr/lib/ocaml/str.cma /usr/lib/ocaml/menhirLib/menhirLib.cmo /usr/lib/ocaml/easy-format/easy_format.cmo /usr/lib/ocaml/biniou/biniou.cma /usr/lib/ocaml/yojson/yojson.cmo /usr/lib/ocaml/ppx_deriving_yojson/ppx_deriving_yojson_runtime.cma src/morbig.cma src/.CAPI.eobjs/CAPI.cmo) File "none", line 1: Error: Cannot overwrite existing file /tmp/camlobjf1b6e6.c make[1]: [Makefile:12: build] Error 1 make[1]: Leaving directory '/home/treinen/morbig-0.10.2' dh_auto_build: make -j2 "INSTALL=install --strip-program=true" returned exit code 2 make: [debian/rules:6: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 ''''

treinen commented 5 years ago

this also happens with the HEAD of the master branch, 69a3f8c47fa568b24cb6ff762548b3e0bd3d441b

treinen commented 5 years ago

except that with the HEADof master, the error occurs on the command


ocamlc src/cstub.exe.o (exit 2)
''''