From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id E13CB7EEF8 for ; Sat, 18 Jul 2015 22:01:37 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of kennethadammiller@gmail.com) identity=pra; client-ip=209.85.218.43; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of kennethadammiller@gmail.com designates 209.85.218.43 as permitted sender) identity=mailfrom; client-ip=209.85.218.43; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-oi0-f43.google.com) identity=helo; client-ip=209.85.218.43; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="postmaster@mail-oi0-f43.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AgAwBLsKpVmyvaVdFbg2daDwaDHak0jmKCKIV3AoEfB0wBAQEBAQESAQEBAQEGCwsJIS6EIwEBAQMBEhEdARsdAQMBCwYDAgsNKgICIQEBEQEFARwGEyKHdgEDCggNmE2PP4EsPjGLP4FsgnmKXQoZJw1XhFcBAQEBAQEBAwEBAQEBAQEBFAEFDos+gk0egVBHBAeCaIFDBYcJhlWDfYJ3hG+CYIJqgWiBQ0aOZXGDR4IXEiOBFREGghkfgW8iMQGBAwSBQwEBAQ X-IPAS-Result: A0AgAwBLsKpVmyvaVdFbg2daDwaDHak0jmKCKIV3AoEfB0wBAQEBAQESAQEBAQEGCwsJIS6EIwEBAQMBEhEdARsdAQMBCwYDAgsNKgICIQEBEQEFARwGEyKHdgEDCggNmE2PP4EsPjGLP4FsgnmKXQoZJw1XhFcBAQEBAQEBAwEBAQEBAQEBFAEFDos+gk0egVBHBAeCaIFDBYcJhlWDfYJ3hG+CYIJqgWiBQ0aOZXGDR4IXEiOBFREGghkfgW8iMQGBAwSBQwEBAQ X-IronPort-AV: E=Sophos;i="5.15,499,1432591200"; d="scan'208";a="170758149" Received: from mail-oi0-f43.google.com ([209.85.218.43]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 18 Jul 2015 22:01:21 +0200 Received: by oihq81 with SMTP id q81so88741096oih.2 for ; Sat, 18 Jul 2015 13:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eIzDK3IUIi2PpQ10Bmb9WF+FtO01K9grLJR5QfTju8k=; b=DYf6OgXnLeXNvtkw1vucseWIOoc9J8+5VBYg0LGGxtPSym7nLBqMByFKs17/XJcI5L bfotYUiY0SeQZtb0IZ+BjUUrEvf2xE64P8KZMv/qmRS4bqv5n7KBP/yANN3LlpesVjkq 4x/njVeY3ksVcMS4KExGy2NmSafFRsmPbKvFJ104kBnEETF4RqrZg8kWmR3LGRb28pmk QxLWjSbPY8U/sPsYU6SP2AZdQXU/O1rm6DutQVI8TUDKZf1gMEEgkuqbBTIQx2d8AdGh EOiw4tN2f1Prc7ffHO5JlrRdRA+kUQTs/6jezfxCHkWt55W/QtXAcQhOhNalspj9tM25 DWqg== MIME-Version: 1.0 X-Received: by 10.202.206.77 with SMTP id e74mr18681513oig.132.1437249680124; Sat, 18 Jul 2015 13:01:20 -0700 (PDT) Received: by 10.202.191.8 with HTTP; Sat, 18 Jul 2015 13:01:20 -0700 (PDT) In-Reply-To: References: Date: Sat, 18 Jul 2015 16:01:20 -0400 Message-ID: From: Kenneth Adam Miller To: Gabriel Scherer Cc: caml users Content-Type: multipart/alternative; boundary=001a113d2c22a332d5051b2bc42a Subject: Re: [Caml-list] OCamlJava opam packages troubles --001a113d2c22a332d5051b2bc42a Content-Type: text/plain; charset=UTF-8 Thanks for your reply! Yeah that's possible; I was trying to update and that was giving me an error as well. opam update ... [ERROR] At ~/.opam/repo/default/packages/pxp/pxp.1.2.7/opam:4:52: Not a recognised version-control URL I don't know what that's about either. Do you think possibly I just need to get update to succeed in order that dependency computation move forward correctly? I'd like to at least rule out not repeating anything or dealing with version issues with I could be on the edge. On Sat, Jul 18, 2015 at 3:44 PM, Gabriel Scherer wrote: > This looks like a problem with the dependency computation algorithm. > If you have not installed an external CUDF solver such as aspcud > (which does a better job than the internal solver of OPAM), it may > solve such spurious dependency issues. > https://opam.ocaml.org/doc/Specifying_Solver_Preferences.html > > (Or use the remove server farm > http://cudf-solvers.irill.org/index.html if you don't want to install > an external solver and don't mind your install requests to be sent > over the network) > > On Sat, Jul 18, 2015 at 9:36 PM, Kenneth Adam Miller > wrote: > > There are duplicate ocamlfind specific opam packages: > > > > opam search ocamlfind > > ... > > ocamlfind-ocj -- A library manager for OCaml > > ocj-ocamlfind -- A library manager for OCaml > > > > > > > > In a second note, I have to install the library base-bytes. ocamlfind > > 1.5.5-ocp is required by base-bytes, when a non-ocp install of ocamlfind > was > > working fine. ocamlfind 1.5.5-ocp blows up with the following errors: > > > > #=== ERROR while installing ocamlfind.1.5.5+ocp1 > > ==============================# > > # opam-version 1.2.0 > > # os linux > > # command make all > > # path > > > /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5.5+ocp1 > > # compiler ocamljava-2.0-alpha3 > > # exit-code 2 > > # env-file > > > /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5.5+ocp1/ocamlfind-12342-e7966f.env > > # stdout-file > > > /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5.5+ocp1/ocamlfind-12342-e7966f.out > > # stderr-file > > > /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5.5+ocp1/ocamlfind-12342-e7966f.err > > ### stdout ### > > # ...[truncated] > > # ocaml_args.cmo frontend.cmo > > # if [ "false" = "true" ]; then \ > > # cp topfind.ml.in topfind.ml; \ > > # else \ > > # sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \ > > # > topfind.ml ; \ > > # fi > > # ocamlc -I +compiler-libs -c topfind.mli > > # ocamlc -I +compiler-libs -g -c topfind.ml > > # make[1]: Leaving directory > > > `/home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5.5+ocp1/src/findlib' > > ### stderr ### > > # File "itest-aux/ppx.ml", line 1, characters 0-25: > > # Error: Unbound value Toploop.preprocess_phrase > > # Makefile:160: depend: No such file or directory > > # File "topfind.ml", line 1: > > # Error: The files > > > /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/lib/ocaml/compiler-libs/toploop.cmi > > # and > > > /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/lib/ocaml/compiler-libs/parsetree.cmi > > # make inconsistent assumptions over interface Warnings > > # make[1]: *** [topfind.cmo] Error 2 > > # make: *** [all] Error 2 > > > > > > =-=- Error report > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > The following failed > > - install ocamlfind.1.5.5+ocp1 > > Due to the errors, the following have been cancelled > > - install base-bytes.base > --001a113d2c22a332d5051b2bc42a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for your reply!

