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!!!!
Created attachment 248280 [details] build.log
Please paste emerge --info x11-libs/qt-gui
Created attachment 248297 [details] emerge --info x11-libs/qt-gui
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 :)
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.
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:
(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.
(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.
(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.
(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.
*** This bug has been marked as a duplicate of bug 336801 ***
after removing the qt use flag from the cairo package my problem was solved.. thank you for your help :)