<?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>163687</bug_id>
          
          <creation_ts>2007-01-25 01:18 0000</creation_ts>
          <short_desc>app-forensics/aide wrong dependencies</short_desc>
          <delta_ts>2007-09-26 17:20:07 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>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>126694</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>meyerm@fs.tum.de</reporter>
          <assigned_to>matsuu@gentoo.org</assigned_to>
          <cc>forensics@gentoo.org</cc>
    
    <cc>jakub@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>meyerm@fs.tum.de</who>
            <bug_when>2007-01-25 01:18:04 0000</bug_when>
            <thetext>I&apos;ve just installed AIDE into a new small system out of a build-system. The libs gcrypt and mhash are installed into to build-system, but not the target-system.



Reproducible: Always

Steps to Reproduce:
1. ROOT=&quot;TARGETSYSTEM&quot; emerge aide

Actual Results:  
TARGET yavin ~ # ldd $(which aide)
        linux-gate.so.1 =&gt;  (0xb7f59000)
        libgcrypt.so.11 =&gt; not found
        libmhash.so.2 =&gt; not found
        libcrypt.so.1 =&gt; /lib/libcrypt.so.1 (0xb7f27000)
        libz.so.1 =&gt; /lib/libz.so.1 (0xb7f12000)
        libc.so.6 =&gt; /lib/tls/libc.so.6 (0xb7dd8000)
        /lib/ld-linux.so.2 (0xb7f5a000)



These are steps _after_ aide beeing installed only into the TARGET-system by using the ROOT=-mechanism.


BUILD yavin ~ # ROOT=&quot;/mnt/gentoo&quot; emerge -pv libgcrypt

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-libs/libgpg-error-1.0-r1 to /mnt/gentoo/ USE=&quot;-nls&quot; 0 kB
[ebuild  N    ] dev-libs/libgcrypt-1.2.2-r1 to /mnt/gentoo/ USE=&quot;-nls&quot; 0 kB

Total size of downloads: 0 kB
BUILD yavin ~ # emerge -pv libgcrypt

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/libgcrypt-1.2.2-r1  USE=&quot;-nls&quot; 0 kB

Total size of downloads: 0 kB</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-25 08:24:19 0000</bug_when>
            <thetext>The dependencies are pretty wrong, patch below:


--- aide-0.10_p20040917.ebuild	2007-01-24 04:35:36.000000000 +0100
+++ aide-0.10_p20040917.ebuild	2007-01-25 09:21:00.000000000 +0100
@@ -13,14 +13,17 @@
 KEYWORDS=&quot;x86 ppc sparc alpha amd64&quot;
 IUSE=&quot;nls postgres zlib crypt&quot;
 
-DEPEND=&quot;app-arch/gzip
-	sys-devel/bison
-	sys-devel/flex
-	app-crypt/mhash
+RDEPEND=&quot;app-crypt/mhash
+	nls? ( virtual/libintl )
 	crypt? ( dev-libs/libgcrypt )
 	postgres? ( dev-db/postgresql )
 	zlib? ( sys-libs/zlib )&quot;
-RDEPEND=&quot;nls? ( sys-devel/gettext )&quot;
+
+DEPEND=&quot;${RDEPEND}
+	nls? ( sys-devel/gettext )
+	sys-devel/bison
+	sys-devel/flex&quot;
+
 
 MY_PF=${PF%%_*}
 S=${WORKDIR}/${PN}
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2007-02-21 12:43:33 0000</bug_when>
            <thetext>k - i&apos;ve started to address this in bug 126694</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>matsuu@gentoo.org</who>
            <bug_when>2007-09-26 17:20:07 0000</bug_when>
            <thetext>0.13.1 in cvs.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>