Yeah that's = possible; I was trying to update and that was giving me an error as well.= =C2=A0

opam update
...
[E= RROR] At ~/.opam/repo/default/packages/pxp/pxp.1.2.7/opam:4:52:
= =C2=A0 Not a recognised version-control URL

= I don't know what that's about either. Do you think possibly I =C2= =A0just need to get update to succeed in order that dependency computation = move forward correctly? I'd like to at least rule out not repeating any= thing or dealing with version issues with I could be on the edge.

On Sat, Jul 18,= 2015 at 3:44 PM, Gabriel Scherer <gabriel.scherer@gmail.com&g= t; wrote:
This looks like a proble= m with the dependency computation algorithm.
If you have not installed an external CUDF solver such as aspcud
(which does a better job than the internal solver of OPAM), it may
solve such spurious dependency issues.
=C2=A0 https://opam.ocaml.org/doc/Speci= fying_Solver_Preferences.html

(Or use the remove server farm
http://cudf-solvers.irill.org/index.html if you don'= t want to install
an external solver and don't mind your install requests to be sent
over the network)

On Sat, Jul 18, 2015 at 9:36 PM, Kenneth Adam Miller
<kennethadammiller@gmail.= com> wrote:
> There are duplicate ocamlfind specific opam packages:
>
> opam search ocamlfind
> ...
> ocamlfind-ocj=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--=C2=A0 = A library manager for OCaml
> ocj-ocamlfind=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--=C2=A0 = A library manager for OCaml
>
>
>
> In a second note, I have to install the library base-bytes. ocamlfind<= br> > 1.5.5-ocp is required by base-bytes, when a non-ocp install of ocamlfi= nd was
> working fine. ocamlfind 1.5.5-ocp blows up with the following errors:<= br> >
> #=3D=3D=3D ERROR while installing ocamlfind.1.5.5+ocp1
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D#
> # opam-version 1.2.0
> # os=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0linux
> # command=C2=A0 =C2=A0 =C2=A0 make all
> # path
> /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5= .5+ocp1
> # compiler=C2=A0 =C2=A0 =C2=A0ocamljava-2.0-alpha3
> # exit-code=C2=A0 =C2=A0 2
> # env-file
> /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5= .5+ocp1/ocamlfind-12342-e7966f.env
> # stdout-file
> /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5= .5+ocp1/ocamlfind-12342-e7966f.out
> # stderr-file
> /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.5= .5+ocp1/ocamlfind-12342-e7966f.err
> ### stdout ###
> # ...[truncated]
> #=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ocaml_args.cmo frontend.cmo<= br> > # if [ "false" =3D "true" ]; then=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
> # cp topfind.ml.in topfind.ml;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\<= br> > # else=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0\
> # sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in=C2=A0 = =C2=A0 =C2=A0\
> # > topfind.ml ;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
> # fi
> # ocamlc -I +compiler-libs -c topfind.mli
> # ocamlc -I +compiler-libs -g -c topfind.ml
> # make[1]: Leaving directory
> `/home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfind.1.= 5.5+ocp1/src/findlib'
> ### stderr ###
> # File "itest-aux/ppx.ml", line 1, characters 0-25:
> # Error: Unbound value Toploop.preprocess_phrase
> # Makefile:160: depend: No such file or directory
> # File "topfind.ml", line 1:
> # Error: The files
> /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/lib/ocaml/compiler-= libs/toploop.cmi
> #=C2=A0 =C2=A0 =C2=A0 =C2=A0 and
> /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/lib/ocaml/compiler-= libs/parsetree.cmi
> #=C2=A0 =C2=A0 =C2=A0 =C2=A0 make inconsistent assumptions over interf= ace Warnings
> # make[1]: *** [topfind.cmo] Error 2
> # make: *** [all] Error 2
>
>
> =3D-=3D- Error report
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
> The following failed
>=C2=A0 - install=C2=A0 =C2=A0ocamlfind.1.5.5+ocp1
> Due to the errors, the following have been cancelled
>=C2=A0 - install=C2=A0 =C2=A0base-bytes.base

--001a113d2c22a332d5051b2bc42a--