Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338283 - x11-libs/qt-gui-4.7.0_rc1 fails to build
Summary: x11-libs/qt-gui-4.7.0_rc1 fails to build
Status: RESOLVED DUPLICATE of bug 336801
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 16:05 UTC by Giorgos Tsiapaliwkas
Modified: 2010-09-24 08:53 UTC (History)
2 users (show)

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


Attachments
build.log (qt-gui.txt,31.00 KB, text/plain)
2010-09-21 16:06 UTC, Giorgos Tsiapaliwkas
Details
emerge --info x11-libs/qt-gui (emerge-info.txt,10.98 KB, text/plain)
2010-09-21 20:48 UTC, Giorgos Tsiapaliwkas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giorgos Tsiapaliwkas 2010-09-21 16:05:27 UTC
hello,

i was trying to emerge the package qt-gui-4.7.0_rc1 when the error occured.

i want to inform you that the ebuild is taken from theqting-edge overlay
i want to give my apologies if this is the wrong section of bugzilla for this ebuild bug report..

any help would be appreciated.:)


Reproducible: Always

Steps to Reproduce:
1.emerge -DuNav world
2.revdep-rebuild
3.emerge -DuNav world

Actual Results:  
always the same error

Expected Results:  
be installed!!!!
Comment 1 Giorgos Tsiapaliwkas 2010-09-21 16:06:50 UTC
Created attachment 248280 [details]
build.log
Comment 2 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-09-21 16:08:51 UTC
Please paste emerge --info x11-libs/qt-gui
Comment 3 Giorgos Tsiapaliwkas 2010-09-21 20:48:44 UTC
Created attachment 248297 [details]
emerge --info x11-libs/qt-gui
Comment 4 Giorgos Tsiapaliwkas 2010-09-21 20:50:36 UTC
Comment on attachment 248297 [details]
emerge --info x11-libs/qt-gui

here is the file..

sorry for not putting it in my original bug

thank you for mentioning that to me :)
Comment 5 jeremy 2010-09-21 21:22:07 UTC
also emerge --info cairo may be helpful. i have a suspicion that you have qt4 enabled for cairo. ive nevr been able to get  qt-gui to build successfully when the qt4 use flag is set on cairo. you could try disabling it temporarily and see if it does the trick. USE="-qt4" emerge cairo. then try to rebuild qt-gui. 
Comment 6 Agostino Sarubbo gentoo-dev 2010-09-21 21:50:04 UTC
in the emerge --info i see x11-libs/qt-gui-4.6.3

