Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496714 - x11-libs/qwt-5.2.1 with x11-libs/qwt-6.1.0 - file collision in /usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so
Summary: x11-libs/qwt-5.2.1 with x11-libs/qwt-6.1.0 - file collision in /usr/lib64/qt4...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-01 22:56 UTC by Eric F. GARIOUD
Modified: 2014-01-02 18:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric F. GARIOUD 2014-01-01 22:56:22 UTC
Having both 5.2.1 and 6.0.0 installed

libqwt_designer_plugin.so resides in :
- 6.0.0 : /usr/lib64/qt4/plugins/designer6
- 5.2.1 : /usr/lib64/qt4/plugins/designer

Trying to update 6.0.0 to 6.1.0 via emerge :

>>> Messages generated by process 6485 on 2014-01-01 01:31:23 CET for package x11-libs/qwt-6.1.0:

ERROR: preinst
This package will overwrite one or more files that may belong to other
packages (see list below)....

Detected file collision(s):

        /usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so

Searching all installed packages for file collisions...

Press Ctrl-C to Stop

x11-libs/qwt-5.2.1:5::gentoo
        /usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so

Package 'x11-libs/qwt-6.1.0' NOT merged due to file collisions...

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-01-02 14:31:38 UTC
no collision here.

ll /usr/lib64/qt4/plugins/designer/libqwt*

/usr/lib64/qt4/plugins/designer/libqwt5_designer_plugin.so*
/usr/lib64/qt4/plugins/designer/libqwt_designer_plugin.so*

It seems there is something wrong with your version 5 installation. Could you please try to reinstall this one?
Comment 2 Eric F. GARIOUD 2014-01-02 17:47:01 UTC
(In reply to Justin Lecher from comment #1)
> no collision here.
Certainly because you do not get 5.2.1 installed!
> It seems there is something wrong with your version 5 installation.
You are certainly correct, while I would word things differently :
Last 6 stable installation is not compatible with previous 5 stable installation.

There is actually a collision between 5.2.1 and 6.1.0 in that 5.2.1 actually installs the designer plugin as libqwt_designer_plugin.so in /usr/lib64/qt4/plugins/designer while 6.1.0 wants to act identically.

There was no collision between 5.2.1 and 6.0.0 because 6.0.0 was installing the designer plugin as libqwt_designer_plugin.so in /usr/lib64/qt4/plugins/designer6

There is actually no collision between last 6 stable and last 5 stable (5.2.3-r2) because 5.2.3-r2 now installs the designer plugin as libqwt5_designer_plugin.so

So a simple workaround if one gets previous 6 stable and previous 5 stable installed together consists in FIRST updating 5 and THEN update 6.

I don't request anything to be done specifically in portage, just maybe advertising this workaround to all users who get both slots installed and who will be presented both packages in the "wrong" order by portage.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2014-01-02 18:21:28 UTC
(In reply to Eric F. GARIOUD from comment #2)
> I don't request anything to be done specifically in portage, just maybe
> advertising this workaround to all users who get both slots installed and
> who will be presented both packages in the "wrong" order by portage.

Oh we can do somehting. I will add a simple blocker to fix that.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2014-01-02 18:31:55 UTC
+  02 Jan 2014; Justin Lecher <jlec@gentoo.org> qwt-5.2.1.ebuild,
+  -qwt-5.2.3.ebuild, -qwt-5.2.3-r1.ebuild, -qwt-6.0.2.ebuild,
+  -qwt-6.0.2-r1.ebuild, -qwt-6.0.2-r2.ebuild, qwt-6.1.0.ebuild:
+  Add blocker to avoid file collision, #496714
+