By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 823 - Fedora 16 qt3 installation conflicts qt4
Summary: Fedora 16 qt3 installation conflicts qt4
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: fedora (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: i386 Linux
: P5 critical
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2012-01-28 07:36 CST by yehjj
Modified: 2012-10-19 15:52 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Patch to fix installation problem in Fedora 16 (346 bytes, patch)
2012-01-28 07:36 CST, yehjj
Details | Diff
SPEC file patch to fix the issue (3.50 KB, patch)
2012-05-05 04:48 CDT, yehjj
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description yehjj 2012-01-28 07:36:16 CST
Created attachment 298 [details]
Patch to fix installation problem in Fedora 16

Can not install in Fedora 16.
Error message: "qt-devel < 1:4.7.2-9 conflicts with (installed) qtwebkit-devel-2.2.1-2.fc16.i686".
Reason: qt3-devel should not provide "qt-devel" which was provided by Fedora 16's "qt-devel-4.8.0-7.fc16".
Fix: Refer the attachment, not to provides "qt-devel".

After build and install rebuild qt3 package, I can install trinity-desktop now.
Comment 1 Francois Andriot 2012-04-02 12:40:53 CDT
Thanks, it is fixed in SVN and will be uploaded to mirrors soon.
Comment 2 yehjj 2012-05-05 04:46:17 CDT
qt3-3.3.8.d-7.fc16 does not solve the problem, due to "0%{?rhel} <= 5" always return "true" in Fedora 16.
Comment 3 yehjj 2012-05-05 04:48:00 CDT
Created attachment 599 [details]
SPEC file patch to fix the issue
Comment 4 Francois Andriot 2012-05-05 04:55:26 CDT
Hello, your fix will not do better, in fact it's even worse, because now, it will always return true on RHEL (because 0%{?fedora} == 0) and always true on Fedora (because 0%{?rhel} == 0) .

Finally I think the correct fix would be:
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 7
instead of:
%if 0%{?rhel} <= 5 || 0%{?fedora} <= 7
Comment 5 Francois Andriot 2012-05-05 05:29:25 CDT
Okay I've rebuilt QT3 for all distros with the new condition, and now it looks like it works.

New package version: 3.3.8.d-8

RHEL 5:
$ rpm -qp --provides qt3-devel-3.3.8.d-8.el5.x86_64.rpm | grep "^qt"
qt-devel = 1:3.3.8.d-8.el5
qt3-devel = 1:3.3.8.d-8.el5

RHEL 6:
$ rpm -qp --provides qt3-devel-3.3.8.d-8.el6.x86_64.rpm | grep "^qt"
qt3-devel = 1:3.3.8.d-8.el6
qt3-devel(x86-64) = 1:3.3.8.d-8.el6

Fedora 16:
$ rpm -qp --providesqt3-devel-3.3.8.d-8.fc16.x86_64.rpm | grep "^qt"
qt3-devel = 1:3.3.8.d-8.fc16
qt3-devel(x86-64) = 1:3.3.8.d-8.fc16

So now, only RHEL 5 has the "provides qt-devel", as expected. The others only provide "qt3-devel".

I've just uploaded the new package, it will be replicated on the mirrors soon.
Comment 6 yehjj 2012-05-05 06:19:11 CDT
qt3-3.3.8.d-8.fc16 fixed the issue now.
Thank you very much !!