How version are you trying to install?(In reply to comment #5)
> also emerge --info cairo may be helpful. i have a suspicion that you have qt4
> enabled for cairo. ive nevr been able to get  qt-gui to build successfully when
> the qt4 use flag is set on cairo. you could try disabling it temporarily and
> see if it does the trick. USE="-qt4" emerge cairo. then try to rebuild qt-gui. 
> 
jeremy, nope
Cairo has no useflag qt4, if you run 
USE = "-qt4" emerge cairo 
or
USE = "qt4" emerge cairo 
there is no change:
Comment 7 jeremy 2010-09-21 22:38:35 UTC
(In reply to comment #6)
> in the emerge --info i see x11-libs/qt-gui-4.6.3
> 
> How version are you trying to install?(In reply to comment #5)
> > also emerge --info cairo may be helpful. i have a suspicion that you have qt4
> > enabled for cairo. ive nevr been able to get  qt-gui to build successfully when
> > the qt4 use flag is set on cairo. you could try disabling it temporarily and
> > see if it does the trick. USE="-qt4" emerge cairo. then try to rebuild qt-gui. 
> > 
> jeremy, nope
> Cairo has no useflag qt4, if you run 
> USE = "-qt4" emerge cairo 
> or
> USE = "qt4" emerge cairo 
> there is no change:
> 

thats odd. on my system there is a qt4 useflag for cairo. i have qt4 enabled globally but disabled for cairo in package.use. did you run the command exacatly as you stated? with the spaces? if i remember correctly it doesnt work with the spaces between USE and = or between = and "-qt4" it has to be all together. USE="-qt4" not USE = "-qt4". whats the output of equery uses cairo ? We need only be concerned with the qt4 line.
Comment 8 Till Matthiesen 2010-09-21 22:59:35 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > in the emerge --info i see x11-libs/qt-gui-4.6.3
> > 
> > How version are you trying to install?(In reply to comment #5)
> > > also emerge --info cairo may be helpful. i have a suspicion that you have qt4
> > > enabled for cairo. ive nevr been able to get  qt-gui to build successfully when
> > > the qt4 use flag is set on cairo. you could try disabling it temporarily and
> > > see if it does the trick. USE="-qt4" emerge cairo. then try to rebuild qt-gui. 
> > > 
> > jeremy, nope
> > Cairo has no useflag qt4, if you run 
> > USE = "-qt4" emerge cairo 
> > or
> > USE = "qt4" emerge cairo 
> > there is no change:
> > 
> 
> thats odd. on my system there is a qt4 useflag for cairo. i have qt4 enabled
> globally but disabled for cairo in package.use. did you run the command
> exacatly as you stated? with the spaces? if i remember correctly it doesnt work
> with the spaces between USE and = or between = and "-qt4" it has to be all
> together. USE="-qt4" not USE = "-qt4". whats the output of equery uses cairo ?
> We need only be concerned with the qt4 line.
> 

Dropping the qt4 USE flag from cairo fixed the issue for me. 

Thanks!

Do you know what I'll "miss" without it?

@Agostino
Jeremy was referring to the cairo backend x11-libs/cairo not the Perl interface (dev-perl/Cairo - mind the upper case letter) which is most likely the cause for the "missing" USE flag.
Comment 9 Jonathan Callen (RETIRED) gentoo-dev 2010-09-22 01:49:13 UTC
(In reply to comment #8)
> @Agostino
> Jeremy was referring to the cairo backend x11-libs/cairo not the Perl interface
> (dev-perl/Cairo - mind the upper case letter) which is most likely the cause
> for the "missing" USE flag.
> 

Actually, the most likely cause for the missing flag is simply using the stable version of cairo: the USE flag was added for 1.10.
Comment 10 jeremy 2010-09-22 07:44:46 UTC
(In reply to comment #8)
> 
> Dropping the qt4 USE flag from cairo fixed the issue for me. 
> 
> Thanks!
> 
> Do you know what I'll "miss" without it?
> 

Glad that solved it for you. I was almost positive that was the problem be your error looked identical to the ones i used to get. 
As far as your question about what you will miss without it. I really cant reliably answer that question. My experience says you wont miss out on anything but that doesnt mean there isnt something missing it just means on my setup i havent noticed anything. 

Interestingly enough though once you have qt-gui built you can renable the qt4 flag on cairo rebuild cairo and all will be fine until qt-gui gets updated or has to be rebuilt for any reason. Then then cairo has to be rebuilt with the flag disabled again until qt-gui is rebuilt. Its a very mysterious problem if you ask me. This is actually how i used to do it but i got tired of messing with it and just added x11-libs/cairo -qt4 to /etc/portage/package.use and was done with it. If you plan on keeping it disabled i hope this  is how you did it because as im sure you know USE= variables on the commandline are only a one time thing. 

(In reply to comment #9)> 
> Actually, the most likely cause for the missing flag is simply using the stable
> version of cairo: the USE flag was added for 1.10.
> 

I never thought about that. You are correct though. The stable version of cairo doesnt have a qt4 flag. And while i guess its possible i highly doubt qt is enable by default on the stable version. If it is enabled by default though that would explain the failures on systems using the stable version. However if its not the default while i highly suspect its not then it makes these failures even more of a mystery.
Comment 11 Davide Pesavento gentoo-dev 2010-09-22 10:14:23 UTC

*** This bug has been marked as a duplicate of bug 336801 ***
Comment 12 Giorgos Tsiapaliwkas 2010-09-24 08:53:12 UTC
after removing the qt use flag from the cairo package my problem was solved..

thank you for your help :)