>>> Unpacking source... >>> Unpacking elfsh-0.51b3-portable.tgz to /var/tmp/portage/dev-util/elfsh-0.51_beta3/work * Applying 0.51_beta3-gentoo.patch ...  [ ok ] >>> Source unpacked in /var/tmp/portage/dev-util/elfsh-0.51_beta3/work >>> Compiling source in /var/tmp/portage/dev-util/elfsh-0.51_beta3/work/elfsh-0.51b3 ... make -j14 ETAGS=echo Builting libelfsh... make[1]: Entering directory `/var/tmp/portage/dev-util/elfsh-0.51_beta3/work/elfsh-0.51b3/libelfsh' gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o dynamic.o dynamic.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o dynsym.o dynsym.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o elf.o elf.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o fixup.o fixup.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o got.o got.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o hash.o hash.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o interp.o interp.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o pht.o pht.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o plt.o plt.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o section.o section.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o sht.o sht.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o error.o error.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o stab.o stab.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o symbol.o symbol.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o notes.o notes.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o reloc.o reloc.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o blocks.o blocks.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o ctors.o ctors.c got.c: In function 'elfsh_get_got_entry_by_name': got.c:109: warning: pointer targets in passing argument 2 of 'elfsh_get_got' differ in signedness got.c:14: note: expected 'int *' but argument is of type 'u_int *' gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o dtors.o dtors.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o raw.o raw.c elf.c: In function 'elfsh_get_magic': elf.c:264: warning: dereferencing type-punned pointer will break strict-aliasing rules elf.c: In function 'elfsh_set_magic': elf.c:273: warning: dereferencing type-punned pointer will break strict-aliasing rules symbol.c: In function 'elfsh_shift_symtab': symbol.c:363: warning: pointer targets in passing argument 6 of 'elfsh_get_section_by_type' differ in signedness include/libelfsh.h:550: note: expected 'int *' but argument is of type 'u_int *' stab.c: In function 'elfsh_get_stab': stab.c:50: warning: pointer targets in passing argument 3 of 'elfsh_get_section_by_name' differ in signedness include/libelfsh.h:552: note: expected 'int *' but argument is of type 'u_int *' stab.c:50: warning: pointer targets in passing argument 4 of 'elfsh_get_section_by_name' differ in signedness include/libelfsh.h:552: note: expected 'int *' but argument is of type 'u_int *' stab.c:50: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness include/libelfsh.h:552: note: expected 'int *' but argument is of type 'u_int *' gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o map.o map.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o strtab.o strtab.c pht.c: In function 'elfsh_get_object_baseaddr': pht.c:252: warning: pointer targets in passing argument 2 of 'elfsh_get_pht' differ in signedness include/libelfsh.h:487: note: expected 'int *' but argument is of type 'u_int *' gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o sht_rebuild.o sht_rebuild.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o comment.o comment.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o sym_common.o sym_common.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o hijack.o hijack.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o obj.o obj.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o pax.o pax.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o save.o save.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o copy.o copy.c ctors.c: In function 'elfsh_get_ctors_entry_by_name': ctors.c:106: warning: pointer targets in passing argument 2 of 'elfsh_get_ctors' differ in signedness ctors.c:12: note: expected 'int *' but argument is of type 'u_int *' gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o strip.o strip.c dtors.c: In function 'elfsh_get_dtors_entry_by_name': dtors.c:98: warning: pointer targets in passing argument 2 of 'elfsh_get_dtors' differ in signedness dtors.c:12: note: expected 'int *' but argument is of type 'u_int *' gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o remap.o remap.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o relinject.o relinject.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o sanitize.o sanitize.c sht_rebuild.c: In function 'elfsh_rebuild_sht': sht_rebuild.c:360: warning: pointer targets in passing argument 2 of 'elfsh_get_pht' differ in signedness include/libelfsh.h:487: note: expected 'int *' but argument is of type 'u_int *' gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o debug.o debug.c comment.c: In function 'elfsh_get_comments': comment.c:22: warning: pointer targets in passing argument 5 of 'elfsh_get_section_by_name' differ in signedness include/libelfsh.h:552: note: expected 'int *' but argument is of type 'u_int *' gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o bss.o bss.c gcc -rdynamic -Iinclude -Wall -fPIC -O2 -pipe -DELFSH_INTERN -c -o sort.o sort.c sym_common.c: In function 'elfsh_create_symbol': sym_common.c:199: warning: 'new.st_name' is used uninitialized in this function bss.c: In function 'elfsh_find_bsslen': bss.c:210: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness include/libelfsh.h:332: note: expected 'int *' but argument is of type 'u_int *' relinject.c: In function 'elfsh_relocate_etrel_section': relinject.c:316: warning: pointer targets in passing argument 3 of 'elfsh_relocate_entry' differ in signedness relinject.c:190: note: expected 'u_long *' but argument is of type 'long int *' relinject.c: In function 'elfsh_inject_etrel': relinject.c:433: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness include/libelfsh.h:332: note: expected 'int *' but argument is of type 'u_int *' make[1]: Leaving directory `/var/tmp/portage/dev-util/elfsh-0.51_beta3/work/elfsh-0.51b3/libelfsh' Libelfsh has been built successfully. Builting libhashelfsh... Libhash has been built successfully. Builting ELFsh... make[1]: Entering directory `/var/tmp/portage/dev-util/elfsh-0.51_beta3/work/elfsh-0.51b3/vm' gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o grammar.o grammar.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o disasm.o disasm.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o dyn.o dyn.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o hdr.o hdr.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o main.o main.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o got.o got.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o interp.o interp.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o notes.o notes.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o pht.o pht.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o rel.o rel.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o sht.o sht.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o stab.o stab.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o sym.o sym.c gcc -rdynamic -fPIC -O2 -pipe -Wall -Iinclude -I../libhash/include/ -I../libelfsh/include/ -DELFSH_INTERN -c -o quit.o quit.c In file included from sym.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here sym.c: In function 'cmd_sym': sym.c:134: warning: pointer targets in passing argument 2 of 'elfsh_get_symtab' differ in signedness ../libelfsh/include/libelfsh.h:332: note: expected 'int *' but argument is of type 'u_int *' sym.c: In function 'cmd_dynsym': sym.c:154: warning: pointer targets in passing argument 2 of 'elfsh_get_dynsymtab' differ in signedness ../libelfsh/include/libelfsh.h:342: note: expected 'int *' but argument is of type 'u_int *' make[1]: *** [sym.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from got.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here got.c: In function 'cmd_got': got.c:44: warning: the address of 'off' will never be NULL make[1]: *** [got.o] Error 1 In file included from dyn.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here make[1]: *** [dyn.o] Error 1 In file included from interp.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here make[1]: *** [interp.o] Error 1 In file included from rel.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here make[1]: *** [rel.o] Error 1 In file included from hdr.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here hdr.c: In function 'cmd_elf': hdr.c:74: warning: pointer targets in passing argument 3 of 'elfsh_reverse_metasym' differ in signedness ../libelfsh/include/libelfsh.h:368: note: expected 'int *' but argument is of type 'u_int *' In file included from notes.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here In file included from stab.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here stab.c: In function 'cmd_stab': stab.c:25: warning: pointer targets in passing argument 2 of 'elfsh_get_stab' differ in signedness ../libelfsh/include/libelfsh.h:428: note: expected 'int *' but argument is of type 'u_int *' make[1]: *** [hdr.o] Error 1 make[1]: *** [notes.o] Error 1 make[1]: *** [stab.o] Error 1 In file included from grammar.c:10: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here make[1]: *** [grammar.o] Error 1 In file included from quit.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here make[1]: *** [quit.o] Error 1 In file included from disasm.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here disasm.c: In function 'display_object': disasm.c:180: warning: pointer targets in passing argument 3 of 'elfsh_get_parent_section' differ in signedness ../libelfsh/include/libelfsh.h:553: note: expected 'int *' but argument is of type 'u_int *' disasm.c:188: warning: pointer targets in passing argument 3 of 'elfsh_reverse_symbol' differ in signedness ../libelfsh/include/libelfsh.h:330: note: expected 'int *' but argument is of type 'u_int *' disasm.c:190: warning: pointer targets in passing argument 3 of 'elfsh_reverse_dynsymbol' differ in signedness ../libelfsh/include/libelfsh.h:343: note: expected 'int *' but argument is of type 'u_int *' make[1]: *** [disasm.o] Error 1 In file included from main.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here make[1]: *** [main.o] Error 1 In file included from pht.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here make[1]: *** [pht.o] Error 1 In file included from sht.c:8: include/elfsh.h:474: error: conflicting types for 'dprintf' /usr/include/stdio.h:397: note: previous declaration of 'dprintf' was here sht.c: In function 'cmd_sht': sht.c:25: warning: pointer targets in passing argument 2 of 'elfsh_get_sht' differ in signedness ../libelfsh/include/libelfsh.h:436: note: expected 'int *' but argument is of type 'u_int *' make[1]: *** [sht.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-util/elfsh-0.51_beta3/work/elfsh-0.51b3/vm' make: *** [all] Error 2 * * ERROR: dev-util/elfsh-0.51_beta3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2359: Called die * The specific snippet of code: * emake ETAGS=echo || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-util/elfsh-0.51_beta3:20090701-013044.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/elfsh-0.51_beta3/temp/environment'. *