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 6E98E7F75C for ; Wed, 27 Aug 2014 09:59:28 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of martindemello@gmail.com) identity=pra; client-ip=209.85.160.173; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="martindemello@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of martindemello@gmail.com designates 209.85.160.173 as permitted sender) identity=mailfrom; client-ip=209.85.160.173; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="martindemello@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-yk0-f173.google.com) identity=helo; client-ip=209.85.160.173; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="postmaster@mail-yk0-f173.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoIPACWP/VPRVaCtm2dsb2JhbABbg2BXBIJ4gRyrYJwiR4dMAYEICBYQAQEBAQEGCwsJFCmEAwEBAQMBEhEdARseAwELBgMCCw0qAgIhAQERAQUBHAYTIogLAQMJCA2OP5Ana4srgXKDEIktChknDWaEWREBAQQOjRGCKQuCeYFTBYsqijKEbIIQjmCERRgphS8dLwEBgk0BAQE X-IPAS-Result: AoIPACWP/VPRVaCtm2dsb2JhbABbg2BXBIJ4gRyrYJwiR4dMAYEICBYQAQEBAQEGCwsJFCmEAwEBAQMBEhEdARseAwELBgMCCw0qAgIhAQERAQUBHAYTIogLAQMJCA2OP5Ana4srgXKDEIktChknDWaEWREBAQQOjRGCKQuCeYFTBYsqijKEbIIQjmCERRgphS8dLwEBgk0BAQE X-IronPort-AV: E=Sophos;i="5.04,409,1406584800"; d="scan'208";a="91631084" Received: from mail-yk0-f173.google.com ([209.85.160.173]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 27 Aug 2014 09:59:27 +0200 Received: by mail-yk0-f173.google.com with SMTP id 131so12475738ykp.18 for ; Wed, 27 Aug 2014 00:59:25 -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=vo1nAsSSFenlKCRI7Umd9zknnuUd2sWfo9rWjI65pnw=; b=CtGpxlhEtJpbMzkDiJ+MkB0aqJJModv+fdRZSOoG0qVEe1UN9Vxyi51w/LiU+8s1QG mFi2JZB2zFcN/0yNxeshuJ70RYJcW2N6wldUgeZ8rsIJ9xxrWZUqQo3v+CVqsnyKFXI5 d5YDlfaoJGX5AYxJuMpEz1dWt4e+NVEItpyBfranntlBehwNgeqgrY+bg3x0hejqTiBW 7N/3+cy/QlLsSDZmAtaZVkfOiLeIxLpSTvjn15VxRpVKdk2Tr6lc1pdSJX/AaS42I4Cn JTkvrQCKRU1aUbg34btB0Yffax8xVKKZPZf6zMGahPPE7fJ079ISubb36FavE0wSyZEc QZUQ== MIME-Version: 1.0 X-Received: by 10.52.3.40 with SMTP id 8mr23178339vdz.24.1409126365514; Wed, 27 Aug 2014 00:59:25 -0700 (PDT) Received: by 10.220.3.78 with HTTP; Wed, 27 Aug 2014 00:59:25 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Aug 2014 00:59:25 -0700 Message-ID: From: Martin DeMello To: OCaml List Content-Type: multipart/alternative; boundary=20cf3030c11f75d35b050197cc74 Subject: Re: [Caml-list] is this an opam bug or something i'm doing wrong? --20cf3030c11f75d35b050197cc74 Content-Type: text/plain; charset=UTF-8 sorry for the noise, looks like a bug with the package itself :( should've checked for that first https://github.com/OCamlPro/ocp-indent/issues/142 On Wed, Aug 27, 2014 at 12:45 AM, Martin DeMello wrote: > Looks like 0.6.1 is the latest version that doesn't have a "depends" > field, which would at least hint at why that one in particular got picked. > but switching to 4.02.0+rc1 and trying again drops me back to 0.1.0. > > $ opam list > Installed packages for 4.02.0+rc1: > base-bigarray base Bigarray library distributed with the OCaml compiler > base-threads base Threads library distributed with the OCaml compiler > base-unix base Unix library distributed with the OCaml compiler > ocp-indent 0.1.0 A simple tool to indent OCaml programs > > which according to opam show shouldn't even be an option: > > $ opam show ocp-indent > package: ocp-indent > version: 0.1.0 > upstream-url: > https://github.com/OCamlPro/ocp-indent/archive/0.1.0.tar.gz > upstream-kind: http > upstream-checksum: d8f4050700a12f77c0d157ac931cac5f > homepage: https://github.com/OCamlPro/ocp-indent > installed-version: ocp-indent.0.1.0 [4.02.0+rc1] > available-versions: 0.6.0, 0.6.1, 0.6.2, 0.9.0, 0.9.2, 1.0.0, 1.0.1, > 1.0.2, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1 > description: A simple tool to indent OCaml programs > > martin > > > On Wed, Aug 27, 2014 at 12:18 AM, Martin DeMello > wrote: > >> I installed opam from a fresh start (reinstalled opam itself, deleted my >> .opam), ran "opam switch 4.01.0", and then tried to install ocp-indent, >> which installed version 0.1.0. So I tried opam upgrade, which wanted to >> install 0.6.1 even though there are later versions available: >> >> $ opam upgrade >> The following actions will be performed: >> - upgrade ocp-indent.0.1.0 to 0.6.1 >> 0 to install | 0 to reinstall | 1 to upgrade | 0 to downgrade | 0 to >> remove >> >> =-=-= Removing Packages =-=-= >> Removing ocp-indent.0.1.0. >> ./configure --prefix=/home/martin/.opam/4.01.0 >> make uninstall >> >> =-=-= Installing ocp-indent.0.6.1 =-=-= >> >> ..... >> >> $ opam install ocp-indent >> [NOTE] Package ocp-indent is already installed (current version is 0.6.1). >> >> $ opam install ocp-indent.1.4.1 >> The following actions will be performed: >> - install ocamlfind.1.5.2 [required by ocp-indent] >> - install cmdliner.0.9.5 [required by ocp-indent] >> - install typerex.1.99.6-beta [required by ocp-indent] >> - install ocp-build.1.99.6-beta [required by ocp-indent] >> - upgrade ocp-indent.0.6.1 to 1.4.1 >> 4 to install | 0 to reinstall | 1 to upgrade | 0 to downgrade | 0 to >> remove >> Do you want to continue ? [Y/n] y >> >> > --20cf3030c11f75d35b050197cc74 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
sorry for the noise, looks like a bug with the package its= elf :( should've checked for that first



O= n Wed, Aug 27, 2014 at 12:45 AM, Martin DeMello <martindemello@gmail= .com> wrote:
Looks like 0.6.1 is the lat= est version that doesn't have a "depends" field, which would = at least hint at why that one in particular got picked. but switching to 4.= 02.0+rc1 and trying again drops me back to 0.1.0.

$ opam list
Installed packages for 4.02.= 0+rc1:
base-bigarray =C2=A0 base =C2=A0Bigarray library distribut= ed with the OCaml compiler
base-threads =C2=A0 =C2=A0base =C2=A0T= hreads library distributed with the OCaml compiler
base-unix =C2=A0 =C2=A0 =C2=A0 base =C2=A0Unix library distributed wit= h the OCaml compiler
ocp-indent =C2=A0 =C2=A0 0.1.0 =C2=A0A simpl= e tool to indent OCaml programs

which accord= ing to opam show shouldn't even be an option:

$ opam show = ocp-indent
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0package: ocp-indent
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0version: 0.1.0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 upst= ream-url: https://github.com/OCamlPro/ocp-indent/archive/0.1= .0.tar.gz
=C2=A0 =C2=A0 =C2=A0 =C2=A0upstr= eam-kind: http
=C2=A0 =C2=A0upstream-checksum: = d8f4050700a12f77c0d157ac931cac5f
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 homepage: https://github.c= om/OCamlPro/ocp-indent
=C2=A0 =C2=A0installed-version: = ocp-indent.0.1.0 [4.02.0+rc1]
=C2=A0 available-versions: 0.6.0, 0.6.1, 0.6.2, 0.9.0, 0.9.2, 1.0= .0, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1= .4.1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0description: A simple tool to indent OCaml programs

martin


=
On Wed, Aug 27, 2014 at 12:18 AM, Martin DeMello <martindemello@gmai= l.com> wrote:
I installed opam from a fresh start (reinstalled= opam itself, deleted my .opam), ran "opam switch 4.01.0", and th= en tried to install ocp-indent, which installed version 0.1.0. So I tried o= pam upgrade, which wanted to install 0.6.1 even though there are later vers= ions available:

$ opam upgrade
The following actions wi= ll be performed:
=C2=A0- upgrade ocp-indent.0.1.0 to 0.6.1
<= div>0 to install | 0 to reinstall | 1 to upgrade | 0 to downgrade | 0 to re= move

=3D-=3D-=3D Removing Packages =3D-=3D-=3D
Rem= oving ocp-indent.0.1.0.
=C2=A0 ./configure --prefix=3D/home/marti= n/.opam/4.01.0
=C2=A0 make uninstall

=3D= -=3D-=3D Installing ocp-indent.0.6.1 =3D-=3D-=3D

.....

$ opam install= ocp-indent
[NOTE] Package ocp-indent is already installed (c= urrent version is 0.6.1).

$ opam install ocp-inden= t.1.4.1
The following actions will be performed:
=C2=A0- install oca= mlfind.1.5.2 [required by ocp-indent]
=C2=A0- install cmdliner.0.= 9.5 [required by ocp-indent]
=C2=A0- install typerex.1.99.6-beta = [required by ocp-indent]
=C2=A0- install ocp-build.1.99.6-beta [required by ocp-indent]
=C2=A0- upgrade ocp-indent.0.6.1 to 1.4.1
4 to install | 0 to = reinstall | 1 to upgrade | 0 to downgrade | 0 to remove
Do you wa= nt to continue ? [Y/n] y



--20cf3030c11f75d35b050197cc74--