Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244862 - app-admin/keepassx-0.2.2-r1 fails to build with "You need to rebuild x11-libs/qt with USE=qt3support enabled" but it needs png as well
Summary: app-admin/keepassx-0.2.2-r1 fails to build with "You need to rebuild x11-libs...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Timo Gurr (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-29 07:47 UTC by Mariusz Kozlowski
Modified: 2008-11-07 19:03 UTC (History)
0 users

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 Mariusz Kozlowski 2008-10-29 07:47:48 UTC
I had 'qt3support' and no 'png' in my use flags. I tried to emerge keepassx but it faild saying "You need to rebuild x11-libs/qt with USE=qt3support enabled". This is caused by bogus flags check in keepass-0.2.2-r1 ebuild or ... the error info should match the flags needed.

Reproducible: Always

Steps to Reproduce:
1. set use to qt3support and -png 
2. try to emerge keepassx
3.

Actual Results:  
it fails saying that qt3support is needed (in fact it needs png as well - thats why it fails)

Expected Results:  
It should inform user that png flag is needed.

This is from /usr/portage/app-admin/keepassx/keepassx-0.2.2-r1.ebuild :

pkg_setup() {
    if ! built_with_use --missing true x11-libs/qt qt3support png; then
                                                   ^^^^^^^^^^^^^^
        eerror
        eerror "You need to rebuild x11-libs/qt with USE=qt3support enabled"
        eerror
        die "please rebuild x11-libs/qt with USE=qt3support"
    fi
}
Comment 1 Timo Gurr (RETIRED) gentoo-dev 2008-11-07 19:03:00 UTC
Fixed in CVS, thanks for reporting.