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

Build failure while installing imaplet #5

Open
amirmc opened this issue Mar 14, 2015 · 6 comments
Open

Build failure while installing imaplet #5

amirmc opened this issue Mar 14, 2015 · 6 comments

Comments

@amirmc
Copy link

amirmc commented Mar 14, 2015

$ opam config report
# OPAM status report
# opam-version    1.2.0
# self-upgrade    no
# os              darwin
# external-solver no
# criteria        -removed,-notuptodate,-changed*
# jobs            4
# repositories    1* (http)
# pinned          0
# current-switch  imap*
# last-update     2015-03-14 20:56`
#=== ERROR while installing imaplet-lwt.0.1.4 =================================#
# opam-version 1.2.0
# os           darwin
# command      ./configure --prefix=/Users/amir/.opam/imap --override=ocamlbuildflags -I storage
# path         /Users/amir/.opam/imap/build/imaplet-lwt.0.1.4
# compiler     system (4.02.1)
# exit-code    1
# env-file     /Users/amir/.opam/imap/build/imaplet-lwt.0.1.4/imaplet-lwt-47773-5dd0bd.env
# stdout-file  /Users/amir/.opam/imap/build/imaplet-lwt.0.1.4/imaplet-lwt-47773-5dd0bd.out
# stderr-file  /Users/amir/.opam/imap/build/imaplet-lwt.0.1.4/imaplet-lwt-47773-5dd0bd.err
### stderr ###
# ocamlfind: Package `irmin.unix' not found
# W: Field 'pkg_irmin_unix' is not set: Command ''/Users/amir/.opam/imap/bin/ocamlfind' query -format %d irmin.unix > '/var/folders/gd/bdnlf1ld21g4ynlctmqgml5h0000gn/T/oasis-d749e2.txt'' terminated with error code 2
# ocamlfind: Package `irmin.unix' not found
# W: Failure("Command ''/Users/amir/.opam/imap/bin/ocamlfind' query -format %d irmin.unix > '/var/folders/gd/bdnlf1ld21g4ynlctmqgml5h0000gn/T/oasis-9090f9.txt'' terminated with error code 2")
# ocamlfind: Package `irmin.unix' not found
# W: Failure("Command ''/Users/amir/.opam/imap/bin/ocamlfind' query -format %d irmin.unix > '/var/folders/gd/bdnlf1ld21g4ynlctmqgml5h0000gn/T/oasis-0f0873.txt'' terminated with error code 2")
# E: Cannot find findlib package irmin.unix
# E: Failure("1 configuration error")
@amirmc
Copy link
Author

amirmc commented Mar 14, 2015

I wonder if this is a failure of the constraint solver somehow (I'm using the internal solver). I see that the most recent version of the lib is 0.1.9 but my system is only trying to install 0.1.4.

@amirmc
Copy link
Author

amirmc commented Mar 14, 2015

Interesting…

$ opam install imaplet-lwt.0.1.8
Your request can't be satisfied:
  - No package matches imaplet-lwt.

No solution found, exiting
$ opam install imaplet-lwt.0.1.9
Your request can't be satisfied:
  - No package matches imaplet-lwt.

No solution found, exiting

@amirmc
Copy link
Author

amirmc commented Mar 14, 2015

I notice from the OPAM repo webpage that the dependency on re2 was changed to re in 0.1.9. It would be helpful to have a changelog with each release so that it's easier to find out what the fixes/differences are.

@gregtatcam
Copy link
Owner

Makes sense. Will add it to the next release.

Perhaps you need to do opam update/upgrade to get it to work?

On Mar 14, 2015, at 9:25 PM, Amir Chaudhry notifications@github.com wrote:

I notice from the OPAM repo webpage that the dependency on re2 was changed to re in 0.1.9. It would be helpful to have a changelog with each release so that it's easier to find out what the fixes/differences are.


Reply to this email directly or view it on GitHub #5 (comment).

@amirmc
Copy link
Author

amirmc commented Mar 14, 2015

Already did that and I usually do it before any new installs. I also tried this out a few times on different switches (4.01.0 and 4.02.1), and both were trying to install 0.1.4 and failed. Not quite sure if it's just an issue with this package or a combination of issues with my opam install (I find it strange that I can't get 0.1.8 nor 0.1.9).

On 14 Mar 2015, at 21:39, gregtatcam notifications@github.com wrote:

Makes sense. Will add it to the next release.

Perhaps you need to do opam update/upgrade to get it to work?

On Mar 14, 2015, at 9:25 PM, Amir Chaudhry notifications@github.com wrote:

I notice from the OPAM repo webpage that the dependency on re2 was changed to re in 0.1.9. It would be helpful to have a changelog with each release so that it's easier to find out what the fixes/differences are.


Reply to this email directly or view it on GitHub #5 (comment).


Reply to this email directly or view it on GitHub.

@gregtatcam
Copy link
Owner

Yes, sounds strange.

There is something broken with the latest opam packages. I checked in CHANGES.md in imaplet-lwt which triggered Travis script and tls failed to build. Maybe this is causing the issue as imaplet-lwt depends on tls.

/home/travis/.opam/system/bin/ocamlfind ocamldep -syntax camlp4o -package cstruct.syntax -package io-page -package ipaddr -package lwt -syntax camlp4o -package lwt.syntax -package mirage-types -package nocrypto -syntax camlp4o -package sexplib.syntax -package x509 -modules mirage/tls_mirage.ml > mirage/tls_mirage.ml.depends

<># /home/travis/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I lib -syntax camlp4o -package cstruct.syntax -package io-page -package ipaddr -package lwt -syntax camlp4o -package lwt.syntax -package mirage-types -package nocrypto -syntax camlp4o -package sexplib.syntax -package x509 -I mirage -I lib -o mirage/tls_mirage.cmo mirage/tls_mirage.ml
<># + /home/travis/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I lib -syntax camlp4o -package cstruct.syntax -package io-page -package ipaddr -package lwt -syntax camlp4o -package lwt.syntax -package mirage-types -package nocrypto -syntax camlp4o -package sexplib.syntax -package x509 -I mirage -I lib -o mirage/tls_mirage.cmo mirage/tls_mirage.ml
<># File "mirage/tls_mirage.ml", line 1:
<># Error: The implementation mirage/tls_mirage.ml
<># does not match the interface mirage/tls_mirage.cmi:
<># ...
<># At position module Make(F)(E) :
<># The value `error_message' is required but not provided
<># Command exited with code 2.
<>### stderr ###

On Mar 14, 2015, at 9:54 PM, Amir Chaudhry notifications@github.com wrote:

Already did that and I usually do it before any new installs. I also tried this out a few times on different switches (4.01.0 and 4.02.1), and both were trying to install 0.1.4 and failed. Not quite sure if it's just an issue with this package or a combination of issues with my opam install (I find it strange that I can get 0.1.8 nor 0.1.9).

On 14 Mar 2015, at 21:39, gregtatcam notifications@github.com wrote:

Makes sense. Will add it to the next release.

Perhaps you need to do opam update/upgrade to get it to work?

On Mar 14, 2015, at 9:25 PM, Amir Chaudhry notifications@github.com wrote:

I notice from the OPAM repo webpage that the dependency on re2 was changed to re in 0.1.9. It would be helpful to have a changelog with each release so that it's easier to find out what the fixes/differences are.


Reply to this email directly or view it on GitHub #5 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub #5 (comment).

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