Bug 143287 - x11-misc/rss-glx fails to emerge due to built_with_use call
Bug#: 143287 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: desktop-misc@gentoo.org Reported By: dopey@moonteeth.com
Component: Ebuilds
URL: 
Summary: x11-misc/rss-glx fails to emerge due to built_with_use call
Keywords:  QAbaddie
Status Whiteboard: 
Opened: 2006-08-08 22:19 0000
Description:   Opened: 2006-08-08 22:19 0000
>>> Emerging (1 of 1) x11-misc/rss-glx-0.8.0-r2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking rss-glx_0.8.0.tar.bz2 ;-)
\\
!!! ERROR: x11-misc/rss-glx-0.8.0-r2 failed.
Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  rss-glx-0.8.0-r2.ebuild, line 28:   Called built_with_use
'kde-base/kdeartwork-kscreensaver' 'xscreensaver'
  eutils.eclass, line 1592:   Called die

!!! Unable to determine what USE flags  was built with
!!! If you need support, post the topmost build error, and the call stack if
relevant.

from what i can gather, eutils.eclass's built_with_use was changed so that if
the package isn't installed it fails.  Since rss-glx checks either both
kdeartwork-kscreensaver or kdeartwork (the former not yet a stable package) it
will likely always fail.

------- Comment #1 From Bob Thomas 2006-08-28 15:40:58 0000 -------
Same problem, have "kde" and "xscreensaver" in my USE flags but
kdeartwork-kscreensaver is not installed. Removing kde from my USE flags
bypasses the check and allows it to merge.

------- Comment #2 From Jonathan Heaney 2006-09-03 17:11:14 0000 -------
(In reply to comment #1)
> Same problem, have "kde" and "xscreensaver" in my USE flags but
> kdeartwork-kscreensaver is not installed. Removing kde from my USE flags
> bypasses the check and allows it to merge.
> 

I'm in the same position here.  Does installing without kde USE flag cause any
problems i.e. does it still appear in the screensaver list in KDE?

------- Comment #3 From Jakub Moc (RETIRED) 2006-09-11 05:13:50 0000 -------
Created an attachment (id=96698) [details]
rss-glx-0.8.1-r3.ebuild.diff

Should fix it.

------- Comment #4 From Krzysiek Pawlik 2006-09-11 05:19:00 0000 -------
(In reply to comment #3)
> Should fix it.

Fixed, thanks.