Mailinglist Archive: opensuse-bugs (4794 mails)

< Previous Next >
[Bug 1051286] BuildRequires: openmpi2-devel leads to choice error
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 28 Jul 2017 18:58:28 +0000
  • Message-id: <bug-1051286-21960-I9ZRik658h@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1051286
http://bugzilla.opensuse.org/show_bug.cgi?id=1051286#c1

--- Comment #1 from Nicolas Morey-Chaisemartin <nmoreychaisemartin@xxxxxxxx> ---
(In reply to Adrian Schröter from comment #0)
I get this dependency error when adding openmpi2-devel aus BuildRequires:

unresolvable: have choice for openmpi-runtime-config needed by openmpi2:
openmpi-config openmpi2-config, have choice for openmpi-runtime-config
needed by openmpi: openmpi-config openmpi2-config


We could solve this by prefering on of it in each prjconf (or each packager
can workaround it in his spec file), but Dominque and me think it is better
solved in the openmpi2 package.

Is it really true that openmpi2 is find with the openmpi version 1 config?


Yes

Doesn't it make sense the openmpi2 requires the openmp2-config ?

Yes and no :)

To explain, openmpi 1, 2 (and soon 3) provide exactly the same config file.
The intent with this trick is to allow installing multiple versions of MPI at
once. Any *-config will suffice as they contain the same stuff.

The nicer trick would be to have OBS behave the way zypper do. Because of the
Recommends in the spec, zypper does not have this kind of issue... But

I'm open to better solutions.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References