I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details). Check the attached build log. Thanks, Diego
Created attachment 171814 [details] Build log
Should be fixed in 3.1.
Hashdeep seems to be still broken in 3.1: x86_64-pc-linux-gnu-gcc -O2 -march=athlon64 -msse3 -pipe -Wl,--as-needed -o hashdeep main.o audit.o match.o multihash.o display.o hashtable.o hash.o dig.o cycles.o ui.o helpers.o md5.o sha1.o sha256.o tiger.o whirlpool.o hash.o: In function `compute_hash': hash.c:(.text+0x1a7): undefined reference to `floor' collect2: ld returned 1 exit status make[2]: *** [hashdeep] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-crypt/md5deep-3.1/work/md5deep-3.1/hashdeep' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-crypt/md5deep-3.1/work/md5deep-3.1' make: *** [all] Error 2 The Makefile seems to be using some hashdeep_LDADD variable instead of the LDADD you fixed with your patch :/
Created attachment 174714 [details, diff] md5deep-3.1-as-needed.patch Maybe this?
Works, thanks!
Fixed, thanks.