Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261289 - x11-libs/qt-core-4.5.0 has no debug use flag, but x11-libs/qt-opengl-4.5.0 needs it.
Summary: x11-libs/qt-core-4.5.0 has no debug use flag, but x11-libs/qt-opengl-4.5.0 ne...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-05 10:57 UTC by Johannes Rauh
Modified: 2009-03-05 13:47 UTC (History)
0 users

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


Attachments
emerge --info (emerge.info,9.71 KB, text/plain)
2009-03-05 10:57 UTC, Johannes Rauh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Rauh 2009-03-05 10:57:07 UTC
When trying to update qt to version 4.5.0, qt-opengl-4.5.0 is pulled in. This pulls in qt-core-4.5.0 with -debug useflag. However, qt-core-4.5.0 has no debug useflag.

Reproducible: Always

Steps to Reproduce:
1. unmask qt-4.5.0
2. emerge -avu qt


Actual Results:  
localhost jarauh # emerge -avu qt                                    

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

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "~x11-libs/qt-core-4.5.0[qt3support,-debug]".
!!! One of the following packages is required to complete your request:          
- x11-libs/qt-core-4.5.0 (Change USE: -debug)
(dependency required by "x11-libs/qt-opengl-4.5.0" [ebuild])          
(dependency required by "x11-libs/qt-4.5.0" [ebuild])                  
(dependency required by "qt" [argument])                        




Expected Results:  
emerge qt-4.5.0
Comment 1 Johannes Rauh 2009-03-05 10:57:34 UTC
Created attachment 183996 [details]
emerge --info
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2009-03-05 11:10:28 UTC
Thanks for reporting this. I ll try to get this done as soon as possible
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2009-03-05 13:10:24 UTC
Ok this seems invalid to me

qt-core has debug use flag

[I] x11-libs/qt-core
     Available versions:  (4)  4.4.2 ~4.4.2-r2 (~)4.5.0_rc1 (~)4.5.0 **4.5.9999[1] **4.9999[1]
        {custom-cxxflags debug doc glib iconv pch qt3support ssl}
     Installed versions:  4.5.0(4)[1](07:19:20 PM 03/04/2009)(custom-cxxflags glib iconv qt3support ssl -debug -doc -pch)


Try to resync your tree and re-emerge qt-core
Comment 4 Johannes Rauh 2009-03-05 13:23:07 UTC
Thanks for the fast reply. Unfortunately trying to reemerge qt-core does not work. I get more problems:

emerge: there are no ebuilds built with USE flags to satisfy "~x11-libs/qt-dbus-4.5.0[debug]".
!!! One of the following packages is required to complete your request:
- x11-libs/qt-dbus-4.5.0 (Change USE: +debug)
(dependency required by "x11-libs/qt-gui-4.5.0" [ebuild])
(dependency required by "x11-libs/qt-core-4.5.0" [ebuild])
(dependency required by "qt-core" [argument])


Maybe it's a problem with the mirror?
My qt-core-4.5.0.ebuild does not contain a debug flag, as far as I see:

localhost jarauh # head -20 /usr/portage/x11-libs/qt-core/qt-core-4.5.0.ebuild
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-core/qt-core-4.5.0.ebuild,v 1.1 2009/03/04 21:08:32 yngwin Exp $

EAPI="2"
inherit qt4-build

DESCRIPTION="The Qt toolkit is a comprehensive C++ application development framework"
SLOT="4"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="doc +glib +iconv +qt3support +ssl"

RDEPEND="sys-libs/zlib
        glib? ( dev-libs/glib )
        ssl? ( dev-libs/openssl )
        !<x11-libs/qt-4.4.0:4"
DEPEND="${RDEPEND}
        dev-util/pkgconfig"
PDEPEND="qt3support? ( ~x11-libs/qt-gui-${PV}[qt3support] )"


Note that your eix seems to suggest that you emerged qt-core-4.5.0 from the overlay. Maybe this is different from the tree ebuild?
Comment 5 Johannes Rauh 2009-03-05 13:32:32 UTC
Ok, I realized now that the debug flag comes from qt4-build.eclass, so it should be present. Any idea what could have gone wrong? All 4.5.0-ebuilds are unmasked, but somehow it does not work. I will try to reemerge them "by hand" and hope that it will work in some order.
Comment 6 Johannes Rauh 2009-03-05 13:47:28 UTC
Ok, sorry, my fault. I did not notice that I had some inconsistencies in my package.use-file.