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 421B97EEBF for ; Thu, 23 Jul 2015 03:28:22 +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.47; 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.47 as permitted sender) identity=mailfrom; client-ip=209.85.218.47; 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-f47.google.com) identity=helo; client-ip=209.85.218.47; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="postmaster@mail-oi0-f47.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DhAQBGQrBVmy/aVdFbg2lpBqxOjnmCKIYBAoFTB0wBAQEBAQESAQEBAQEGCwsJIS6EIwEBAQMBEhEdARsdAQMBCwYDAgsNKgICIQEBEQEFARwGEwgah3YBAwoIDZk/jz+BLD4xiz+BbIJ5i0cKGScNV4RXAQEBAQEFAQEBAQEBARUBBQ6KPIECgk0egVBHBAeCaIFDBYcJBoZWg32CeoR1gmKCdoFogUNGjnVyg0eCFxIjgRURBoIZH4FvIjEBgQMEgUMBAQE X-IPAS-Result: A0DhAQBGQrBVmy/aVdFbg2lpBqxOjnmCKIYBAoFTB0wBAQEBAQESAQEBAQEGCwsJIS6EIwEBAQMBEhEdARsdAQMBCwYDAgsNKgICIQEBEQEFARwGEwgah3YBAwoIDZk/jz+BLD4xiz+BbIJ5i0cKGScNV4RXAQEBAQEFAQEBAQEBARUBBQ6KPIECgk0egVBHBAeCaIFDBYcJBoZWg32CeoR1gmKCdoFogUNGjnVyg0eCFxIjgRURBoIZH4FvIjEBgQMEgUMBAQE X-IronPort-AV: E=Sophos;i="5.15,526,1432591200"; d="scan'208";a="171301098" Received: from mail-oi0-f47.google.com ([209.85.218.47]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 23 Jul 2015 03:28:20 +0200 Received: by oige126 with SMTP id e126so155804475oig.0 for ; Wed, 22 Jul 2015 18:28:19 -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=+Zxjtws2US/nSqd1CvkWM1SyRy7p25qHCLlqXIOmht0=; b=DliwJyLlLvJDQ3gXKGuR3EYkEJ4dmgTEdMWowy1v2fUqdBRjgceORGI/fNP4VYK1Mw +YcCEaRCj6xEELDUQ0ulOnUwY0bADhOWXl8kIt9THnSUSfkmm8QbSc8H3VwKbswrMrNI BNQTXTWl8cJu3RYVg0eeIDjJd5N6SsVfuHNy2uyckYMekr8F6slX89uDcmS1ZUjnxlTg eBW479kHOG2Cf7wcjbO6p+4NXfEIHCDRTCdbGqsUVNbMlnzXq5W9pOWjfc3JJOjXhfyS Q5TyL95P8e+RpL2NBs3POwMcl9SbYC36FAP75ViK28SOBLbcnWdhfI4TcimmT1rXd/MA POnQ== MIME-Version: 1.0 X-Received: by 10.202.206.77 with SMTP id e74mr5245740oig.132.1437614899603; Wed, 22 Jul 2015 18:28:19 -0700 (PDT) Received: by 10.202.191.8 with HTTP; Wed, 22 Jul 2015 18:28:19 -0700 (PDT) In-Reply-To: <1503638.InH3iX5SQW@agaric> References: <1503638.InH3iX5SQW@agaric> Date: Wed, 22 Jul 2015 21:28:19 -0400 Message-ID: From: Kenneth Adam Miller To: Louis Gesbert Cc: caml users , Gabriel Scherer Content-Type: multipart/alternative; boundary=001a113d2c226a30c1051b80cd73 Subject: Re: [Caml-list] OCamlJava opam packages troubles --001a113d2c226a30c1051b80cd73 Content-Type: text/plain; charset=UTF-8 Thank you Louis! I managed to work around it with Jeremy's remarks, turns out I didn't need it. I agree that it should be resolved though. On Mon, Jul 20, 2015 at 10:16 PM, Louis Gesbert wrote: > This error about a single package could get it ignored on older opam > versions, but I don't think it should ever make the full update command > fail. In other words, this should be harmless unless you want to install > `pxp`. What were the end of output and return code from opam ? > > I'll report the error for ocamlfind+ocp1 ; you can work around it by > pinning to a different version, e.g. `opam pin add ocamlfind 1.5.5`. > > On the `ocamlfind-ocj` and `ocj-ocamlfind`, that should probably be > cleaned up in the opam repository. > > Best, > Louis Gesbert -- OCamlPro > > > - Kenneth Adam Miller, 18/07/2015 16:01 - > > 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 < > gabriel.scherer@gmail.com> > > 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 > > > > > > > > --001a113d2c226a30c1051b80cd73 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you Louis!

