Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

Gentoo falling apart for me after either abandoning trying to install "Kolab" as overlay - or after upgrading to default/linux/x86/10.0

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


gentoo_sjh at shic

Nov 5, 2009, 8:29 AM

Post #1 of 8 (271 views)
Permalink
Gentoo falling apart for me after either abandoning trying to install "Kolab" as overlay - or after upgrading to default/linux/x86/10.0

I'm not entirely sure where to start... but, the sequence to get me
where I am now runs something like this:

1. Upgraded to default/linux/x86/10.0 (actually, I chose the server
profile... no particular reason - except that this box is headless...)
when running my regular-ish "emerge -uDNav world" told me to do so -
saying that my old profile was deprecated.

2. Started following the howto for kolab - but, this package, it seems,
is far more problematic than I wish to deal with - I cancelled this
after the emerge stage had installed a few decompression tools - as I
read more about issues with the package under Gentoo.

3, (Possibly rashly) I did a "emerge -av --depclean" - and thereafter
things started to go screwy - eix and PHP failed, for example.

4. Tried to do a revdep-rebuild - which identified 4 packages - but
keeled over... having reported that the profile wasn't supported -
complaining about an issue with a Fortran compiler associated with
blas-reference, in-turn required by R (which I removed from world as I
no-longer need it.)

5. revdep-rebuild now fails with PHP5 - so, I tried removing and
re-installing PHP5... which also failed. There was a prominent warning
about my profile being un-supported, so I switched to "[1]
default/linux/x86/10.0 *" (as opposed to "[4]
default/linux/x86/10.0/server") hoping this might help.

6. PHP still won't install... and I can't even do an "emerge -uDNav
world" - and, now, apr won't build... apparently having some sort of
problem with finding gcc... I've attached the build log from
/var/tmp/portage/dev-libs/apr-util-1.3.9/work/apr-util-1.3.9/config.log.
revedep-rebuild also fails... this time with

--
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables
check `config.log' for details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-analyzer/iftop-0.17/work/iftop-0.17/config.log
*
* ERROR: net-analyzer/iftop-0.17 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2231: Called _eapi0_src_compile
* ebuild.sh, line 598: Called econf
* ebuild.sh, line 534: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build errolocate
i686-pc-linux-gnu-gccr
--

Clutching at straws, I tried this:

$ locate i686-pc-linux-gnu-gcc
/usr/bin/i686-pc-linux-gnu-gcc-4.3.4
/usr/bin/i686-pc-linux-gnu-gcc
/usr/i686-pc-linux-gnu/gcc-bin/4.3.4/i686-pc-linux-gnu-gcc-4.3.4
/usr/i686-pc-linux-gnu/gcc-bin/4.3.4/i686-pc-linux-gnu-gcc
$ for i in `locate i686-pc-linux-gnu-gcc`; do
for> ls -l $i
for> done
lrwxrwxrwx 1 root root 58 Nov 4 18:45
/usr/bin/i686-pc-linux-gnu-gcc-4.3.4 ->
/usr/i686-pc-linux-gnu/gcc-bin/4.3.4/i686-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 9568 Feb 27 2008 /usr/bin/i686-pc-linux-gnu-gcc
lrwxrwxrwx 1 root root 21 Nov 4 18:45
/usr/i686-pc-linux-gnu/gcc-bin/4.3.4/i686-pc-linux-gnu-gcc-4.3.4 ->
i686-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 208396 Nov 4 18:45
/usr/i686-pc-linux-gnu/gcc-bin/4.3.4/i686-pc-linux-gnu-gcc
$


I presume that this is a profile issue - but I'm unclear what the fault
might be... I'm reluctant to continue hacking as, I suspect, I'm more
likely to break things than stumble across an appropriate fix.

Can anyone tell me why emerge is having such a problem with my compiler
- and, hopefully, ideally, how best to resolve this?
Attachments: apr_config.log (7.30 KB)
  iftop_config.log (6.07 KB)


volkerarmin at googlemail

Nov 5, 2009, 8:41 AM

Post #2 of 8 (263 views)
Permalink
Re: Gentoo falling apart for me after either abandoning trying to install "Kolab" as overlay - or after upgrading to default/linux/x86/10.0 [In reply to]

On Donnerstag 05 November 2009, Steve wrote:


> checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
> checking for C compiler default output... configure: error: C compiler
> cannot create executables
> check `config.log' for details.

> I presume that this is a profile issue - but I'm unclear what the fault
> might be... I'm reluctant to continue hacking as, I suspect, I'm more
> likely to break things than stumble across an appropriate fix.
>
> Can anyone tell me why emerge is having such a problem with my compiler
> - and, hopefully, ideally, how best to resolve this?
>

yes, don't use locate. Also check the symlinks. Reset them with eselect gcc if
you have to.

Then try all your emerges with --tree you get a lot more helpfull output.
Also, when a dependency is missing revdep-rebuilt loves to fail. You can hunt
that down with --tree or just re--emerging the stuff.


michaelkintzios at gmail

Nov 5, 2009, 8:49 AM

Post #3 of 8 (260 views)
Permalink
Re: Gentoo falling apart for me after either abandoning trying to install "Kolab" as overlay - or after upgrading to default/linux/x86/10.0 [In reply to]

