Bug 793861

Summary: Package openmpi-1.5.4-4.1.4 depends on openmpi-devel and circular dependency
Product: [openSUSE] openSUSE 12.3 Reporter: Bernd Harries <bha>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium    
Version: Final   
Target Milestone: Final   
Hardware: x86-64   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bernd Harries 2012-12-11 11:14:19 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0

There seems to be a circular dependency between openmpi and openmpi-devel.
IMO openmpi-devel-1.5.4-4.1.4 may depend on openmpi bot not openmpi-1.5.4-4.1.4 on openmpi-devel.

In a system with both installed I cannot 'rpm -e' either of them because they depend circularly.

SIU-11:~ # rpm -e openmpi-devel
error: Failed dependencies:
        openmpi-devel is needed by (installed) openmpi-1.5.4-4.1.4.x86_64


SIU-11:~ # rpm -e openmpi
error: Failed dependencies:
        libmca_common_sm.so.2()(64bit) is needed by (installed) openmpi-devel-1.5.4-4.1.4.x86_64
        openmpi = 1.5.4 is needed by (installed) openmpi-devel-1.5.4-4.1.4.x86_64


Reproducible: Always

Steps to Reproduce:
1.Package libboost_mpi1 should be installed into an openSuse 12.2 KIWI-Appliance but no -devel-Packages are desired.
2. Should also occur in existing systems when installing Package libboost_mpi1 
3. Even post-boot deinstallation of -devel -Packages failed.
4. But that gave the opportunity to track the dependencies.
Actual Results:  
openmpi is automatically added for dependency reasons.
openmpi-devel seems to also be pulled into the Appliance 
Even more -devel -Packages will be pulled into the Appliance Image, even libstdc++-devel


Expected Results:  
No -devel Packages should occur in the Appliance when selecting Package libboost_mpi1
Comment 1 Philipp Thomas 2012-12-14 00:15:57 UTC
Yes, the dependency does exist. I have to find oujt why the dependecy openmpi->openmpi-devel does exist, but that will have to happen next year when I'm back at work.
Comment 2 Bernd Harries 2013-02-13 11:22:03 UTC
Hi Philipp,

is there any progress on the dependency issue?

Ciao, Bernd
Comment 3 Philipp Thomas 2013-11-26 12:39:04 UTC
Are you able to reproduce this with either 12.3 or 13.1?
Comment 4 Philipp Thomas 2013-11-29 09:24:23 UTC
Yes, openmpi in 12.2 wrongly depended on openmpi-devel. Given that 12.2 is out of maintenance and 12.3 has that fixed I regard this as closed.