Hello I can't emerge vim on my ppc (rs6000). Tried vim-6.2-r7 trough r9 and 6.3. The error message is always the same: buffer.c: At top level: /usr/include/gconv.h:176: warning: array `__data' assumed to have one element structs.h:1028: error: storage size of `b_block_head' isn't known buffer.c:2618: error: register name not specified for `__result' buffer.c:3011: error: register name not specified for `__result' buffer.c:4358: error: register name not specified for `__result' buffer.c:4359: error: register name not specified for `__result' buffer.c:4359: error: register name not specified for `__result' buffer.c:4361: error: register name not specified for `__result' buffer.c:4361: error: register name not specified for `__result' buffer.c:4419: error: register name not specified for `__result' buffer.c:4419: error: register name not specified for `__result' buffer.c:4420: error: register name not specified for `__result' buffer.c:4420: error: register name not specified for `__result' {standard input}: Assembler messages: {standard input}:211: Error: symbol `__result' is already defined as "*COM*"/4 {standard input}:223: Error: symbol `__result' is already defined as "*COM*"/4 {standard input}:229: Error: symbol `__result' is already defined as "*COM*"/4 {standard input}:235: Error: symbol `__result' is already defined as "*COM*"/4 {standard input}:241: Error: symbol `__result' is already defined as "*COM*"/4 {standard input}:247: Error: symbol `__result' is already defined as "*COM*"/4 {standard input}:253: Error: symbol `__result' is already defined as "*COM*"/4 {standard input}:289: Error: symbol `__result' is already defined as "*COM*"/4 {standard input}:295: Error: symbol `__result' is already defined as "*COM*"/4 {standard input}:301: Error: symbol `__result' is already defined as "*COM*"/4 {standard input}:307: Error: symbol `__result' is already defined as "*COM*"/4 {standard input}:314: Error: symbol `s' is already defined {standard input}:326: Error: symbol `s' is already defined make[1]: *** [objects/buffer.o] Error 1 make: *** [first] Error 2 !!! ERROR: app-editors/vim-6.3 failed. !!! Function src_compile, Line 266, Exitcode 2 !!! emake failed sancho root # emerge info Portage 2.0.50-r8 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6) ================================================================= System uname: 2.6.6 ppc 604r Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=604 -pipe" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=604 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X berkdb cups dvd esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libwww mitshm motif mozilla nls oggvorbis opengl oss pam perl png ppc python qt readline sdl slang ssl tcpd truetype xv" best regards Thomas Reproducible: Always Steps to Reproduce: 1. 2. 3.
Hello Found the problem. Cscope was not installed. After emerging cscope vim installs fine. regards Thomas
This bug isn't fixed. I tried installing cscope and it didn't help. I get the same error. I can't stand nano. I need VIM! :-D Ciao!
I added a comment on how to fix this on bug: 53919 The correct fix seems to be something like: USE="ncurses" emerge vim Apparently, it was picking up libtermcap-compat instead of ncurses and failing to detect the size of an int (among other problems). Ciao!