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

Bug 259932

Summary: sys-devel/gdb fails to merege after upgrading to sys-libs/readline to 6.0
Product: Gentoo Linux Reporter: Ivan Kouvykov <ivan.kouvykov>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ivan Kouvykov 2009-02-22 19:32:02 UTC
When I emerege sys-devel/gdb, merge fails with this error:

x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe   -Wl,-O1   \
                -o gdbtui tui-main.o libgdb.a \
                   -lreadline ../opcodes/libopcodes.a ../bfd/libbfd.a  ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a     -lncurses -lm  /usr/lib64/libexpat.so -Wl,-rpath -Wl,/usr/lib64 ../libiberty/libiberty.a  duel/duel.a -ldl -rdynamic
libgdb.a(tui-io.o): In function `tui_setup_io':
tui-io.c:(.text+0x2b3): undefined reference to `readline_echoing_p'
tui-io.c:(.text+0x362): undefined reference to `readline_echoing_p'
tui-io.c:(.text+0x368): undefined reference to `readline_echoing_p'
collect2: ld returned 1 exit status
make[2]: *** [gdbtui] Error 1
make[2]: *** Waiting for unfinished jobs....
libgdb.a(tui-io.o): In function `tui_setup_io':
tui-io.c:(.text+0x2b3): undefined reference to `readline_echoing_p'
tui-io.c:(.text+0x362): undefined reference to `readline_echoing_p'
tui-io.c:(.text+0x368): undefined reference to `readline_echoing_p'
collect2: ld returned 1 exit status
make[2]: *** [gdb] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gdb-6.8-r1/work/gdb-6.8/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gdb-6.8-r1/work/gdb-6.8'
make: *** [all] Error 2

sys-libs/readline was upgraded to 6.0 before merging gdb.

Reproducible: Always

Steps to Reproduce:




% emerge --info                                                                                                        
Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 x86_64)                                  
=================================================================                                                                          
System uname: Linux-2.6.28-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5                                     
Timestamp of tree: Sun, 22 Feb 2009 10:45:01 +0000                                                                                         
ccache version 2.4 [enabled]                                                                                                               
app-shells/bash:     3.2_p48-r1                                                                                                            
dev-java/java-config: 2.1.7                                                                                                                
dev-lang/python:     2.5.4-r2                                                                                                              
dev-util/ccache:     2.4-r8                                                                                                                
dev-util/cmake:      2.6.2-r1                                                                                                              
sys-apps/baselayout: 2.0.0                                                                                                                 
sys-apps/openrc:     0.4.3-r1                                                                                                              
sys-apps/sandbox:    1.3.8                                                                                                                 
sys-devel/autoconf:  2.13, 2.63                                                                                                            
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2                                                                                       
sys-devel/binutils:  2.19.1                                                                                                                
sys-devel/gcc-config: 1.4.1                                                                                                                
sys-devel/libtool:   2.2.6a                                                                                                                
virtual/os-headers:  2.6.28-r1                                                                                                             
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                             
CBUILD="x86_64-pc-linux-gnu"                                                                                                               
CFLAGS="-march=core2 -O2 -pipe"                                                                                                            
CHOST="x86_64-pc-linux-gnu"                                                                                                                
CONFIG_PROTECT="/etc /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/config"                                
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/qting-edge /usr/local/portage/layman/kde-testing /usr/local/portage/layman/rion"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa amd64 archive avahi bluetooth bzip2 cdr cli cmake cracklib crypt cups dbus dell dhcp dhcpcd djvu dri dvd dvdr dvdread fortran gdbm gif git gpm hal htmlhandbook iconv ieee1394 isdnlog jpeg jpeg2k kde kdeprefix kpathsea laptop midi mmx mp3 mpeg mudflap multilib mysql ncurses nepomuk nls nptl nptlonly opengl openmp pam pcre pdf perl plasma png pppd qmake qt3support qt4 rar raw readline reflection session spell spl sse sse2 ssl subversion svg sysfs tcpd tiff truetype unicode usb userlocales v4l2 vim-syntax webkit wifi x264 xcb xcomposite xinerama xorg zip zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actionsalias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-02-22 19:47:01 UTC

*** This bug has been marked as a duplicate of bug 259865 ***