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.
Created attachment 151249 [details] die.env Attached /var/tmp/portage/x11-plugins/gkrellmms-2.1.22-r1/temp/die.env
someone delete the lines 26-33 from the ebuild.
Created attachment 174001 [details] ebuild which removes dependence on dbus and audacious being built w/ dbus
The patch appears to have some dbus dependency. Does this mean the patch should go away, or be modified to remove that dependency?
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?
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
Fixed thanks