Bug 68643 - sys-devel/gdb needs to depend on dev-util/dejagnu when FEATURES=maketest
Bug#: 68643 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: toolchain@gentoo.org Reported By: ka0ttic@gentoo.org
Component: Development
URL: 
Summary: sys-devel/gdb needs to depend on dev-util/dejagnu when FEATURES=maketest
Keywords:  
Status Whiteboard: 
Opened: 2004-10-23 08:23 0000
Description:   Opened: 2004-10-23 08:23 0000
gdb's make check depends on runtest (provided by DejaGNU), so if not installed
src_test() will fail with:

/bin/sh: runtest: command not found
make[3]: *** [just-check] Error 127
make[3]: Leaving directory
`/var/tmp/portage/gdb-6.0/work/gdb-6.0/gdb/testsuite'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/var/tmp/portage/gdb-6.0/work/gdb-6.0/gdb'
make[1]: *** [check-gdb] Error 2
make[1]: Leaving directory `/var/tmp/portage/gdb-6.0/work/gdb-6.0'
make: *** [check] Error 2

------- Comment #1 From solar 2004-10-23 09:51:43 0000 -------
Created an attachment (id=42458) [details]
gdb-6.2.1.ebuild.diff

depends are not FEATURE based so your probably going to want to to make 
use of this as an I/USE flag as a few other ebuilds do. 
Attached is an untested diff on how I think you could work this out.

------- Comment #2 From Aaron Walker (RETIRED) 2004-10-23 13:21:15 0000 -------
Unfortunately, even when that is fixed, even the version of gdb marked stable
on x86 (6.0) fails make check with 386 unexpected failures...

------- Comment #3 From SpanKY 2004-11-09 16:05:21 0000 -------
done

------- Comment #4 From Aaron Walker (RETIRED) 2004-11-10 08:01:08 0000 -------
SpanKY, sed -i 's/maketest?/makecheck?/' gdb-6.2.1-r1.ebuild

------- Comment #5 From SpanKY 2004-12-06 19:55:22 0000 -------
yep, fixed

------- Comment #6 From SpanKY 2005-01-09 13:30:39 0000 -------
*** Bug 77221 has been marked as a duplicate of this bug. ***