<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>68643</bug_id>
          
          <creation_ts>2004-10-23 08:23 0000</creation_ts>
          <short_desc>sys-devel/gdb needs to depend on dev-util/dejagnu when FEATURES=maketest</short_desc>
          <delta_ts>2005-01-09 13:30:39 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ka0ttic@gentoo.org</reporter>
          <assigned_to>toolchain@gentoo.org</assigned_to>
          <cc>lars@strojny.net</cc>

      

      
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2004-10-23 08:23:54 0000</bug_when>
            <thetext>gdb&apos;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&apos;
make[2]: *** [check] Error 2
make[2]: Leaving directory `/var/tmp/portage/gdb-6.0/work/gdb-6.0/gdb&apos;
make[1]: *** [check-gdb] Error 2
make[1]: Leaving directory `/var/tmp/portage/gdb-6.0/work/gdb-6.0&apos;
make: *** [check] Error 2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2004-10-23 09:51:43 0000</bug_when>
            <thetext>Created an attachment (id=42458)
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2004-10-23 13:21:15 0000</bug_when>
            <thetext>Unfortunately, even when that is fixed, even the version of gdb marked stable on x86 (6.0) fails make check with 386 unexpected failures...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-11-09 16:05:21 0000</bug_when>
            <thetext>done</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2004-11-10 08:01:08 0000</bug_when>
            <thetext>SpanKY, sed -i &apos;s/maketest?/makecheck?/&apos; gdb-6.2.1-r1.ebuild</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-12-06 19:55:22 0000</bug_when>
            <thetext>yep, fixed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-01-09 13:30:39 0000</bug_when>
            <thetext>*** Bug 77221 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>42458</attachid>
            <date>2004-10-23 09:51 0000</date>
            <desc>gdb-6.2.1.ebuild.diff</desc>
            <filename>gdb-6.2.1.ebuild.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IGdkYi02LjIuMS5lYnVpbGQKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL3Zhci9jdnNyb290
L2dlbnRvby14ODYvc3lzLWRldmVsL2dkYi9nZGItNi4yLjEuZWJ1aWxkLHYKcmV0cmlldmluZyBy
ZXZpc2lvbiAxLjIKZGlmZiAtdSAtYiAtQ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