Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115204 - aqbanking fails with USE="kde -qt"
Summary: aqbanking fails with USE="kde -qt"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-11 09:07 UTC by Michael Hordijk
Modified: 2006-01-17 13:51 UTC (History)
1 user (show)

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


Attachments
Check for invalid use flag combination (aqbanking.patch,478 bytes, patch)
2005-12-11 09:08 UTC, Michael Hordijk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hordijk 2005-12-11 09:07:00 UTC
Granted, this is a silly combination of use flags, but the ebuild should still
handle it gracefully rather than failing during configure.  Fix is simple but
I'll attach a patch anyway.

Reproducible: Always
Steps to Reproduce:
Comment 1 Michael Hordijk 2005-12-11 09:08:02 UTC
Created attachment 74510 [details, diff]
Check for invalid use flag combination
Comment 2 UncleOwen 2005-12-11 12:38:34 UTC
How does it fail? need-kde() calls need-qt(), so the dependencies should be correct.

In any case, I don't think an ebuild should die because of USE='kde -qt'.
Rather, make it behave like USE='kde qt'.
Comment 3 Michael Hordijk 2005-12-12 05:55:03 UTC
(In reply to comment #2)
> How does it fail? 

[[[
checking for qt3to4... NO
checking if KDE3 is allowed... yes
checking if QT3 is allowed... yes
checking for qt3 includes... -I/usr/qt/3/include
checking if threaded qt3 may be used... yes
checking for qt3 libraries... not found
checking for qt3 moc... /usr/qt/3/bin/moc
checking for qt3 uic... /usr/qt/3/bin/uic
configure: WARNING:
 QT3 is not explicitly disabled and I could not find some QT3 components
 (see which are missing in messages above).
 If you don't want to compile QT3 applications please use "--disable-qt3".

checking if qt3 version is fully useable... no
checking target system type... posix
checking for xgettext... xgettext
checking for locale.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for library containing gettext... none required
checking for msgfmt... /usr/bin/msgfmt
checking whether msgfmt understands --qt... yes
checking whether this is an official release... no
checking for compiler arguments... -march=athlon64 -O2 -pipe -Wall
-Wdeclaration-after-statement
checking docpath... /var/tmp/portage/homedir/apidoc
checking if full docu should be created... no
checking doxygen tag files... none
checking whether local install mode is wanted... no
configure: *** KDE3 is required for KDE-frontend "kbanking". Specify
--with-frontends="cbanking g2banking qbanking" to build aqbanking without that
frontend.
configure: error: QT3 frontend is needed by KDE-frontend.
]]]

> need-kde() calls need-qt(), so the dependencies should be correct.

Well...
 
> In any case, I don't think an ebuild should die because of USE='kde -qt'.
> Rather, make it behave like USE='kde qt'.

Absolutely not.  Ebuilds have no business silently changing use flags.  On the
other hand, if you mean that it shouldn't have a qt use flag at all, then yes,
that makes sense. :)
Comment 4 UncleOwen 2005-12-12 06:03:33 UTC
(In reply to comment #3)
> > In any case, I don't think an ebuild should die because of USE='kde -qt'.
> > Rather, make it behave like USE='kde qt'.
> 
> Absolutely not.  Ebuilds have no business silently changing use flags.  On the
> other hand, if you mean that it shouldn't have a qt use flag at all, then yes,
> that makes sense. :)

Yes they do. If the kde frontend needs the qt frontend, qt support is no longer
optional and the use flag should thus be ignored.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2005-12-20 08:08:42 UTC
So perhaps the smart thing to do is to build some logic into the kde-function eclass that fails emerge if you try to do a USE="-qt kde" combation.

KDE herd, thoughts?
Comment 6 Hanno Böck gentoo-dev 2006-01-17 13:51:40 UTC
should be fixed now