Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build Canopy in Macos #85

Open
gjaldon opened this issue Mar 18, 2017 · 2 comments
Open

Unable to build Canopy in Macos #85

gjaldon opened this issue Mar 18, 2017 · 2 comments

Comments

@gjaldon
Copy link
Contributor

gjaldon commented Mar 18, 2017

Since I couldn't build Canopy on my Archlinux, I tried it on my Macos. Unfortunately, it doesn't build on it too. After upgrading Mirage to 3.0, I ran the ff commands:

$ opam pin add tyxml --dev
$ mirage configure
$ make depend
$ make

Running make gives me the ff error:

File "static1.mli", line 5, characters 8-16:
Error: Unbound module V1
Command exited with code 2.
run ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-tags'
     'predicate(mirage_unix),warn(A-4-41-42-44),debug,bin_annot,strict_sequence,principal,safe_string,thread,color(always)'
     '-pkgs'
     'cohttp,conduit,conduit.mirage,decompress,functoria-runtime,io-page,io-page.unix,irmin,irmin-mirage,logs,lwt,magic-mime,mirage-clock,mirage-clock-unix,mirage-flow,mirage-flow-lwt,mirage-http,mirage-kv-lwt,mirage-logs,mirage-runtime,mirage-types,mirage-types-lwt,mirage-unix,nocrypto,nocrypto.lwt,omd,ptime,re,syndic,tcpip,tcpip.stack-socket,tcpip.tcpv4-socket,tcpip.udpv4-socket,tls,tls.mirage,tyxml,uuidm'
     '-cflags' '-g' '-lflags' '-g' '-tag-line' '<static*.*>: warn(-32-34)'
     '-X' '_build-ukvm' 'main.native']: exited with 10
make: *** [build] Error 1

Is this a bug or was I supposed to do some additional config?

@hannesm
Copy link
Collaborator

hannesm commented Mar 18, 2017

can you mirage clean (or remove static*ml* manually). V1 in there is a relict of earlier crunch days... which opam info crunch do you have? I suspect there may be a conflict missing between crunch<2 and mirage3 //cc @yomimono

@hannesm
Copy link
Collaborator

hannesm commented Mar 18, 2017

I added some lower bounds in the mirage tool mirage/mirage#816 (this won't help us with people using mirage-3.0.0 or 3.0.1 or 3.0.2, though -- but will need a release and upgrade cycle)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants