Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383755 - x11-terms/xterm-269 requires >=sys-libs/ncurses-5.6-r2
Summary: x11-terms/xterm-269 requires >=sys-libs/ncurses-5.6-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 04:22 UTC by Dave Kemper
Modified: 2011-09-27 21:00 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 Dave Kemper 2011-09-20 04:22:40 UTC
An emerge of xterm-269 with sys-libs/ncurses-5.5-r3 installed on the system failed with the error message:

i686-pc-linux-gnu-gcc -I. -I. -DHAVE_CONFIG_H  -D_GNU_SOURCE  -DNARROWPROTO=1 -DFUNCPROTO=15 -DOSMAJORVERSION=2 -DOSMINORVERSION=6  -I/usr/include/freetype2 -DXTSTRINGDEFINES  -O2 -march=i686 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wdeclaration-after-statement -Wextra -Wno-unknown-pragmas -Wswitch-enum -c ./input.c
In file included from ./xtermcap.h:62,
                 from ./input.c:86:
/usr/include/curses.h:1315: error: expected ';', ',' or ')' before '*' token
make: *** [input.o] Error 1
emake failed

(The offending line in /usr/include/curses.h was a prototype that used the undefined wint_t type.)  To solve this, I upgraded to sys-libs/ncurses-5.6-r2, which allowed the xterm-269 build to complete.

So x11-terms/xterm-269 (and probably earlier xterm versions) should depend on >=sys-libs/ncurses-5.6-r2.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-09-27 21:00:41 UTC
funny, entire ncurses depend was missing from xterm

+  27 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> xterm-274.ebuild:
+  Missing sys-libs/ncurses depend wrt #383755 by Dave Kemper