Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 348764

Summary: sys-libs/glibc-2.12.1-r3 Error 126
Product: Gentoo Linux Reporter: Arsen Shnurkov <Arsen.Shnurkov>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/tmp/portage/sys-libs/glibc-2.12.1-r3/temp/build.log.gz
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/temp/environment
emerge --info =sys-libs/glibc-2.12.1-r3
/home/wiwar/emerge.pqv.txt
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/temp/build.log.gz

Description Arsen Shnurkov 2010-12-15 04:13:02 UTC
# LANG="C" emerge -1 glibc

...

/bin/sh: /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: не могу запустить бинарный файл
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Ошибка 126
make[2]: *** Ожидание завершения заданий...
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-15 04:17:51 UTC
Please attach the entire build log as a file, after you have rebuilt it with LANG=C set in your environment, and post your `emerge --info' output in a comment.
Comment 2 Arsen Shnurkov 2010-12-15 04:28:53 UTC
Created attachment 257201 [details]
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/temp/build.log.gz
Comment 3 Arsen Shnurkov 2010-12-15 04:29:16 UTC
Created attachment 257203 [details]
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/temp/environment
Comment 4 Arsen Shnurkov 2010-12-15 04:30:42 UTC
Created attachment 257205 [details]
emerge --info =sys-libs/glibc-2.12.1-r3
Comment 5 Arsen Shnurkov 2010-12-15 04:31:18 UTC
Created attachment 257207 [details]
/home/wiwar/emerge.pqv.txt
Comment 6 Arsen Shnurkov 2010-12-15 04:33:30 UTC
> rebuilt it with LANG=C set in your environment

I tried 
LANG=C emerge -1 glibc
the language of messages is non english
Comment 7 Arsen Shnurkov 2010-12-15 05:31:35 UTC
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.12.1-r3/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.1-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 126
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xnlm_prot.stmp] Error 126
Comment 8 Arsen Shnurkov 2010-12-15 05:33:28 UTC
Created attachment 257211 [details]
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/temp/build.log.gz

Build log is replaced by version with english messages
Comment 9 Arsen Shnurkov 2010-12-15 05:47:34 UTC
http://bugs.gentoo.org/154472
"we have to enable IA_32_EMULATION to emerge gcc (and glibc)"

but in my kernel this flag is not set:
# zgrep IA32 /proc/config.gz
# CONFIG_IA32_EMULATION is not set

I will try to check this solution.
Comment 10 Arsen Shnurkov 2010-12-15 07:56:10 UTC
works with
CONFIG_IA32_EMULATION=y