Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163687 - app-forensics/aide wrong dependencies
Summary: app-forensics/aide wrong dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 126694
Blocks:
  Show dependency tree
 
Reported: 2007-01-25 01:18 UTC by meyerm
Modified: 2007-09-26 17:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description meyerm 2007-01-25 01:18:04 UTC
I'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="TARGETSYSTEM" emerge aide

Actual Results:  
TARGET yavin ~ # ldd $(which aide)
        linux-gate.so.1 =>  (0xb7f59000)
        libgcrypt.so.11 => not found
        libmhash.so.2 => not found
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f27000)
        libz.so.1 => /lib/libz.so.1 (0xb7f12000)
        libc.so.6 => /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="/mnt/gentoo" 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="-nls" 0 kB
[ebuild  N    ] dev-libs/libgcrypt-1.2.2-r1 to /mnt/gentoo/ USE="-nls" 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="-nls" 0 kB

Total size of downloads: 0 kB
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-25 08:24:19 UTC
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="x86 ppc sparc alpha amd64"
 IUSE="nls postgres zlib crypt"
 
-DEPEND="app-arch/gzip
-	sys-devel/bison
-	sys-devel/flex
-	app-crypt/mhash
+RDEPEND="app-crypt/mhash
+	nls? ( virtual/libintl )
 	crypt? ( dev-libs/libgcrypt )
 	postgres? ( dev-db/postgresql )
 	zlib? ( sys-libs/zlib )"
-RDEPEND="nls? ( sys-devel/gettext )"
+
+DEPEND="${RDEPEND}
+	nls? ( sys-devel/gettext )
+	sys-devel/bison
+	sys-devel/flex"
+
 
 MY_PF=${PF%%_*}
 S=${WORKDIR}/${PN}
Comment 2 Daniel Black (RETIRED) gentoo-dev 2007-02-21 12:43:33 UTC
k - i've started to address this in bug 126694
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2007-09-26 17:20:07 UTC
0.13.1 in cvs.