localhost sarath # emerge portage
Calculating dependencies... done!
>>> Emerging (1 of 1) sys-apps/portage-2.1.2.2 to /
* portage-2.1.2.tar.bz2 RMD160 ;-) ... [ ok ]
* portage-2.1.2.tar.bz2 SHA1 ;-) ... [ ok ]
* portage-2.1.2.tar.bz2 SHA256 ;-) ... [ ok ]
* portage-2.1.2.tar.bz2 size ;-) ... [ ok ]
* portage-2.1.2.2.patch.bz2 RMD160 ;-) ... [ ok ]
* portage-2.1.2.2.patch.bz2 SHA1 ;-) ... [ ok ]
* portage-2.1.2.2.patch.bz2 SHA256 ;-) ... [ ok ]
* portage-2.1.2.2.patch.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking portage-2.1.2.tar.bz2 ;-) ... [ ok ]
* checking portage-2.1.2.2.patch.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking portage-2.1.2.tar.bz2 to /var/tmp/portage/sys-apps/portage-2.1.2.2/work
>>> Unpacking portage-2.1.2.2.patch.bz2 to /var/tmp/portage/sys-apps/portage-2.1.2.2/work
* Applying portage-2.1.2.2.patch ... [ ok ]
* Setting portage.VERSION to 2.1.2.2 ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/portage-2.1.2.2/work/portage-2.1.2 ...
/lib64/libc.so.6: file not recognized: File format not recognized
collect2: ld returned 1 exit status
!!! ERROR: sys-apps/portage-2.1.2.2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3380: Called src_compile
portage-2.1.2.2.ebuild, line 86: Called die
!!! Failed to build tbz2tool
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.2.2/temp/build.log'.