Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HELP - Failed to emerge sys-libs/glibc-2.12.2 - SOLVED
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
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2351
Location: Kentucky

PostPosted: Sat May 21, 2011 12:53 am    Post subject: HELP - Failed to emerge sys-libs/glibc-2.12.2 - SOLVED Reply with quote

Doing a routine update, after already installing openrc, using emerge --sync ; emerge --update --deep --newuse system , I get:
Code:

CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header'  /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -h rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.T
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 126
make[2]: *** Waiting for unfinished jobs....
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.stmp] Error 126
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2'
make: *** [all] Error 2
emake failed
 * ERROR: sys-libs/glibc-2.12.2 failed (compile phase):
 *   make for x86 failed
 *
 * Call stack:
 *           ebuild.sh, line   56:  Called src_compile
 *         environment, line 3691:  Called eblit-run 'src_compile'
 *         environment, line 1103:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  204:  Called src_compile
 *         environment, line 3691:  Called eblit-run 'src_compile'
 *         environment, line 1103:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  212:  Called toolchain-glibc_src_compile
 *   src_compile.eblit, line  124:  Called die
 * The specific snippet of code:
 *              emake || die "make for ${ABI} failed"
 *
 * If you need support, post the output of 'emerge --info =sys-libs/glibc-2.12.2',
 * the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.12.2'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.12.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.12.2/temp/environment'.
 * S: '/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2'

>>> Failed to emerge sys-libs/glibc-2.12.2, Log file:

The file in question, ld-linux.so.2, is synlinked to ld.so, if that is of any interest.

I do not have a clue what made this die, nor how to get around it, fix it, or whatever.

Does anybody know what is happening heree, and how to make it work? :?:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.


Last edited by Moriah on Sun May 22, 2011 5:22 am; edited 1 time in total
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 810

PostPosted: Sat May 21, 2011 4:34 am    Post subject: Reply with quote

what was emerged before this? Something got messed up in your toolchain. You able to emerge anything?

could try a revdep-rebuild
_________________
“Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”

― Plato
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2351
Location: Kentucky

PostPosted: Sat May 21, 2011 4:56 am    Post subject: Reply with quote

I had emerged several packages just before glibc, all as part of the emerge --update --deep --newuse system operation. I tried a revdep-rebuild -pv on your suggestion, but it didn't find anything. I am going to try another emerge --sync, and then repeat the emerge --update --deep --newuse system; maybe the emerge --sync was an emerge --out-of-sync. That's been known to happen on occasion before. 8O
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2351
Location: Kentucky

PostPosted: Sat May 21, 2011 5:31 am    Post subject: Reply with quote

Nope. The re-emerge --sync didn't make any difference either. :(
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Sat May 21, 2011 8:38 am    Post subject: Re: HELP - Failed to emerge sys-libs/glibc-2.12.2 Reply with quote

Moriah wrote:

Code:

CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header'  /var/tmp/porta...

you're building with -m32 == 32bits glibc

Moriah wrote:

The file in question, ld-linux.so.2, is synlinked to ld.so, if that is of any interest.

No the file in question isn't symlink, the file in question is build inside /var/tmp/portage/... When install the file in question is symlink as you said.

Moriah wrote:
Does anybody know what is happening heree, and how to make it work? :?:

Your kernel might lack 32bits support and so cannot run 32bits programs : did you change kernel ?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat May 21, 2011 1:12 pm    Post subject: Reply with quote

This bug might be relevant:
https://bugs.gentoo.org/show_bug.cgi?id=368119
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2351
Location: Kentucky

PostPosted: Sat May 21, 2011 7:34 pm    Post subject: Reply with quote

Yes, the bug looks both relevant and quite new. The bug report say it is reproducable, but I have 4 other systems that I have done so far, and none of them has encountered this problem -- only the one system so far. The problem system is:
Code:

Linux hilkiah 2.6.37-gentoo-r4 #3 SMP PREEMPT Tue May 3 12:41:14 EDT 2011 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux

The other systems are all different, running:
Code:

Linux baruch 2.6.37-gentoo-r4 #4 SMP PREEMPT Wed May 4 19:05:31 EDT 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel GNU/Linux
Code:

Linux ezekiel 2.6.37-gentoo-r4 #9 SMP PREEMPT Fri May 6 13:31:25 EDT 2011 x86_64 AMD Phenom(tm) 9650 Quad-Core Processor AuthenticAMD GNU/Linux
Code:

Linux cyrus 2.6.37-gentoo-r4 #2 PREEMPT Tue May 3 12:39:31 EDT 2011 i686 Intel(R) Celeron(R) CPU 2.80GHz GenuineIntel GNU/Linux
Code:

Linux iidcpac 2.6.37-gentoo-r4 #1 PREEMPT Wed May 11 03:01:39 EDT 2011 i686 Intel(R) Celeron(R) CPU 2.80GHz GenuineIntel GNU/Linux

So "reproducable" only means that if you see the bug, you can see it again, not that you can make it happen on *ANY* system.

I just wonder what it is that is at the root of this. :?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Sat May 21, 2011 11:06 pm    Post subject: Reply with quote

maybe as i said ?
Linux iidcpac 2.6.37-gentoo-r4 #1 is for an x86 (unaffect)
Linux iidcpac 2.6.37-gentoo-r4 #2 is for an x86 (unaffect)
Linux iidcpac 2.6.37-gentoo-r4 #3 is for an x86-64 (affect, need 32bits support)
Linux iidcpac 2.6.37-gentoo-r4 #4 is for an x86-64 (unaffect, 32bits support was add)
Linux iidcpac 2.6.37-gentoo-r4 #9 is for an x86-64 (unaffect, 32bits support was add)

and you're not the one that get this error, i'll try find a dup of this one

edit: sometimes forum search work -> https://forums.gentoo.org/viewtopic-t-834310-highlight-execute+binary.html
notice the common error with you
Code:
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.11.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.11.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 126
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat May 21, 2011 11:47 pm    Post subject: Reply with quote

I have a similar problem

my system is:
Code:
2.6.39-gentoo #1 SMP PREEMPT Fri May 20 08:16:09 EDT 2011 x86_64 Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz GenuineIntel GNU/Linux


I have no trouble compiling glibc

Instead, I get the error when I try to compile
Code:
cross-i686-pc-linux-gnu/glibc-2.12.1


I have no idea whatsoever what 32 bit support in a 64 bit kernel means,
whether I've got it or not, or how to get it if I don't or whether I should
even want it :?

P.S. I do have IA32 emulation turned on if that's relevant
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2351
Location: Kentucky

PostPosted: Sat May 21, 2011 11:55 pm    Post subject: Reply with quote

Thanks for that link to the other thread, krinn, that looks like the answer. As you suspected, the two 32-bit systems would not be able to have this problem, and I checked the two 64 bit systems that worked, and they have 32 bit emulation, whereas the one that fails does not have it. I hope to build a kernel with 32 bit emulation for that machine tonight and prove beyond any doubt that you are right. :D
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Sat May 21, 2011 11:58 pm    Post subject: Reply with quote

albright, the "similar" always equiv to "totally different problem but the same application crash as that user"

call it similar if your failure output is the same as Moriah, compare files and error code or message
that ->
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.11.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.11.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 126

if not (as it's the case for 99% users saying "i have similar issue as X"), create your own thread, put there valuable infos (emerge --info & build.log of your failure, use wgetpaste tool if it's too big), and i'm sure many gentoo users will come gave you an hand with your problem
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Sun May 22, 2011 12:05 am    Post subject: Reply with quote

Moriah,
it's was easy to guess after seeing your # kernel compile, i do like that for my hosts too

And the thanks should goes to Hu, or the community, but i appreciate anyway.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2351
Location: Kentucky

PostPosted: Sun May 22, 2011 12:28 am    Post subject: Reply with quote

I thank *YOU* for telling *ME* -- together with the link that gave a simple test to check the kernel config file for the right values. That check passed on all my machines that worked, and failed on the machine that did not work. QED
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2351
Location: Kentucky

PostPosted: Sun May 22, 2011 12:37 am    Post subject: Reply with quote

krinn said:
Quote:

