Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84700 - clamav-0.83 missing dependency on libidn
Summary: clamav-0.83 missing dependency on libidn
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-09 20:53 UTC by Travis Snoozy
Modified: 2005-05-14 11:14 UTC (History)
1 user (show)

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


Attachments
Patch the current clamav ebuild so that it pulls in the libidn dependency (clamav-0.83.ebuild.patch,464 bytes, patch)
2005-03-09 20:59 UTC, Travis Snoozy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Snoozy 2005-03-09 20:53:13 UTC
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.
Comment 1 Travis Snoozy 2005-03-09 20:59:44 UTC
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)
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2005-03-10 06:42:50 UTC
Fixed in CVS.

I will report this upstream when I get back from class today. Thanks for reporting!
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-03-10 06:43:53 UTC
To be more verbose, I have fixed this in 0.82-r1 (latest stable x86) and in 0.83 (~x86).
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2005-05-14 11:14:48 UTC
Upstream claim that this is not a dependency of clamav.