solvuu / solvuu-build

DEPRECATED. We recommend Jane Street's dune (formerly jbuilder).
ISC License
24 stars 5 forks source link

findlib package not installed #33

Closed copy closed 8 years ago

copy commented 8 years ago

On a clean 4.03 switch using opam 1.2.2:

% opam pin add solvuu_build -k git https://github.com/solvuu/solvuu-build.git                                                                                       :(
solvuu_build is now git-pinned to https://github.com/solvuu/solvuu-build.git

[solvuu_build] https://github.com/solvuu/solvuu-build.git updated
[solvuu_build] Conflicting update of the metadata from https://github.com/solvuu/solvuu-build.git:
  - The contents of "opam" changed

Override files in /home/test/.opam/foo2/overlay/solvuu_build (there will be a backup) ? [Y/n] y

solvuu_build needs to be installed.
The following actions will be performed:
  ∗  install solvuu_build dev*
Do you want to continue ? [Y/n] y

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[solvuu_build] https://github.com/solvuu/solvuu-build.git already up-to-date

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
∗  installed solvuu_build.dev
Done.
% ocamlfind -list |grep solv
%

I believe the reason is that opam tries to install from solvuu_build.install, but the library generates solvuu-build.install

copy commented 8 years ago

Just figured that the opam package has been renamed to solvuu-build, so the correct command to pin is opam pin add solvuu-build -k git https://github.com/solvuu/solvuu-build.git. This should maybe be mentioned in the readme, so other people don't get confused.