put there valuable infos (emerge --info & build.log of your failure, use wgetpaste tool if it's too big), and i'm sure many gentoo users will come gave you an hand with your problem

That's what great about open source, linux, gentoo, and these forums: the way most problems can be solved by asking for help, because somebody has probably already had that problem before, and knows how to fix it.

<suggestion>
I wish I was a still grad student. I would develop a case-based reasoning expert system for problem solving in the gentoo linux domain. Can you imagine a web page where you could post your problem, and a solution if you had one, and then others with nearly similar problem could immeadiatly be pointed to your solution? You could design it in JESS (Java Expert System Shell), which integrates easily with the web (apache tomcat). Any grad students out there looking for an interesting project? I'm too busy trying to earn a living, but grad students need good projects, and this could actually help the whole gentoo community. If it was really successful, it would be a great thing to put on your resume as you went looking for that first big job after you graduate.

</suggestion>
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2351
Location: Kentucky

PostPosted: Sun May 22, 2011 5:21 am    Post subject: Reply with quote

I built a new kernel with ia32 support added in, and now everything works great! Thanks for the help. :D
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
JamieWolf
n00b
n00b


Joined: 19 Oct 2005
Posts: 22

PostPosted: Sun Jun 12, 2011 7:37 am    Post subject: Reply with quote

Hi there,

I have compiled the newest hardened kernel (2.6.38-r6) with IA32 enabled, but the build still fails with the following message:
Code:
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen: C preprocessor failed with signal 11
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen: C preprocessor failed with signal 11
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xnlm_prot.stmp] Fehler 1
CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header'  /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -h rpcsvc/rstat.x -o /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/rstat.T
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen: C preprocessor failed with signal 11
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xrstat.stmp] Fehler 1
CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header'  /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -c rpcsvc/klm_prot.x -o /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xklm_prot.T
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen: C preprocessor failed with signal 11
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.stmp] Fehler 1
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen: C preprocessor failed with signal 11
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/nlm_prot.stmp] Fehler 1
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen: C preprocessor failed with signal 11
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/yppasswd.stmp] Fehler 1
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen: C preprocessor failed with signal 11
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xklm_prot.stmp] Fehler 1
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen: C preprocessor failed with signal 11
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen: C preprocessor failed with signal 11
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xyppasswd.stmp] Fehler 1
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/rstat.stmp] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2/sunrpc'
make[1]: *** [sunrpc/others] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2'
make: *** [all] Fehler 2
emake failed
 * ERROR: sys-libs/glibc-2.12.2 failed (compile phase):
 *   make for x86 failed
 *
 * Call stack:
 *           ebuild.sh, line   56:  Called src_compile
 *         environment, line 3701:  Called eblit-run 'src_compile'
 *         environment, line 1105:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  204:  Called src_compile
 *         environment, line 3701:  Called eblit-run 'src_compile'
 *         environment, line 1105:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  212:  Called toolchain-glibc_src_compile
 *   src_compile.eblit, line  124:  Called die
 * The specific snippet of code:
 *         emake || die "make for ${ABI} failed"
 *
 * If you need support, post the output of 'emerge --info =sys-libs/glibc-2.12.2',
 * the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.12.2'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.12.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.12.2/temp/environment'.
 * S: '/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2'


Anyone has a clue where I have to start investigating this error?

Portage 2.1.9.42 (hardened/linux/amd64, gcc-4.3.4, libc-0-r0, 2.6.38-hardened-r6 x86_64)
=================================================================
System uname: Linux-2.6.38-hardened-r6-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.2
Timestamp of tree: Sat, 11 Jun 2011 23:45:01 +0000
app-shells/bash: 4.1_p9
dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake: 2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc: 0.8.2-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.65-r1
sys-devel/automake: 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.3.4, 4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc: 2.11.3
virtual/os-headers: 0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j16"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 bzip2 cli cracklib crypt cups cxx dri gdbm gpm hardened iconv jpeg justify mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline session sse sse2 ssl subversion sysfs tcpd truetype unicode urandom xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="itk" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
JamieWolf
n00b
n00b


Joined: 19 Oct 2005
Posts: 22

PostPosted: Sun Jun 12, 2011 12:56 pm    Post subject: Reply with quote

Found the solution to my problem (See https://bugs.gentoo.org/show_bug.cgi?id=369359#c9)

I had to use this command to compile glibc on my x86_64 gentoo hardened system:
Code:
FEATURES='-sandbox -usersandbox' emerge glibc
Back to top
View user's profile Send private message
c00l.wave
Apprentice
Apprentice


Joined: 24 Aug 2003
Posts: 264

PostPosted: Sun Sep 18, 2011 1:51 pm    Post subject: Reply with quote

I know this thread is marked as solved for a few months now but I had the same problem today and found it via Google so I'd like to point out the correct way to solve this.
JamieWolf wrote:
Portage 2.1.9.42 (hardened/linux/amd64, gcc-4.3.4, libc-0-r0, 2.6.38-hardened-r6 x86_64)

That indicates that you were still using GCC 4.3.4. You had GCC 4.4.5 installed as well but not activated. I, too, missed to complete that upgrade in time. After switching compilers using gcc-config I was able to upgrade glibc during emerge -eav system without the workaround mentioned above. I'm now into the world rebuild (although this may not be necessary for GCC 4.3 -> 4.4 but it's a remotely administered server so I better make sure it boots up ;) ).
_________________
nohup nice -n -20 cp /dev/urandom /dev/null &
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