Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222043 - app-text/kchmviewer-3.1_p2 - pkg_setup fails when kdebase/kdelibs:kde-4 is installed
Summary: app-text/kchmviewer-3.1_p2 - pkg_setup fails when kdebase/kdelibs:kde-4 is in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-14 08:41 UTC by Scott Thomson
Modified: 2008-05-17 12:33 UTC (History)
1 user (show)

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


Attachments
Ebuild patch to make kchmviewer depend on slotted kdelibs (dep_kde_3.5_slot.patch,1.22 KB, patch)
2008-05-15 14:22 UTC, Scott Thomson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Thomson 2008-05-14 08:41:09 UTC
When trying to install app-text/kchmviewer-3.1_p2 I get...

!!! ERROR in app-text/kchmviewer-3.1_p2:
!!! In built_with_use at line 876
!!! kde-base/kdelibs-4.0.3-r1 does not actually support the arts USE flag!

It looks like the assertion:

built_with_use kde-base/kdelibs arts

in the ebuild is picking up kdelibs4 when it should be picking up 3


Reproducible: Always

Steps to Reproduce:
1. Install kdelibs3 and kdelibs4
2. Try and install 
3. app-text/kchmviewer-3.1_p2

Actual Results:  
!!! ERROR in app-text/kchmviewer-3.1_p2:
!!! In built_with_use at line 876
!!! kde-base/kdelibs-4.0.3-r1 does not actually support the arts USE flag!


Expected Results:  
Package gets installed
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2008-05-14 08:44:48 UTC
Thank you for report. I do not think that this version will work with kde-base/kdelibs-4.0.3-r1... Unmask kchmviewer-4.0_beta2. But I need to update deps in any way.
Comment 2 Scott Thomson 2008-05-15 14:20:43 UTC
I have both kdelibs:kde-3 and kde4 installed - I like to log into kde4 now and again to play around but my main environment is kde3.

The attached patch fixes the problem for me but be warned my ebuild-fu is almost non-existant, I'm certainly not sure of the implications in changing the EAPI.
Comment 3 Scott Thomson 2008-05-15 14:22:15 UTC
Created attachment 153221 [details, diff]
Ebuild patch to make kchmviewer depend on slotted kdelibs
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2008-05-17 12:33:24 UTC
Thank you for report, Scott. I've updated pkg_setup() section but without EAPI=1 requirement, like it is done in kde.eclass.