Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219601 - x11-plugins/gkrellmms-2.1.22-r1.ebuild broken built_with_use check with USE=audacious and audacious-1.5.0
Summary: x11-plugins/gkrellmms-2.1.22-r1.ebuild broken built_with_use check with USE=a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Timothy Redaelli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-28 15:45 UTC by Carsten Geckeler
Modified: 2009-02-02 17:07 UTC (History)
3 users (show)

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


Attachments
die.env (die.env,138.61 KB, text/plain)
2008-04-28 15:49 UTC, Carsten Geckeler
Details
ebuild which removes dependence on dbus and audacious being built w/ dbus (gkrellmms-2.1.22-r2.ebuild,953 bytes, text/plain)
2008-12-01 21:09 UTC, Noah Sheppard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Geckeler 2008-04-28 15:45:32 UTC
If one tries to emerge gkrellmms-2.1.22-r1 after upgrading audacious to version 1.5.0, the emerge will fail, complaining audacious-1.5.0 doesn't have the 'dbus' USE flag on.

Reason: Audacious 1.5 dropped the dbus USE flag after version 1.4.

Reproducible: Always

Steps to Reproduce:
1.emerge "=media-sound/audacious-1.5.0"
2.USE="audacious" emerge x11-plugins/gkrellmms

Actual Results:  
# USE="audacious" emerge x11-plugins/gkrellmms
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) x11-plugins/gkrellmms-2.1.22-r1 to /
 * gkrellmms-2.1.22-audacious.patch.gz RMD160 SHA1 SHA256 size ;-) ...                                                             [ ok ]
 * gkrellmms-2.1.22.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                [ ok ]
 * checking gkrellmms-2.1.22.tar.gz ;-) ...                                                                                           [ ok ]
 * checking gkrellmms-2.1.22-audacious.patch.gz ;-) ...                                                                               [ ok ]
 * 
 * ERROR: x11-plugins/gkrellmms-2.1.22-r1 failed.
 * Call stack:
 *                    ebuild.sh, line   49:  Called pkg_setup
 *   gkrellmms-2.1.22-r1.ebuild, line   27:  Called built_with_use 'pkg_setup' 'pkg_setup'
 *                eutils.eclass, line 1729:  Called die
 * The specific snippet of code:
 *                                      die)   die "$PKG does not actually support the $1 USE flag!";;
 *  The die message:
 *   media-sound/audacious-1.5.0 does not actually support the dbus USE flag!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-plugins/gkrellmms-2.1.22-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/gkrellmms-2.1.22-r1/temp/die.env'.
 * 


Audacious 1.5 dropped the dbus USE flag after version 1.4.
The following patch of the ebuild solves the problem:

In the pkg_setup()

        if ! built_with_use media-sound/audacious dbus ; then

has to be replaced by

        if use audacious; then
                if has_version <media-sound/audacious-1.5.0 && ! built_with_use\
 media-sound/audacious dbus; then

and adding a second 'fi' at the end.
Comment 1 Carsten Geckeler 2008-04-28 15:49:24 UTC
Created attachment 151249 [details]
die.env

Attached /var/tmp/portage/x11-plugins/gkrellmms-2.1.22-r1/temp/die.env
Comment 2 Dan Coats 2008-07-31 15:40:18 UTC
 someone delete the lines 26-33 from the ebuild.
Comment 3 Noah Sheppard 2008-12-01 21:09:18 UTC
Created attachment 174001 [details]
ebuild which removes dependence on dbus and audacious being built w/ dbus
Comment 4 Noah Sheppard 2008-12-01 21:12:32 UTC
The patch appears to have some dbus dependency.  Does this mean the patch should go away, or be modified to remove that dependency?
Comment 5 Noah Sheppard 2009-01-26 18:31:29 UTC
I've proposed a patch which removes the problematic lines from the gkrellmms ebuild.  Is there something else I need to do to get this patch in portage?
Comment 6 Matthew Gregory Sr. 2009-01-29 19:27:11 UTC
Just chiming in after running into this as well on amd64 arch.

I have applied the patch, here is my result:
=============================================
mythtv pam # cp -Rv /usr/portage/x11-plugins/gkrellmms/ /usr/local/portage/x11-plugins/       
`/usr/portage/x11-plugins/gkrellmms/' -> `/usr/local/portage/x11-plugins/gkrellmms'
`/usr/portage/x11-plugins/gkrellmms/Manifest' -> `/usr/local/portage/x11-plugins/gkrellmms/Manifest'
`/usr/portage/x11-plugins/gkrellmms/files' -> `/usr/local/portage/x11-plugins/gkrellmms/files'
`/usr/portage/x11-plugins/gkrellmms/files/gkrellmms-2.1.22-ldflags.patch' -> `/usr/local/portage/x11-plugins/gkrellmms/files/gkrellmms-2.1.22-ldflags.patch'
`/usr/portage/x11-plugins/gkrellmms/gkrellmms-2.1.22-r1.ebuild' -> `/usr/local/portage/x11-plugins/gkrellmms/gkrellmms-2.1.22-r1.ebuild'
`/usr/portage/x11-plugins/gkrellmms/.gkrellmms-2.1.22-r1.ebuild.swp' -> `/usr/local/portage/x11-plugins/gkrellmms/.gkrellmms-2.1.22-r1.ebuild.swp'
`/usr/portage/x11-plugins/gkrellmms/ChangeLog' -> `/usr/local/portage/x11-plugins/gkrellmms/ChangeLog'
`/usr/portage/x11-plugins/gkrellmms/metadata.xml' -> `/usr/local/portage/x11-plugins/gkrellmms/metadata.xml'
mythtv pam # cd /usr/local/portage/x11-plugins/gkrellmms/
mythtv gkrellmms # wget 'https://bugs.gentoo.org/attachment.cgi?id=174001' -O 'gkrellmms-2.1.22-r2.ebuild'
--2009-01-29 14:23:47--  https://bugs.gentoo.org/attachment.cgi?id=174001
Resolving bugs.gentoo.org... 85.17.225.93
Connecting to bugs.gentoo.org|85.17.225.93|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 953 [text/plain]
Saving to: `gkrellmms-2.1.22-r2.ebuild'

100%[====================================================================================================>] 953         --.-K/s   in 0s      

2009-01-29 14:23:50 (31.4 MB/s) - `gkrellmms-2.1.22-r2.ebuild' saved [953/953]

mythtv gkrellmms # echo x11-plugins/gkrellmms ~amd64 >> /etc/portage/package.keywords 
mythtv gkrellmms # ebuild gkrellmms-2.1.22-r2.ebuild digest
>>> Creating Manifest for /usr/local/portage/x11-plugins/gkrellmms
mythtv gkrellmms # emerge -uDq --newuse x11-plugins/gkrellm-plugins bmpx apache
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 6) x11-plugins/gkrellmms-2.1.22-r2
>>> Installing x11-plugins/gkrellmms-2.1.22-r2
>>> Emerging (2 of 6) dev-perl/Crypt-SSLeay-0.57
>>> Installing dev-perl/Crypt-SSLeay-0.57
<*snip*>
==============================================================

so yeah, patch looks good for amd64
Comment 7 Timothy Redaelli (RETIRED) gentoo-dev 2009-02-02 17:07:50 UTC
Fixed thanks