Bug 8166

Summary: libqwt5 conflicts libqwt6 due to a common file
Product: Mageia Reporter: Barry Jackson <zen25000>
Component: RPM PackagesAssignee: José Jorge <lists.jjorge>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: libqwt5 CVE:
Status comment:

Description Barry Jackson 2012-11-20 21:46:11 CET
Description of problem:
# urpmi lib64qwt6
installing lib64qwt6-6.0.1-4.mga3.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...
############################################################################
############## Installation failed:    file
/usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so from install
of lib64qwt6-6.0.1-4.mga3.x86_64 conflicts with file from package
lib64qwt5-5.2.2-4.mga3.x86_64

/usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so should probably not be in either package.

A test build with this file excluded allows both to be installed together. Just the one file is involved.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Barry Jackson 2012-11-20 22:19:56 CET

Assignee: bugsquad => lists.jjorge
Source RPM: libqwt => libqwt5

Comment 1 José Jorge 2012-11-21 17:39:58 CET
/usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so was removed from libqwt5

It is still in libqwt as it is used by developpers AFAIK.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 2 Barry Jackson 2012-11-21 23:42:30 CET
There is still a problem:

[baz@jackodesktop ~]$ urpmq --provides libqwt-devel
libqwt-devel[== 6.0.1-4.mga3]
libqwt-devel[== 6.0.1-4.mga3]
libqwt-devel(x86-32)[== 6.0.1-4.mga3]
pkgconfig(qwt)[== 6.0.1]
devel(libqwt)                                      <=#############
devel(libqwtmathml)
[baz@jackodesktop ~]$ urpmq --provides libqwt5-devel
libqwt5-devel[== 5.2.2-5.mga3]
libqwt5-devel[== 5.2.2-5.mga3]
libqwt5-devel(x86-32)[== 5.2.2-5.mga3]
devel(libqwt)                                      <=#############

gnuradio built against libqwt5-devel is requiring libqwt.so.5()(64bit) 

However it's -devel sub packages are requiring devel(libqwt(64bit)) which is resolving to libqwt-devel which is pulling in the 6 major version due to the ambiguity above.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 3 Barry Jackson 2012-11-21 23:49:12 CET
(In reply to comment #1)
> /usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so was removed from
> libqwt5
> 
> It is still in libqwt as it is used by developpers AFAIK.

How can it be? You removed it.
Comment 4 José Jorge 2013-02-21 23:07:26 CET
(In reply to Barry Jackson from comment #2)
> gnuradio built against libqwt5-devel is requiring libqwt.so.5()(64bit) 
> 
> However it's -devel sub packages are requiring devel(libqwt(64bit)) which is
> resolving to libqwt-devel which is pulling in the 6 major version due to the
> ambiguity above.

I think this is the good way to managed versioned libs. Just look at how libpng12-devel and libpng-devel are packaged.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED