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
|
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
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.
Unfortunately, even when that is fixed, even the version of gdb marked stable
on x86 (6.0) fails make check with 386 unexpected failures...
SpanKY, sed -i 's/maketest?/makecheck?/' gdb-6.2.1-r1.ebuild
*** Bug 77221 has been marked as a duplicate of this bug. ***