Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54065 - vim emerge fails on ppc (rs6000)
Summary: vim emerge fails on ppc (rs6000)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-16 00:37 UTC by Thomas Stein
Modified: 2004-06-19 22:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Stein 2004-06-16 00:37:35 UTC
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.
Comment 1 Thomas Stein 2004-06-18 06:33:49 UTC
Hello

Found the problem. Cscope was not installed. After emerging cscope vim installs fine.

regards
Thomas
Comment 2 Christian Holtje 2004-06-19 22:02:53 UTC
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!
Comment 3 Christian Holtje 2004-06-19 22:33:52 UTC
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!