clamav-0.83 fails to emerge if libidn is not installed. Reproducible: Always Steps to Reproduce: 1. emerge --unmerge net-dns/libidn 2. emerge app-antivirus/clamav Actual Results: emerging clamav fails: /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -g -O2 -march=pentium3 -funroll-loops -pipe -lnsl -o libclamav.la -rpath /usr/lib -thread-safe -version-info 1:8:0 -no-undefined matcher-ac.lo matcher-bm.lo matcher.lo md5.lo others.lo readdb.lo cvd.lo dsig.lo str.lo scanners.lo filetypes.lo unrarlib.lo zzip-dir.lo zzip-err.lo zzip-file.lo zzip-info.lo zzip-io.lo zzip-stat.lo zzip-zip.lo strc.lo blob.lo mbox.lo message.lo snprintf.lo strrcpy.lo table.lo text.lo ole2_extract.lo vba_extract.lo msexpand.lo pe.lo cabd.lo lzxd.lo mszipd.lo qtmd.lo system.lo upx.lo htmlnorm.lo chmunpack.lo rebuildpe.lo petite.lo fsg.lo line.lo untar.lo special.lo binhex.lo -lz -lbz2 -lgmp -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lpthread -lnslgrep: /usr/lib/libidn.la: No such file or directory sed: can't read /usr/lib/libidn.la: No such file or directory libtool: link: `/usr/lib/libidn.la' is not a valid libtool archive <standard make/emerge failures follow> This should probably be reported upstream -- the lack of the library should be caught at configure-time. Expected Results: I expect portage to obtain the libidn dependency, and clamav to be emerged successfully. I'll attach a fixed version of the ebuild.
Created attachment 53051 [details, diff] Patch the current clamav ebuild so that it pulls in the libidn dependency Tested to work: 1. emerge --unmerge net-dns/libidn 2. emerge app-antivirus/clamav (libidn and clamav both emerge successfully)
Fixed in CVS. I will report this upstream when I get back from class today. Thanks for reporting!
To be more verbose, I have fixed this in 0.82-r1 (latest stable x86) and in 0.83 (~x86).
Upstream claim that this is not a dependency of clamav.