Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 146496

Summary: koffice-1.5.2-r1 requires kde-base/kdelibs with USE opengl, but kdelibs has no opengl flag?
Product: Gentoo Linux Reporter: Richard Fish <bigfish>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Richard Fish 2006-09-05 20:06:08 UTC
carcharias # FEATURES=-confcache emerge --oneshot --verbose koffice
Calculating dependencies... done!

>>> Emerging (1 of 1) app-office/koffice-1.5.2-r1 to /
 * koffice-1.5.2.tar.bz2 MD5 ;-) ...                             [ ok ]
 * koffice-1.5.2.tar.bz2 RMD160 ;-) ...                          [ ok ]
 * koffice-1.5.2.tar.bz2 SHA1 ;-) ...                            [ ok ]
 * koffice-1.5.2.tar.bz2 SHA256 ;-) ...                          [ ok ]
 * koffice-1.5.2.tar.bz2 size ;-) ...                            [ ok ]
 * checking ebuild checksums ;-) ...                             [ ok ]
 * checking auxfile checksums ;-) ...                            [ ok ]
 * checking miscfile checksums ;-) ...                           [ ok ]
 * checking koffice-1.5.2.tar.bz2 ;-) ...                        [ ok ]
 * You need to build kde-base/kdelibs with opengl use flag enabled.

!!! ERROR: app-office/koffice-1.5.2-r1 failed.

[snip]

But kdelibs has no opengl in IUSE:

carcharias # emerge -pv kde-base/kdelibs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/kdelibs-3.5.4-r1  USE="alsa arts cups fam kdeenablefinal kdehiddenvisibility spell ssl tiff xinerama -acl -debug -doc -jpeg2k -kerberos -legacyssl -noutempter -openexr -zeroconf" 15,114 kB

Perhaps you meant to require opengl for x11-libs/qt?
Comment 1 Richard Fish 2006-09-05 20:06:49 UTC
Created attachment 96138 [details]
emerge --info
Comment 2 Richard Fish 2006-09-06 01:03:54 UTC
Some additional info...it looks like portage sticks whatever flags are in effect at the time of a build into the package database, regardless of what shows up in IUSE.  So if someone has opengl set globally or specifically for kdelibs in package.use, then opengl will end up in vardb USE.  This appears sufficient for the built_with_use check to pass.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-06 04:37:42 UTC
Sigh, I've fixed this in krita before, now KOffice is done, too.

Thanks for reporting.