public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge: gcc compilation fails
       [not found] <21dbb7da0606021758w5de8d24r95786945bcce2837@mail.gmail.com>
@ 2006-06-05 20:27 ` Sorav Bansal
  2006-06-05 21:06   ` Richard Fish
  0 siblings, 1 reply; 2+ messages in thread
From: Sorav Bansal @ 2006-06-05 20:27 UTC (permalink / raw
  To: gentoo-user

I have a gentoo box with kernel version 2.6.12. I regularly perform
"emerge sync" and "emerge --update world".

After one such update, I am facing trouble compiling any
packages on my gentoo box. The same package compiles fine if I
manually download the package and type "./configure && make"

Below is a trace of the messages.

$ emerge portage
....
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/src
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2
-march=i686 alsa -fPIC -Isrc/ -I/usr/include/python2.4 -c src/MD2.c -o
build/temp.linux-i686-2.4/src/MD2.o
i686-pc-linux-gnu-gcc: cannot specify -o with -c or -S and multiple compilations
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/pycrypto-2.0.1-r5 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  pycrypto-2.0.1-r5.ebuild, line 38:   Called distutils_src_compile
  distutils.eclass, line 35:   Called die


I would really appreciate any help.

Regards

Sorav
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] emerge: gcc compilation fails
  2006-06-05 20:27 ` [gentoo-user] emerge: gcc compilation fails Sorav Bansal
@ 2006-06-05 21:06   ` Richard Fish
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Fish @ 2006-06-05 21:06 UTC (permalink / raw
  To: gentoo-user

On 6/5/06, Sorav Bansal <bsorav@gmail.com> wrote:
> i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2
> -march=i686 alsa -fPIC -Isrc/ -I/usr/include/python2.4 -c src/MD2.c -o
> build/temp.linux-i686-2.4/src/MD2.o

What does emerge --info report?  Because it looks like somehow you got
"alsa" in CFLAGS. (?!?!)

-Richard
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-06-05 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <21dbb7da0606021758w5de8d24r95786945bcce2837@mail.gmail.com>
2006-06-05 20:27 ` [gentoo-user] emerge: gcc compilation fails Sorav Bansal
2006-06-05 21:06   ` Richard Fish

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