Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64212 - Incorrect SRC_URI in libtermcap-compat-1.2.3
Summary: Incorrect SRC_URI in libtermcap-compat-1.2.3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 63131 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-15 22:00 UTC by Baz (RETIRED)
Modified: 2016-02-02 00:53 UTC (History)
7 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 Baz (RETIRED) gentoo-dev 2004-09-15 22:00:59 UTC
Ebuild expects to find source at:

http://ftp.debian.org/debian/dists/potato/main/source/oldlibs/

and it is no longer there.  From the HOMEPAGE the download URL is now:

http://ftp.debian.org/debian/pool/main/t/termcap-compat/

Reproducible: Always
Steps to Reproduce:
1.  emerge sys-libs/libtermcap-compat-1.2.3-r1


Actual Results:  
Ebuild fails as source cannot be found.
Comment 1 SpanKY gentoo-dev 2004-10-16 12:02:35 UTC
seemant: this package was originally added to support coreutils, but after we fixed that problem, is there any reason to keep this ?

i say we remove it from cvs (the abomination that it is) and get packages to stop using it (use ncurses instead)
Comment 2 SpanKY gentoo-dev 2004-10-16 12:11:31 UTC
many of these packages look like frivolous DEPENDs, but here's the list

app-admin/apachetop
app-admin/bacula
app-editors/kvim
app-editors/teco
app-editors/vi
app-editors/videoteco
app-misc/tdl
app-office/mdbtools
app-sci/magic
app-sci/octave-forge
app-text/rhyme
app-text/wdiff
dev-java/libreadline-java
dev-util/fenris
dev-util/mono-debugger
mail-client/hap
net-dialup/xc
net-mail/cyrus-imap-admin
net-p2p/hx
sys-fs/amiga-fdisk
x11-wm/fvwm
Comment 3 SpanKY gentoo-dev 2004-10-16 12:41:13 UTC
fixed:
app-editors/kvim
sys-fs/amiga-fdisk
app-misc/tdl
app-text/rhyme
x11-wm/fvwm
Comment 4 SpanKY gentoo-dev 2004-10-16 12:56:10 UTC
fixed net-dialup/xc
Comment 5 Ciaran McCreesh 2004-10-16 13:54:15 UTC
Your list is wrong. You need to go back and redo it taking eclasses into account.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2004-10-16 15:36:47 UTC
spanks, I'm with you.
Comment 7 Ciaran McCreesh 2004-10-16 16:32:50 UTC
Hm, and it gets even more fun since various apps like mplayer link against libtermcap and don't have a dep on it.
Comment 8 Ciaran McCreesh 2004-10-16 16:52:46 UTC
List of stuff which I have on my system which links against termcap that isn't on your list:

find /bin /usr/bin -type 'f' | while read f ; do ( ldd $f 2>/dev/null | grep termcap 1>/dev/null ) && qpkg -nc -v -f $f ; done  | sort -u
dev-db/postgresql-7.4.5
media-video/mplayer-1.0_pre5-r3
x11-terms/xterm-191

These presumably either have a dep set in an eclass, use if it's available or have a hard unlisted dep. I bet there're a lot more too... Probably worth running that command on a whole load of boxes.
Comment 9 SpanKY gentoo-dev 2004-10-18 06:12:08 UTC
ciaranm: you noted on irc some packages would not work with ncurses at all ...

which packages are these ?  i remember you mentioning some vi editors ... debian might have some patches to help ...
Comment 10 Ciaran McCreesh 2004-10-18 08:16:26 UTC
Mike -- I don't have a full list. I suspect at least vi, probably others. Only solution I can think of is to test the whole frickin' lot and see... termcap and terminfo aren't entirely compatible unfortunately, especially if you're doing fancy stuff (like editors tend to do...).
Comment 11 Tuan Van (RETIRED) gentoo-dev 2004-10-20 14:11:07 UTC
net-mail/cyrus-imap-admin-2.2.* don't DEPEND on libtermcap-compat any more.
OTH, add app-crypt/heimdal to the list.

# find /bin /usr/bin -type 'f' | while read f ; do ( ldd $f 2>/dev/null | grep termcap 1>/dev/null ) && qpkg -nc -v -f $f ; done  | sort -u
app-crypt/heimdal-0.6.3
Comment 12 Tuan Van (RETIRED) gentoo-dev 2004-10-20 14:14:01 UTC
ciaranm, my postgresql doesn't show up in your oneliner.

# emerge -vp postgresql

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-db/postgresql-7.4.5-r2  -debug -doc +java +libg++ +nls +pam+perl -pg-hier -pg-intdatetime -pg-vacuumdelay +python +readline +ssl -tcltk* +zlib 0 kB
Comment 13 Ciaran McCreesh 2004-10-20 14:18:07 UTC
Hrm, I suspect that a lot of these will just randomly link against ncurses, libtermcap or nothing depending upon the phase of the moon...
Comment 14 Tuan Van (RETIRED) gentoo-dev 2004-10-20 14:19:11 UTC
*** Bug 63131 has been marked as a duplicate of this bug. ***
Comment 15 Sven 2004-10-20 14:42:47 UTC
dev-java/libreadline-java ebuild was already fixed too. The patch was simple: simply replace "-ltermcap" with "-lncurses". I also mailed the developers of libreadline-java and they might link against ncurses by default in the next version.
Comment 16 Seemant Kulleen (RETIRED) gentoo-dev 2004-12-30 10:14:06 UTC
Tavis, how about the fvwm dependency? Can that be adjusted to be ncurses instead?
Comment 17 Tavis Ormandy (RETIRED) gentoo-dev 2004-12-30 11:35:52 UTC
its already gone, Spanky removed it (he's right, it was fairly frivolous).
Comment 18 Seemant Kulleen (RETIRED) gentoo-dev 2005-01-03 20:53:50 UTC
spanky, please babysit this bug while I'm on Leave of Absence.
Comment 19 Ciaran McCreesh 2005-01-06 01:37:26 UTC
app-editors/elvis needs termcap too. blech.
Comment 20 SpanKY gentoo-dev 2005-08-19 21:22:57 UTC
we want to punt libtermcap, not fix it ;)