public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] GCC upgrade can't run fix_libtool_files
@ 2014-06-16 16:56 Nikos Chantziaras
  2014-06-16 17:02 ` Daniel Frey
  0 siblings, 1 reply; 3+ messages in thread
From: Nikos Chantziaras @ 2014-06-16 16:56 UTC (permalink / raw
  To: gentoo-user

Does someone know what causes the error? I got this when upgrading from 
GCC 4.8.2 to 4.8.3:

 >>> Installing (1 of 1) sys-devel/gcc-4.8.3
  * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.8.2' in 
'/etc/env.d/gcc/' !
  * Running 'fix_libtool_files.sh 4.8.2'
  * Scanning libtool files for hardcoded gcc library paths...
  * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'gcc'
:0: assertion failed: (gcc -dumpversion) | getline NEWVER)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] GCC upgrade can't run fix_libtool_files
  2014-06-16 16:56 [gentoo-user] GCC upgrade can't run fix_libtool_files Nikos Chantziaras
@ 2014-06-16 17:02 ` Daniel Frey
  2014-06-16 17:19   ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Frey @ 2014-06-16 17:02 UTC (permalink / raw
  To: gentoo-user

On 06/16/2014 09:56 AM, Nikos Chantziaras wrote:
> Does someone know what causes the error? I got this when upgrading from
> GCC 4.8.2 to 4.8.3:
> 
>>>> Installing (1 of 1) sys-devel/gcc-4.8.3
>  * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.8.2' in
> '/etc/env.d/gcc/' !
>  * Running 'fix_libtool_files.sh 4.8.2'
>  * Scanning libtool files for hardcoded gcc library paths...
>  * gcc-config: Active gcc profile is invalid!
> gcc-config: error: could not run/locate 'gcc'
> :0: assertion failed: (gcc -dumpversion) | getline NEWVER)
> 
> 

It looks like you've upgraded gcc and removed the version that was
currently active.

What's the output of `gcc-config -l`?

It should look something like this:
$ sudo gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.3 *


The asterisk means it's active. If you see a list and none are active,
you need to set one.

Dan


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: GCC upgrade can't run fix_libtool_files
  2014-06-16 17:02 ` Daniel Frey
@ 2014-06-16 17:19   ` Nikos Chantziaras
  0 siblings, 0 replies; 3+ messages in thread
From: Nikos Chantziaras @ 2014-06-16 17:19 UTC (permalink / raw
  To: gentoo-user

On 16/06/14 20:02, Daniel Frey wrote:
> On 06/16/2014 09:56 AM, Nikos Chantziaras wrote:
>> Does someone know what causes the error? I got this when upgrading from
>> GCC 4.8.2 to 4.8.3:
>>
>>>>> Installing (1 of 1) sys-devel/gcc-4.8.3
>>   * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.8.2' in
>> '/etc/env.d/gcc/' !
>>   * Running 'fix_libtool_files.sh 4.8.2'
>>   * Scanning libtool files for hardcoded gcc library paths...
>>   * gcc-config: Active gcc profile is invalid!
>> gcc-config: error: could not run/locate 'gcc'
>> :0: assertion failed: (gcc -dumpversion) | getline NEWVER)
>>
>
> It looks like you've upgraded gcc and removed the version that was
> currently active.
>
> What's the output of `gcc-config -l`?
>
> It should look something like this:
> $ sudo gcc-config -l
>   [1] x86_64-pc-linux-gnu-4.7.3 *
>
>
> The asterisk means it's active. If you see a list and none are active,
> you need to set one.

I was only interested in the fix_libtool_files.sh error. The gcc-config 
error is probably due to portage removing 4.8.2 when updating to 4.8.3, 
since it's a minor version update.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-16 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16 16:56 [gentoo-user] GCC upgrade can't run fix_libtool_files Nikos Chantziaras
2014-06-16 17:02 ` Daniel Frey
2014-06-16 17:19   ` [gentoo-user] " Nikos Chantziaras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox