Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501766 - kde4-base.eclass sets DEPEND= ... dev-qt/qtgui[dbus(+)]
Summary: kde4-base.eclass sets DEPEND= ... dev-qt/qtgui[dbus(+)]
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 11:32 UTC by Martin Mokrejš
Modified: 2014-03-26 04:02 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2014-02-19 11:32:45 UTC
Is the dev-qt/qtgui package not respecting USE=dbug while other program depend on that?


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

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=dev-qt/qtgui-4.7.4:4[accessibility,dbus]".
!!! One of the following packages is required to complete your request:
- dev-qt/qtgui-4.8.5-r1::gentoo (Missing IUSE: dbus)
(dependency required by "sys-auth/polkit-kde-agent-0.99.0" [installed])
(dependency required by "sys-auth/polkit-0.110[kde]" [installed])
(dependency required by "sys-auth/consolekit-0.4.5_p20120320-r2[policykit]" [installed])
(dependency required by "sys-auth/pambase-20120417-r2[consolekit]" [installed])
(dependency required by "sys-apps/openrc-0.12.4[pam]" [installed])
(dependency required by "dev-db/mysql-init-scripts-2.0_pre1-r3" [installed])
(dependency required by "dev-db/mysql-5.5.30" [installed])
(dependency required by "virtual/mysql-5.5" [installed])
(dependency required by "dev-qt/qtsql-4.8.5" [installed])
(dependency required by "dev-qt/qt3support-4.8.5" [installed])
(dependency required by "dev-qt/qtgui-4.8.5-r1[qt3support]" [installed])
(dependency required by "dev-qt/qtcore-4.8.5-r1[qt3support]" [installed])
(dependency required by "app-text/poppler-0.24.5[qt4]" [installed])
(dependency required by "net-print/cups-filters-1.0.43-r1" [ebuild])
(dependency required by "net-print/cups-1.6.2-r5" [installed])
(dependency required by "x11-libs/gtk+-2.24.17" [installed])
(dependency required by "dev-java/icedtea-bin-7.2.4.3[X]" [installed])
(dependency required by "virtual/jdk-1.7.0" [installed])
(dependency required by "virtual/jre-1.7.0" [installed])
(dependency required by "sys-libs/db-4.8.30" [installed])
(dependency required by "dev-lang/perl-5.12.4-r1[berkdb]" [installed])
(dependency required by "sci-biology/vienna-rna-1.8.5" [ebuild])
(dependency required by "sci-biology/vienna-rna:0" [argument])
#
Comment 1 Michael Palimaka (kensington) gentoo-dev 2014-02-20 13:47:21 UTC
Can you update sys-auth/polkit-kde-agent and see what happens please? That version has been gone from the tree for 10 months which is why the eclasses changes that avoid this problem have not applied to it.
Comment 2 Martin Mokrejš 2014-02-20 14:23:02 UTC
# emerge -pv sys-auth/polkit-kde-agent

[ebuild     U  ] sys-auth/polkit-kde-agent-0.99.0-r1:4 [0.99.0:4] USE="(-aqua) -debug" LINGUAS="cs -ca -ca@valencia -da -de -en_GB -eo -es -et -fi -fr -ga -gl -hr -hu -is -it -ja -km -lt -mai -ms -nb -nds -nl -pa -pt -pt_BR -ro -ru -sk -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv -th -tr -uk -zh_TW" 0 kB



I updated the above package abut have to admit that meanwhile while in loops updates/rebdep-rebuild and similar usual tricks that I have qtgui installed:

# emerge -pv dev-qt/qtgui

Calculating dependencies... done!
[ebuild   R    ] dev-qt/qtgui-4.8.5-r1:4  USE="accessibility cups exceptions glib qt3support tiff xv (-aqua) -debug -egl -gtkstyle -mng -nas -nis -pch -trace -xinerama" 0 kB


#

I still do not see dbug USE flag but maybe I should not?


emerge somehow updated the depending packages so strictly speaking, the sys-auth/polkit-kde-agent was not necessary. However, I would have to upload emerge.log for you to see when the blocks were released.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2014-02-20 14:34:46 UTC
(In reply to Martin Mokrejš from comment #2)
> I still do not see dbug USE flag but maybe I should not?

The dbus USE flag was removed from qtgui-4.8.5, and kde4-base.eclass was fixed to handle this: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/kde4-base.eclass?revision=1.126&view=markup

My guess is that since sys-auth/polkit-kde-agent-0.99.0 is no longer in the tree, it does not receive the updated dependencies from the eclass, hence the error.
Comment 4 Nikita Zlobin 2014-03-25 08:31:26 UTC
I tried to upgrade on these days and noticed that dep reported for dikt, whose ebuild doesn't redefine anything, only includes kde4-base.

And kcalc with polkit-kde-agent have it as well.

However, I also have kde overlay attached.

p.s. Did not want to create dublicate report.
Comment 5 Nikita Zlobin 2014-03-25 12:15:34 UTC
It is exactly. I just looked to /usr/portage/eclass/kde4-base.eclass
substring: qtgui-4.8.5:4[accessibility,dbus(+)]
on lines 292, 293

So, kde overlay is not a reason.
Comment 6 Nikita Zlobin 2014-03-25 12:22:19 UTC
Is that issue, in my last post, enough for TEST-REQUEST?
Comment 7 Michael Palimaka (kensington) gentoo-dev 2014-03-25 15:30:18 UTC
Which version of dikt?
Comment 8 Nikita Zlobin 2014-03-25 15:42:41 UTC
Latest. Currently it is 2l. I ran eix-sync at least yesterday.

Anyway, it is just example, as well as kcalc, and etc - any ebuild, using kde4-base eclass.
Comment 9 Michael Palimaka (kensington) gentoo-dev 2014-03-25 15:49:35 UTC
The most probable cause for hitting this issue is having a version installed that is no longer in the tree.

So, if the version you actually have installed is still in portage and you are hitting this issue, please paste the full output of portage (using -v option for verbosity) and emerge --info.
Comment 10 Nikita Zlobin 2014-03-25 18:13:49 UTC
??? version of what ???

It is not dikt issue.
It is issue of kde4-base eclass. Btw, version from kde overlay has it too :S.

A for dikt ebuild - there is no place for bugs, since it doesn't define any valuable flags, keywords, functions.

The solution is to fix that lines in kde4-base.eclass.

And again: i made eix-sync yesterday, what updates for me main portage, overlays and remote eix cache. And finally just looked fresh eclass version from portage on mirror.yandex.ru - and it has issue.
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2014-03-25 23:34:16 UTC
(In reply to Nikita Zlobin from comment #5)
> It is exactly. I just looked to /usr/portage/eclass/kde4-base.eclass
> substring: qtgui-4.8.5:4[accessibility,dbus(+)]
> on lines 292, 293

This is exactly how it's supposed to be. This bug is invalid, I don't know why we're still wasting time on it.
Comment 12 Nikita Zlobin 2014-03-26 02:52:45 UTC
It could be invalid if qtgui[dbus] flag implemented,
but I see it implemented only in one and only one overlay: sabayon-distro, all others don't have it.
It could be invalid being reported for sabayon distro, but not others.
It seems you are slightly not up to date. Or what ever i missed?
Comment 13 Nikita Zlobin 2014-03-26 02:54:16 UTC
and even in sabayon-distro that dbus flag is dumb - declared but not used :)
Comment 14 Nikita Zlobin 2014-03-26 03:04:33 UTC
Getting the way to test each of both eclass versions. They are written differently, and may have such fatal difference.
Comment 15 Andreas K. Hüttel archtester gentoo-dev 2014-03-26 03:19:26 UTC
(In reply to Nikita Zlobin from comment #12)
> It could be invalid if qtgui[dbus] flag implemented,
> but I see it implemented only in one and only one overlay: sabayon-distro,
> all others don't have it.
> It could be invalid being reported for sabayon distro, but not others.
> It seems you are slightly not up to date. Or what ever i missed?

Dear Nikita,

please read up on use dependency defaults. See this page, 
http://devmanual.gentoo.org/ebuild-writing/eapi/
section on EAPI=4 metadata. 

This bug is still invalid.
Comment 16 Nikita Zlobin 2014-03-26 04:02:26 UTC
Sorry, i was i bit stupid. It is indeed due to kde overlay %)).
Its version doesn't requires it always, while in gentoo it allowes to have qtdbus instead. That's why some could dont get this issue.

> Summary: kde4-base.eclass sets DEPEND= ... dev-qt/qtgui[+dbus] → kde4-base.eclass sets DEPEND= ... dev-qt/qtgui[dbus(+)]
I have this dependency actually alternativeless (as in kde overlay) and it causes same error as in initial post :p