2009/11/5 Volker Armin Hemmann <volkerarmin [at] googlemail>:
> On Donnerstag 05 November 2009, Steve wrote:
>
>
>> checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
>> checking for C compiler default output... configure: error: C compiler
>> cannot create executables
>> check `config.log' for details.
>
>> I presume that this is a profile issue - but I'm unclear what the fault
>> might be... I'm reluctant to continue hacking as, I suspect, I'm more
>> likely to break things than stumble across an appropriate fix.
>>
>> Can anyone tell me why emerge is having such a problem with my compiler
>> - and, hopefully, ideally, how best to resolve this?
>>
>
> yes, don't use locate. Also check the symlinks. Reset them with eselect gcc if
> you have to.
>
> Then try all your emerges with --tree you get a lot more helpfull output.
> Also, when a dependency is missing revdep-rebuilt loves to fail. You can hunt
> that down with --tree or just re--emerging the stuff.

If you removed gcc for some reason in your depclean largesse you may
need to use a LiveCD or restore the binary from a backup - I'm sure
that this has been raised before in this M/L but I am not sure how
hard it may be to find the thread. Hopefully, one of the gurus will
chime in on how to go about recovering your system.
--
Regards,
Mick


dirk.heinrichs at online

Nov 5, 2009, 10:19 AM

Post #4 of 8 (261 views)
Permalink
Re: Gentoo falling apart for me after either abandoning trying to install "Kolab" as overlay - or after upgrading to default/linux/x86/10.0 [In reply to]

Am Donnerstag 05 November 2009 17:29:30 schrieb Steve:
> checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
> checking for C compiler default output... configure: error: C compiler
> cannot create executables
> check `config.log' for details.
>
> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/net-analyzer/iftop-0.17/work/iftop-0.17/config.log

And, did you actually check config.log?

Bye...

Dirk
Attachments: signature.asc (0.19 KB)


dirk.heinrichs at online

Nov 5, 2009, 10:21 AM

Post #5 of 8 (258 views)
Permalink
Re: Gentoo falling apart for me after either abandoning trying to install "Kolab" as overlay - or after upgrading to default/linux/x86/10.0 [In reply to]

Am Donnerstag 05 November 2009 19:19:10 schrieb Dirk Heinrichs:
> Am Donnerstag 05 November 2009 17:29:30 schrieb Steve:
> > checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
> > checking for C compiler default output... configure: error: C compiler
> > cannot create executables
> > check `config.log' for details.
> >
> > !!! Please attach the following file when seeking support:
> > !!! /var/tmp/portage/net-analyzer/iftop-0.17/work/iftop-0.17/config.log
>
> And, did you actually check config.log?

Aaargh, sorry, didn't read enough of the mail.

Bye...

Dirk
Attachments: signature.asc (0.19 KB)


dirk.heinrichs at online

Nov 5, 2009, 10:26 AM

Post #6 of 8 (263 views)
Permalink
Re: Gentoo falling apart for me after either abandoning trying to install "Kolab" as overlay - or after upgrading to default/linux/x86/10.0 [In reply to]

Am Donnerstag 05 November 2009 19:21:27 schrieb Dirk Heinrichs:
> Am Donnerstag 05 November 2009 19:19:10 schrieb Dirk Heinrichs:
> > Am Donnerstag 05 November 2009 17:29:30 schrieb Steve:
> > > checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
> > > checking for C compiler default output... configure: error: C compiler
> > > cannot create executables
> > > check `config.log' for details.
> > >
> > > !!! Please attach the following file when seeking support:
> > > !!! /var/tmp/portage/net-analyzer/iftop-0.17/work/iftop-0.17/config.log
> >
> > And, did you actually check config.log?
>
> Aaargh, sorry, didn't read enough of the mail.

There seems to be a mismatch between what you have installed (4.3.4) and what
emerge want's to use (4.1.2). I'd try eselect'ing the correct compiler as
Volker suggests, run env-update and source /etc/profile.

HTH...

Dirk
Attachments: signature.asc (0.19 KB)


gentoo_sjh at shic

Nov 5, 2009, 11:45 AM

Post #7 of 8 (260 views)
Permalink
Re: Gentoo falling apart for me after either abandoning trying to install "Kolab" as overlay - or after upgrading to default/linux/x86/10.0 [In reply to]

Volker Armin Hemmann wrote:
> yes, don't use locate. Also check the symlinks. Reset them with eselect gcc if
> you have to.
>
> Then try all your emerges with --tree you get a lot more helpfull output.
> Also, when a dependency is missing revdep-rebuilt loves to fail. You can hunt
> that down with --tree or just re--emerging the stuff.
>
Thanks very much, it looks as if "eselect gcc" was where I needed to
start. I've had to re-build gcc and then revdep-rebuild worked, and I'm
working through "emerge -uDNav world" - which seems to be running more
smoothly.

I was surprised that I managed to get into such a mess so easily... but
I seem to be back on track now.

Thanks.


volkerarmin at googlemail

Nov 5, 2009, 12:03 PM

Post #8 of 8 (262 views)
Permalink
Re: Gentoo falling apart for me after either abandoning trying to install "Kolab" as overlay - or after upgrading to default/linux/x86/10.0 [In reply to]

On Donnerstag 05 November 2009, Steve wrote:
> Volker Armin Hemmann wrote:
> > yes, don't use locate. Also check the symlinks. Reset them with eselect
> > gcc if you have to.
> >
> > Then try all your emerges with --tree you get a lot more helpfull output.
> > Also, when a dependency is missing revdep-rebuilt loves to fail. You can
> > hunt that down with --tree or just re--emerging the stuff.
>
> Thanks very much, it looks as if "eselect gcc" was where I needed to
> start. I've had to re-build gcc and then revdep-rebuild worked, and I'm
> working through "emerge -uDNav world" - which seems to be running more
> smoothly.
>
> I was surprised that I managed to get into such a mess so easily... but
> I seem to be back on track now.
>
> Thanks.
>

depclean can mess up your system. That is one of many good reasons to use the
buildpkg option. No matter how hosed your system is, with buildpkg you get it
back into a working state without much trouble.

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.