Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED gcc and webkit-gtk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 371

PostPosted: Thu Aug 08, 2013 12:53 pm    Post subject: SOLVED gcc and webkit-gtk Reply with quote

One of many travails with a new install of gentoo/gnome, I have finally got to the point of installing gnome-3.8.x and of all things this. Even though I have gcc-4.7.3. Should I unmask >=gcc-4.8.x? Or should I mask =webkit-gtk-2.0.4? Amazing that this blocks the complete install. Usually there is a way around this sort of thing.

Thanks for any help.

Gene

Code:

>>> Running pre-merge checks for net-libs/webkit-gtk-2.0.4
 * ERROR: net-libs/webkit-gtk-2.0.4::gentoo failed (pretend phase):
 *   You need at least GCC 4.7.x or Clang >= 3.0 for C++11-specific compiler flags
 *
 * Call stack:
 *                 ebuild.sh, line  93:  Called pkg_pretend
 *   webkit-gtk-2.0.4.ebuild, line  93:  Called die
 * The specific snippet of code:
 *         die "You need at least GCC 4.7.x or Clang >= 3.0 for C++11-specific compiler flags"
 *
 * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.0.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.0.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-2.0.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-2.0.4/temp/die.env'.
 * Working directory: '/usr/lib64/portage/pym'
 * S: '/var/tmp/portage/net-libs/webkit-gtk-2.0.4/work/webkitgtk-2.0.4'


Last edited by imesg on Thu Aug 08, 2013 4:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6019

PostPosted: Thu Aug 08, 2013 2:53 pm    Post subject: Re: gcc and webkit-gtk Reply with quote

imesg wrote:
Even though I have gcc-4.7.3.

Have you enabled it with gcc-config?
Back to top
View user's profile Send private message
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 371

PostPosted: Thu Aug 08, 2013 4:00 pm    Post subject: Re: gcc and webkit-gtk Reply with quote

mv wrote:
imesg wrote:
Even though I have gcc-4.7.3.

Have you enabled it with gcc-config?


Many thanks mv, that was it. Who would expect a completely new system to have two versions of gcc installed (4.6.3, 4.7.3)? Well not me anyway.

Thanks again,

Gene
Back to top
View user's profile Send private message
te36
n00b
n00b


Joined: 24 Dec 2013
Posts: 12

PostPosted: Tue Dec 24, 2013 10:27 am    Post subject: Not resolved! Reply with quote

IMHO the webkit-gtk package is broken:

>>> Running pre-merge checks for net-libs/webkit-gtk-2.0.4
* ERROR: net-libs/webkit-gtk-2.0.4 failed (pretend phase):
* You need at least GCC 4.7.x or Clang >= 3.0 for C++11-specific compiler flags
*
* Call stack:
* ebuild.sh, line 93: Called pkg_pretend
* webkit-gtk-2.0.4.ebuild, line 100: Called die
* The specific snippet of code:
* die "You need at least GCC 4.7.x or Clang >= 3.0 for C++11-specific compiler flags"
*

This is on my gentoo that was last synced ~ 1 year ago, and therefore only has 4.6.3. Now i synced yesterday, and get that stupid pre-merge check. How can such a pre-merge check be a failure instead of just a warning ?
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 2418
Location: Illinois, USA

PostPosted: Tue Dec 24, 2013 1:07 pm    Post subject: Reply with quote

Right on te36! Instead of a run-time compiler check, the ebuild should require a DEPEND on >=gcc-4.7 It is a defective ebuild IMHO that has to instruct you tools to use instead of using the Portage system to inform or automatically build them.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2420
Location: Canada

PostPosted: Tue Dec 24, 2013 2:17 pm    Post subject: Reply with quote

Tony0945 wrote:
Right on te36! Instead of a run-time compiler check, the ebuild should require a DEPEND on >=gcc-4.7 It is a defective ebuild IMHO that has to instruct you tools to use instead of using the Portage system to inform or automatically build them.


DEPEND would not help, becase gcc-4.7 should not just be installed (which all what emerge can know), but be activated with gcc-config.
Besides, I, for example, would much prefer application installation not to change my compilers 'automatically'
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 2418
Location: Illinois, USA

PostPosted: Tue Dec 24, 2013 2:39 pm    Post subject: Reply with quote

Well, I for one would much prefer application installation not to change from OpenRC to systemd 'automatically', but that's what ebuild's should do, namely warn you upfront of changes required.
Back to top
View user's profile Send private message
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 194

PostPosted: Thu Jan 23, 2014 1:05 am    Post subject: Reply with quote

Thanks, use
Code:

gcc-config -l


to list the available gcc version and then use
Code:

gcc-config (digits)

too choose the right one actually solve the problem
Back to top
View user's profile Send private message
nickel
Apprentice
Apprentice


Joined: 21 Oct 2005
Posts: 189
Location: Germany

PostPosted: Tue Apr 29, 2014 2:03 pm    Post subject: Reply with quote

diablo465 wrote:
Thanks, use
Code:

gcc-config -l


to list the available gcc version and then use
Code:

gcc-config (digits)

too choose the right one actually solve the problem


could you pls elaborate?
I don't understand, what should i do
Back to top
View user's profile Send private message
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 194

PostPosted: Mon Nov 24, 2014 12:48 pm    Post subject: Reply with quote

Thanks, This also have sloved my problem as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum