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
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}