Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41603 - bash-2.05b-r9 compilation fails in lib/readline/terminal.c
Summary: bash-2.05b-r9 compilation fails in lib/readline/terminal.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-14 17:05 UTC by Lukas Erlinghagen
Modified: 2004-02-14 17:44 UTC (History)
0 users

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 Lukas Erlinghagen 2004-02-14 17:05:39 UTC
When I try to run emerge -u bash to update from bash-2.05b-r7 to bash-2.05b-r9, compilation fails in file /var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline/terminal.c on line 435.

Reproducible: Always
Steps to Reproduce:
1. emerge -u bash


Actual Results:  
These are the messages I get:

gcc -c -DHAVE_CONFIG_H -DSHELL   -I.
-I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib  -O2
-march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -m3dnow -mmmx
-mfpmath=sse,387 terminal.c
terminal.c: In function `get_term_capabilities':
terminal.c:353: Warnung: assignment makes pointer from integer without a cast
terminal.c: In function `_rl_init_terminal_io':
terminal.c:435: error: `PC' undeclared (first use in this function)
terminal.c:435: error: (Each undeclared identifier is reported only once
terminal.c:435: error: for each function it appears in.)
terminal.c:436: error: `BC' undeclared (first use in this function)
terminal.c:437: error: `UP' undeclared (first use in this function)
make[1]: *** [terminal.o] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline'
make: *** [lib/readline/libreadline.a] Fehler 1

!!! ERROR: app-shells/bash-2.05b-r9 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! (no error message)


Expected Results:  
compile and install bash-2.05b-r9

Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-gentoo)
=================================================================
System uname: 2.6.0-gentoo i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.10
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -m3dnow
-mmmx -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -m3dnow
-mmmx -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.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="3dnow X aalib acl acpi alsa apache2 apm arts avi berkdb bidi bonobo cdr
crypt cscope cups curl dedicated directfb doc dvd emacs emacs-w3 encode esd
ethereal fbcon flash foomaticdb gdbm gif gnome gpm gtk gtk2 guile imagemagick
imap imlib ipv6 jack java jikes joystick jpeg junit kde ladcca leim libg++
libwww linguas_de mad mikmod mmx motif mpeg mpi mule mysql ncurses nls nocd obc
oggvorbis opengl oss pam pdflib perl png prelude python qt quicktime readline
samba sasl scanner sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff
truetype unicode usb videos wmf wxwindows x86 xinerama xml xml2 xmms xv zlib"
Comment 1 Lukas Erlinghagen 2004-02-14 17:44:41 UTC
Re-emerging ncurses and readline lets bash emerge properly