I managed to work arou= nd it with Jeremy's remarks, turns out I didn't need it. I agree th= at it should be resolved though.

=
On Mon, Jul 20, 2015 at 10:16 PM, Louis Gesbert = <louis.gesbert@ocamlpro.com> wrote:
This error about a single package could get it ignored = on older opam versions, but I don't think it should ever make the full = update command fail. In other words, this should be harmless unless you wan= t to install `pxp`. What were the end of output and return code from opam ?=

I'll report the error for ocamlfind+ocp1 ; you can work around it by pi= nning to a different version, e.g. `opam pin add ocamlfind 1.5.5`.

On the `ocamlfind-ocj` and `ocj-ocamlfind`, that should probably be cleaned= up in the opam repository.

Best,
Louis Gesbert -- OCamlPro

> - Kenneth Adam Miller, 18/07/2015 16:01 -
> Thanks for your reply!
>
> Yeah that's possible; I was trying to update and that was giving m= e an
> error as well.
>
> opam update
> ...
> [ERROR] At ~/.opam/repo/default/packages/pxp/pxp.1.2.7/opam:4:52:
>=C2=A0 =C2=A0Not a recognised version-control URL
>
> I don't know what that's about either. Do you think possibly I= =C2=A0 just need
> to get update to succeed in order that dependency computation move for= ward
> 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 <gabriel.scherer@gmail.com>
> wrote:
>
> > This looks like a problem with the dependency computation algorit= hm.
> > If you have not installed an external CUDF solver such as aspcud<= br> > > (which does a better job than the internal solver of OPAM), it ma= y
> > solve such spurious dependency issues.
> >=C2=A0 =C2=A0https://opam.ocam= l.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
> > <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
> > > 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 followin= g errors:
> > >
> > > #=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/ocamlfin= d.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/ocamlfin= d.1.5.5+ocp1/ocamlfind-12342-e7966f.env
> > > # stdout-file
> > >
> > /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfin= d.1.5.5+ocp1/ocamlfind-12342-e7966f.out
> > > # stderr-file
> > >
> > /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/build/ocamlfin= d.1.5.5+ocp1/ocamlfind-12342-e7966f.err
> > > ### stdout ###
> > > # ...[truncated]
> > > #=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ocaml_args.cmo fro= ntend.cmo
> > > # 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\
> > > # 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/ocamlfi= nd.1.5.5+ocp1/src/findlib'
> > > ### stderr ###
> > > # File "itest-aux/ppx.ml", line 1, characters 0-25= :
> > > # Error: Unbound value Toploop.preprocess_p= hrase
> > > # 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/comp= iler-libs/toploop.cmi
> > > #=C2=A0 =C2=A0 =C2=A0 =C2=A0 and
> > >
> > /home/kennethadammiller/.opam/ocamljava-2.0-alpha3/lib/ocaml/comp= iler-libs/parsetree.cmi
> > > #=C2=A0 =C2=A0 =C2=A0 =C2=A0 make inconsistent assumptions o= ver interface 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
> >
>
>

--001a113d2c226a30c1051b80cd73--