Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245374 - slang-2.1.4 does not compile against ncurses-5.7
Summary: slang-2.1.4 does not compile against ncurses-5.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
: 245377 (view as bug list)
Depends on: 245370
Blocks:
  Show dependency tree
 
Reported: 2008-11-03 09:57 UTC by Michelangelo Scopelliti
Modified: 2012-05-29 06:06 UTC (History)
6 users (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 Michelangelo Scopelliti 2008-11-03 09:57:05 UTC
after ncurses upgrade, slang fails to compile, ld searching -ltermcap.
downgrading ncurses solves the problem.

from log:

x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe   slsh.o readline.o -o slsh_exe -Wl,
-O1 -Wl,-export-dynamic -L/var/tmp/portage/sys-libs/slang-2.1.4/work/slang-2.1.4
/src/elfamd64objs -lslang -lreadline -ltermcap -ldl  -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: c
annot find -ltermcap

Reproducible: Always

Steps to Reproduce:
1. upgrade to ncurses-5.7
2. upgrade to slang-2.1.4

Actual Results:  
<snip>
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe   slsh.o readline.o -o slsh_exe -Wl,
-O1 -Wl,-export-dynamic -L/var/tmp/portage/sys-libs/slang-2.1.4/work/slang-2.1.4
/src/elfamd64objs -lslang -lreadline -ltermcap -ldl  -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: c
annot find -ltermcap
</snip>
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-03 12:10:52 UTC
*** Bug 245377 has been marked as a duplicate of this bug. ***
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-03 12:34:43 UTC
Like Uwe Barthel pointed out in the duplicate bug, this error seems to be the same like bug #210063
Assigning bug to cjk...
Comment 3 Timo Gurr (RETIRED) gentoo-dev 2008-11-03 12:37:37 UTC
Another workaround is to recompile sys-libs/ncurses with USE="-berkdb", after that slang compiles fine. My USE flags for both are:

[ebuild   R   ] sys-libs/ncurses-5.7  USE="unicode -ada -berkdb -debug -doc -gpm -minimal -nocxx -profile -trace" 0 kB
[ebuild   R   ] sys-libs/slang-2.1.4  USE="pcre readline -cjk -png" 0 kB
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2008-11-03 14:37:01 UTC
it seems that ncurses has the issue. 'emerge =ncurses-5.7' doesn't install /usr/share/terminfo/* files.
Comment 5 Thomas Dickey 2008-12-13 21:06:52 UTC
It's surprising that it's an issue _now_, since I added the hashed-database
option two years ago, for ncurses 5.6 (what changed?).
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-04-29 22:23:50 UTC
  30 Apr 2009; Samuli Suominen <ssuominen@gentoo.org> ncurses-5.6-r2.ebuild,
  ncurses-5.7.ebuild:
  Because ncurses5-config --terminfo returns /usr/share/terminfo we keepdir
  it wrt #245374.

  30 Apr 2009; Samuli Suominen <ssuominen@gentoo.org> slang-2.1.3-r1.ebuild,
  slang-2.1.4.ebuild:
  Because ncurses5-config --terminfo returns /usr/share/terminfo we keepdir
  it wrt #245374 and drop USE -minimal depend.