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

Building 2.2.0 fails at cppo #3718

Closed
ghost opened this issue Dec 27, 2018 · 4 comments
Closed

Building 2.2.0 fails at cppo #3718

ghost opened this issue Dec 27, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 27, 2018

Building 2.0.2 fails for me as follows:

$ ocaml -version
The OCaml toplevel, version 4.07.1
$ dune --version
1.6.2

$ git clean -fxd
$ git checkout 2.0.2
$ ./configure
$ make lib-ext
$ make
[...]
dune build --profile=release  opam-installer.install opam.install
File "src_ext/cppo/src/jbuild", line 10, characters 10-50:
10 |     (echo "let cppo_version = \"${version:cppo}\"")))))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Package "cppo" doesn't exist in the current project.
make: *** [Makefile:107: opam.install] Error 1

The OCaml switch in use is 4.07.1+flambda.

Maybe a dune file issue?

@ghost ghost changed the title Bootstrapping 2.2.0 fails at cppo Bulding 2.2.0 fails at cppo Dec 27, 2018
@dra27
Copy link
Member

dra27 commented Dec 27, 2018

It looks like it might be a Dune issue - you could try downgrading Dune to earlier versions (I’ll get to it, but probably not until the new year)

@ghost ghost changed the title Bulding 2.2.0 fails at cppo Building 2.2.0 fails at cppo Dec 27, 2018
@avsm
Copy link
Member

avsm commented Jan 3, 2019

You need dune 1.5.0 or dune master I think

@dra27
Copy link
Member

dra27 commented Jun 26, 2019

This issue was fixed in Dune 1.6.3

@rjbou
Copy link
Collaborator

rjbou commented Jun 27, 2019

#3887 & #3889 merged. Thanks!

@rjbou rjbou closed this as completed Jun 27, 2019
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

3 participants