Closed artlog closed 9 years ago
Has been changed in master.
I've the same error, but i don't know what should i put in ${repo}_git_version please ?
Thanks
ok, i have found my problem. i added two more line in the generate_buildinfos.sh just after <echo "let ${repo}_git_version = 0"> echo "let opa_git_version = 0" echo "let opa_git_sha = \"\""
building( make all ) in git cloned did
[!] Git repo info for opalang not found
=> I added opa_git_version additionally to ${repo}_git_version to be able to compile.
+ /usr/bin/ocamlc -c -g -thread -warn-error A -w L -w Z -I /usr/lib/ocaml/zip -I /usr/lib/ocaml/ocamlgraph -I /usr/lib/ocaml/ulex -I ocamllib/libbase -I tools -I ocamllib -I lib -I compiler -I tools/build -o tools/odep.cmo tools/odep.ml File "tools/odep.ml", line 103, characters 35-122: Error: Some record fields are undefined: sg_parent
After review it come form a ocamlgraph api changes [ https://github.com/backtracking/ocamlgraph commit e5aa3733de34fc5da4aa3acb82862b3e88a3062a did add sg_parent field, fix code to compile with that change. ]
=> i added sg_parent = None when needed .
( my first pull request so be kind with this post quality ).