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 497B87EEBF for ; Thu, 23 Jul 2015 02:41:47 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of louis.gesbert@ocamlpro.com) identity=pra; client-ip=37.187.244.36; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="louis.gesbert@ocamlpro.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of louis.gesbert@ocamlpro.com) identity=mailfrom; client-ip=37.187.244.36; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="louis.gesbert@ocamlpro.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@vps119294.ovh.net) identity=helo; client-ip=37.187.244.36; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="postmaster@vps119294.ovh.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A0GACvN7BV/yT0uyVbK4M+Fi8ktFCJHoYBAgiCIAEBAQEBAYELhCQBAQR5EAsYCSUPARE2BgESiBkDFgnHbA2FLgEBAQEBBQEBAQEBHYpKgQKCTR6BUEsHMIN7BYcJhiE3hnaEdYJggnWDK0aGOYg2coNHg2EmggofgWIvMQGBAwSBQwEBAQ X-IPAS-Result: A0A0GACvN7BV/yT0uyVbK4M+Fi8ktFCJHoYBAgiCIAEBAQEBAYELhCQBAQR5EAsYCSUPARE2BgESiBkDFgnHbA2FLgEBAQEBBQEBAQEBHYpKgQKCTR6BUEsHMIN7BYcJhiE3hnaEdYJggnWDK0aGOYg2coNHg2EmggofgWIvMQGBAwSBQwEBAQ X-IronPort-AV: E=Sophos;i="5.15,526,1432591200"; d="asc'?scan'208";a="171298968" Received: from antislash.info (HELO vps119294.ovh.net) ([37.187.244.36]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 23 Jul 2015 02:41:46 +0200 From: Louis Gesbert To: caml-list@inria.fr, Kenneth Adam Miller Cc: Gabriel Scherer Date: Tue, 21 Jul 2015 11:16:52 +0900 Message-ID: <1503638.InH3iX5SQW@agaric> Organization: OCamlPro In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2679980.2iyS2OZnJT"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Validation-by: louis.gesbert@ocamlpro.com Subject: Re: [Caml-list] OCamlJava opam packages troubles --nextPart2679980.2iyS2OZnJT Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 > 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 > > > > --nextPart2679980.2iyS2OZnJT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJVraucAAoJEBg5nEeGqbyY9WMH/2Tfu0AK2DOHLCuBevON0iFS MBW0yqWDLihtVTRB5D0Eb2PjS0znHQekQT+NenzDZ/1QcWOhpbOQ45gmjLP56xWD F3g4TiprDuKyXPt07HyhlDRMH6tqNpGNG8K1znIDgoTkw11rTFdNkLYBN5gXzXJk D5X95lQZwm7GRLaQY2AbbAq/7aMgmWia0enCW96M/rudxVEnVro+H2ePz0cxt/+v PrMf7B+rdQrobaPZAgJNXRGRDwitWBJCTmElGHaa5k2uVgxUv8zfLhqYrT6sAlbC +s6FM6TUFtfn+tANR373bmPLuAVVfE8fHn5Yh6d/L1FK8gnVypKylNT7g6KVrec= =Sk3k -----END PGP SIGNATURE----- --nextPart2679980.2iyS2OZnJT--