Bug 72396 - Error in jed-0.99.16-r2 ebuild causes incorrected dependancies, esp. slang
Bug#: 72396 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: liquidx@gentoo.org Reported By: grmcdorman@gmail.com
Component: Applications
URL: 
Summary: Error in jed-0.99.16-r2 ebuild causes incorrected dependancies, esp. slang
Keywords:  
Status Whiteboard: 
Opened: 2004-11-24 14:34 0000
Description:   Opened: 2004-11-24 14:34 0000
emerge jed on clean system (stage 1 install) fails:
/var/tmp/portage/jed-0.99.16-r2/work/jed-0.99-16/src/chkslang.c:20:19: slang.h: No such file or directory
This is due to this code in the ebuild:
DEPEND=">=sys-libs/slang-1.4.5
        X? ( virtual/x11 )
        gpm? ( sys-libs/gpm )
        X? ( truetype? ( virtual/xft
                >=media-libs/freetype-2.0 ) )"
DEPEND="${RDEPEND}
        >=sys-apps/sed-4"
Presumably the 2nd DEPEND= should read
RDEPEND="${DEPEND}


Reproducible: Always
Steps to Reproduce:
emerge jed on a system w/o slang previously installed
Actual Results:  
emerge fails 

Expected Results:  
emerge should have found slang as a dependancy and emerged it first 

Workaround: emerge slang first (or edit the ebuild).

------- Comment #1 From Carsten Lohrke 2004-11-24 14:41:07 0000 -------
wrong bug, sorry Alastair

------- Comment #2 From Alastair Tse (RETIRED) 2004-11-25 04:20:19 0000 -------
no no .. right bug :)

------- Comment #3 From Alastair Tse (RETIRED) 2004-11-25 04:22:15 0000 -------
thanks for spotting that. not quite sure how that crept in given that -r1 was
correct .. hrmm