On Fri, May 08, 2009 at 03:08:53PM +0300, Niko Tyni wrote: > On Sun, Jan 20, 2008 at 02:21:51PM +0100, Norbert Tretkowski wrote: > > Package: heartbeat > > Severity: wishlist > > > > When building 2.1.3-2 (same with 2.1.3-1) on etch (amd64) I get lots of > > these errors: > > > > dh_movefiles: debian/tmp/usr/lib/heartbeat/BasicSanityCheck not found > > (supposed to put it in heartbeat) > > dh_movefiles: debian/tmp/usr/lib/heartbeat/ResourceManager not found > > (supposed to put it in heartbeat) > > [...] > > > > But all these files are available in debian/tmp/usr/lib64/heartbeat. > > I'm seeing this when building a slightly modified 2.1.3-6lenny1 on > lenny inside a lenny cowbuilder chroot. > > Maybe building arch-indep packages on amd64 triggers this?
Turns out that was a bad guess. My case is specific to cowbuilder: /usr/lib/cowdancer/libcowdancer.so matches "libc". Here's a crude patch that fixes it here with the lenny version (after re-running autoconf, of course.) Norbert, can you recall if you were using cowbuilder too or if you're hitting another issue? -- Niko Tyni nt...@debian.org
diff --git a/configure.in b/configure.in index b58afa0..7c2172a 100644 --- a/configure.in +++ b/configure.in @@ -261,7 +261,7 @@ echo 'int main(int argc, char** argv) { return(1);}' >$tmpCfile if ${CC} ${CFLAGS} ${tmpCfile} -o ${tmpOutfile} then - LIBC=`${LDD} ${tmpOutfile} | grep libc | sed -e 's%.*=> *%%' -e 's% .*$%%'` + LIBC=`${LDD} ${tmpOutfile} | grep -w libc |head -1 | sed -e 's%.*=> *%%' -e 's% .*$%%'` LibCdir=`dirname $LIBC` dirlist=`echo $LibCdir | tr '/' ' '` LibDirSuffix=unknown