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

Bug 1989

Summary: error when emerging gdb
Product: Gentoo Linux Reporter: Cyril <cyril>
Component: [OLD] DevelopmentAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cyril 2002-04-21 18:30:23 UTC
when trying to emerge gdb, i get the following error:

[....]
gcc -c -march=i686 -O3 -pipe    -I. -I. -I./config -DHAVE_CONFIG_H
-I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include
-I../intl -I./../intl  -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment
-Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized  utils.c
In file included from /usr/include/curses.h:111,
                 from utils.c:30:
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:9: conflicting types
for `false'
../bfd/bfd.h:102: previous declaration of `false'
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:11: conflicting
types for `true'
../bfd/bfd.h:102: previous declaration of `true'
utils.c: In function `floatformat_from_doublest':
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
utils.c:2643: warning: pointer of type `void *' used in arithmetic
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdb-5.1.1/work/gdb-5.1.1/gdb'
make: *** [all-gdb] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 15, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/sys-devel/gdb/gdb-5.1.1.ebuild .
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-22 21:27:03 UTC
You have an ncurses version installed that was released, but then quickly masked
for problems like this.  Unless you are running gcc3, please downgrade to the
latest unmasked ncurses and try again.