* [Caml-list] How do I get opam to show me why two packages conflict?
@ 2020-12-06 3:06 Martin DeMello
2020-12-06 9:41 ` Fabrice Le Fessant
0 siblings, 1 reply; 5+ messages in thread
From: Martin DeMello @ 2020-12-06 3:06 UTC (permalink / raw)
To: caml users
[-- Attachment #1: Type: text/plain, Size: 517 bytes --]
I tried to install drom via opam and got told that it conflicted with
core_kernel:
⊘ remove core_kernel v0.14.1 [conflicts with
opam-file-format]
↗ upgrade opam-file-format 2.1.0 to 2.1.1 [required by drom_lib]
but `opam show core_kernel` lists no dependency on opam-file-format`, and
`opam show opam-file-format.2.1.1` just says
depends: "ocaml" "dune" {>= "2.0"} "alcotest" {with-test}
conflicts: "core_kernel"
with no indication as to why the conflict.
martin
[-- Attachment #2: Type: text/html, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] How do I get opam to show me why two packages conflict?
2020-12-06 3:06 [Caml-list] How do I get opam to show me why two packages conflict? Martin DeMello
@ 2020-12-06 9:41 ` Fabrice Le Fessant
[not found] ` <6f4e51b5b5f34dcb83d4929737c96843@metastack.com>
2020-12-07 3:27 ` Martin DeMello
0 siblings, 2 replies; 5+ messages in thread
From: Fabrice Le Fessant @ 2020-12-06 9:41 UTC (permalink / raw)
To: Martin DeMello; +Cc: caml users
Hi Martin,
I have a 4.09.1 switch with both core_kernel.v0.14.1 and drom.0.2.0
installed with no conflict. Did you try to install with dev-deps ?
Best regards
--
Fabrice
On Sun, Dec 6, 2020 at 4:06 AM Martin DeMello <martindemello@gmail.com> wrote:
>
> I tried to install drom via opam and got told that it conflicted with core_kernel:
>
> ⊘ remove core_kernel v0.14.1 [conflicts with opam-file-format]
> ↗ upgrade opam-file-format 2.1.0 to 2.1.1 [required by drom_lib]
>
> but `opam show core_kernel` lists no dependency on opam-file-format`, and `opam show opam-file-format.2.1.1` just says
>
> depends: "ocaml" "dune" {>= "2.0"} "alcotest" {with-test}
> conflicts: "core_kernel"
>
> with no indication as to why the conflict.
>
> martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] How do I get opam to show me why two packages conflict?
[not found] ` <6f4e51b5b5f34dcb83d4929737c96843@metastack.com>
@ 2020-12-06 12:59 ` Fabrice Le Fessant
0 siblings, 0 replies; 5+ messages in thread
From: Fabrice Le Fessant @ 2020-12-06 12:59 UTC (permalink / raw)
To: David Allsopp; +Cc: Martin DeMello, caml users
Then, I don't understand the fix in the opam-repository:
opam-file-format does conflict with core_kernel when they are included
in the same executable, but not when they are just in the same switch.
Conflicts in the opam-repository are for installation conflicts, not
for linking conflicts, no ?
On Sun, Dec 6, 2020 at 1:19 PM David Allsopp <david@allsopps.net> wrote:
>
> opam-file-format 2.1.1 conflicts core-kernel because of https://github.com/ocaml/opam-file-format/pull/34. 2.1.2 (which should be being released soon along with opam 2.1 beta4) will include that fix.
>
> It's not perhaps the greatest UI for it, but the reasons for such changes can occasionally be clear from the git blame on opam-repository: https://github.com/ocaml/opam-repository/blame/master/packages/opam-file-format/opam-file-format.2.1.1/opam#L13
>
> The change in opam-repository was only merged yesterday.
>
> All best,
>
>
> David
>
> > -----Original Message-----
> > From: caml-list-request@inria.fr <caml-list-request@inria.fr> On Behalf Of
> > Fabrice Le Fessant
> > Sent: 06 December 2020 09:41
> > To: Martin DeMello <martindemello@gmail.com>
> > Cc: caml users <caml-list@inria.fr>
> > Subject: Re: [Caml-list] How do I get opam to show me why two packages
> > conflict?
> >
> > Hi Martin,
> >
> > I have a 4.09.1 switch with both core_kernel.v0.14.1 and drom.0.2.0
> > installed with no conflict. Did you try to install with dev-deps ?
> >
> > Best regards
> > --
> > Fabrice
> >
> > On Sun, Dec 6, 2020 at 4:06 AM Martin DeMello <martindemello@gmail.com>
> > wrote:
> > >
> > > I tried to install drom via opam and got told that it conflicted with
> > core_kernel:
> > >
> > > ⊘ remove core_kernel v0.14.1 [conflicts with opam-file-
> > format]
> > > ↗ upgrade opam-file-format 2.1.0 to 2.1.1 [required by drom_lib]
> > >
> > > but `opam show core_kernel` lists no dependency on opam-file-format`,
> > > and `opam show opam-file-format.2.1.1` just says
> > >
> > > depends: "ocaml" "dune" {>= "2.0"} "alcotest" {with-test}
> > > conflicts: "core_kernel"
> > >
> > > with no indication as to why the conflict.
> > >
> > > martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] How do I get opam to show me why two packages conflict?
2020-12-06 9:41 ` Fabrice Le Fessant
[not found] ` <6f4e51b5b5f34dcb83d4929737c96843@metastack.com>
@ 2020-12-07 3:27 ` Martin DeMello
2020-12-07 11:37 ` Fabrice Le Fessant
1 sibling, 1 reply; 5+ messages in thread
From: Martin DeMello @ 2020-12-07 3:27 UTC (permalink / raw)
To: Fabrice Le Fessant; +Cc: caml users
[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]
I tried on both 4.09 and 4.11 and couldn't get it to work. Also I couldn't
find a `--dev-deps` flag, did you mean `--deps-only'? That didn't work
either. I'll wait for the fix David Allsopp mentioned and try again.
martin
On Sun, Dec 6, 2020 at 1:41 AM Fabrice Le Fessant <
fabrice.le_fessant@origin-labs.com> wrote:
> Hi Martin,
>
> I have a 4.09.1 switch with both core_kernel.v0.14.1 and drom.0.2.0
> installed with no conflict. Did you try to install with dev-deps ?
>
> Best regards
> --
> Fabrice
>
> On Sun, Dec 6, 2020 at 4:06 AM Martin DeMello <martindemello@gmail.com>
> wrote:
> >
> > I tried to install drom via opam and got told that it conflicted with
> core_kernel:
> >
> > ⊘ remove core_kernel v0.14.1 [conflicts with
> opam-file-format]
> > ↗ upgrade opam-file-format 2.1.0 to 2.1.1 [required by drom_lib]
> >
> > but `opam show core_kernel` lists no dependency on opam-file-format`,
> and `opam show opam-file-format.2.1.1` just says
> >
> > depends: "ocaml" "dune" {>= "2.0"} "alcotest" {with-test}
> > conflicts: "core_kernel"
> >
> > with no indication as to why the conflict.
> >
> > martin
>
[-- Attachment #2: Type: text/html, Size: 1758 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] How do I get opam to show me why two packages conflict?
2020-12-07 3:27 ` Martin DeMello
@ 2020-12-07 11:37 ` Fabrice Le Fessant
0 siblings, 0 replies; 5+ messages in thread
From: Fabrice Le Fessant @ 2020-12-07 11:37 UTC (permalink / raw)
To: Martin DeMello; +Cc: caml users
I have submitted `ez_opam_file` to opam-repository, a compatibility
library for opam-file-format supporting all of its versions. Once it's
accepted, I will submit the corresponding versions of `drom` and
`opam-bin`, so they should be installable in any switch.
--
Fabrice
On Mon, Dec 7, 2020 at 4:28 AM Martin DeMello <martindemello@gmail.com> wrote:
>
> I tried on both 4.09 and 4.11 and couldn't get it to work. Also I couldn't find a `--dev-deps` flag, did you mean `--deps-only'? That didn't work either. I'll wait for the fix David Allsopp mentioned and try again.
>
> martin
>
> On Sun, Dec 6, 2020 at 1:41 AM Fabrice Le Fessant <fabrice.le_fessant@origin-labs.com> wrote:
>>
>> Hi Martin,
>>
>> I have a 4.09.1 switch with both core_kernel.v0.14.1 and drom.0.2.0
>> installed with no conflict. Did you try to install with dev-deps ?
>>
>> Best regards
>> --
>> Fabrice
>>
>> On Sun, Dec 6, 2020 at 4:06 AM Martin DeMello <martindemello@gmail.com> wrote:
>> >
>> > I tried to install drom via opam and got told that it conflicted with core_kernel:
>> >
>> > ⊘ remove core_kernel v0.14.1 [conflicts with opam-file-format]
>> > ↗ upgrade opam-file-format 2.1.0 to 2.1.1 [required by drom_lib]
>> >
>> > but `opam show core_kernel` lists no dependency on opam-file-format`, and `opam show opam-file-format.2.1.1` just says
>> >
>> > depends: "ocaml" "dune" {>= "2.0"} "alcotest" {with-test}
>> > conflicts: "core_kernel"
>> >
>> > with no indication as to why the conflict.
>> >
>> > martin
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-12-07 11:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 3:06 [Caml-list] How do I get opam to show me why two packages conflict? Martin DeMello
2020-12-06 9:41 ` Fabrice Le Fessant
[not found] ` <6f4e51b5b5f34dcb83d4929737c96843@metastack.com>
2020-12-06 12:59 ` Fabrice Le Fessant
2020-12-07 3:27 ` Martin DeMello
2020-12-07 11:37 ` Fabrice Le Fessant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox