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 86CC77EEF8 for ; Sat, 18 Jul 2015 23:42:04 +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.214.174; 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.214.174 as permitted sender) identity=mailfrom; client-ip=209.85.214.174; 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-ob0-f174.google.com) identity=helo; client-ip=209.85.214.174; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="postmaster@mail-ob0-f174.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AgAwD+x6pVm67WVdFbg2dpBoMdqTaOYoIohXcCgR8HTAEBAQEBARIBAQEBAQYLCwkhLoQjAQEBAwESER0BGx4DAQsGAwILDSoCAiEBAREBBQEcBhMbB4d2AQMKCA2YTY8/gSw+MYs/gWyCeYpbChknDVeEVwEBCAEBAQEBFwEFDos+gk0egVBHC4JogUMFhwmGVYN9gneEb4JggmqBaIFDRo5lcYNHghcSI4EVEQaCGR+BbyIxAYEDBIFDAQEB X-IPAS-Result: A0AgAwD+x6pVm67WVdFbg2dpBoMdqTaOYoIohXcCgR8HTAEBAQEBARIBAQEBAQYLCwkhLoQjAQEBAwESER0BGx4DAQsGAwILDSoCAiEBAREBBQEcBhMbB4d2AQMKCA2YTY8/gSw+MYs/gWyCeYpbChknDVeEVwEBCAEBAQEBFwEFDos+gk0egVBHC4JogUMFhwmGVYN9gneEb4JggmqBaIFDRo5lcYNHghcSI4EVEQaCGR+BbyIxAYEDBIFDAQEB X-IronPort-AV: E=Sophos;i="5.15,500,1432591200"; d="scan'208";a="170762300" Received: from mail-ob0-f174.google.com ([209.85.214.174]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 18 Jul 2015 23:41:42 +0200 Received: by obre1 with SMTP id e1so83621426obr.1 for ; Sat, 18 Jul 2015 14:41:40 -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 :content-type; bh=PMDh9Oxk2/De1CI8DxUgCqBb8tbfbklZR5IIoPKoeh0=; b=kBe16E2JovFtDiXvHyjjexE0zVokq8ZvQBkKXIl2SlUqPLLx2kVsFUvV7CwOjvI/y4 pDWPY59zzBK7DDnvH5FHAhcDhU8ShaAN/Cu6Vhx9+zanWYXLZKIin+XGI7WrFwTIwK+e +75mR/2Wio0C6D2dTjeeNh8R8HDcV+U4tE2ZtR2HplESq0wEC/zkE1H6+KCWoOx0rKDG mLUkSSe7HbS5hbCNb8f5EYUTqmyM8B0hl10lUsC6dhSCLN27kl35uUM/fQDirXMo4xLP LE/v2v/IR8BsGifoo/A+CXfPK0u7438AVWVbjBzzqjvFBuYeafmybmeGNlrLpwuSlYc7 dQiw== MIME-Version: 1.0 X-Received: by 10.202.199.75 with SMTP id x72mr18750387oif.121.1437255700793; Sat, 18 Jul 2015 14:41:40 -0700 (PDT) Received: by 10.202.191.8 with HTTP; Sat, 18 Jul 2015 14:41:40 -0700 (PDT) In-Reply-To: References: Date: Sat, 18 Jul 2015 17:41:40 -0400 Message-ID: From: Kenneth Adam Miller To: caml users Content-Type: multipart/alternative; boundary=001a1134f0a47f5061051b2d2ba1 Subject: Re: [Caml-list] OCamlJava opam packages troubles --001a1134f0a47f5061051b2d2ba1 Content-Type: text/plain; charset=UTF-8 Well I hunted down different paths for a solution and couldn't find anything, even manually specifying the ocamlfind version didn't work. Cudf remote proxy also selected the same dependent package. And all attempted versions have identical errors. I can't continue development using ocamljava until I can install that package. I don't know how to continue hunting this error. Basically, the library that I'm developing uses -package bytes in the command line, so I presume that base.bytes is the opam package that it's talking about. On Sat, Jul 18, 2015 at 4:04 PM, Kenneth Adam Miller < kennethadammiller@gmail.com> wrote: > Yeah, in addition, I should note that ocj-ocamlfind has been updated > upstream as well, and that I can't pull that without being able to update > and upgrade. > > On Sat, Jul 18, 2015 at 4:01 PM, Kenneth Adam Miller < > kennethadammiller@gmail.com> wrote: > >> 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 >>> >> >> > --001a1134f0a47f5061051b2d2ba1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Well I hunted down different paths for a solution and coul= dn't find anything, even manually specifying the ocamlfind version didn= 't work. Cudf remote proxy also selected the same dependent package. An= d all attempted versions have identical errors.

I ca= n't continue development using ocamljava until I can install that packa= ge. I don't know how to continue hunting this error. Basically, the lib= rary that I'm developing uses -package bytes in the command line, so I = presume that base.bytes is the opam package that it's talking about.

On Sat, = Jul 18, 2015 at 4:04 PM, Kenneth Adam Miller <kennethadammiller= @gmail.com> wrote:
Yeah, in addition, I should note that ocj-ocamlfind has been updat= ed upstream as well, and that I can't pull that without being able to u= pdate and upgrade.

On Sat, Jul 18, 2015 at 4:0= 1 PM, Kenneth Adam Miller <kennethadammiller@gmail.com> wrote:
Thanks for = your reply!

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

opam update
...
[ERROR] 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 su= cceed in order that dependency computation move forward correctly? I'd = like to at least rule out not repeating anything or dealing with version is= sues 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 de= pendency 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 d= on'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
<kennet= hadammiller@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\
> # 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



--001a1134f0a47f5061051b2d2ba1--