Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174787 - app-antivirus/clamav-0.90.2 fails to compile with USE="milter"
Summary: app-antivirus/clamav-0.90.2 fails to compile with USE="milter"
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Antivirus Team
Depends on:
Reported: 2007-04-16 11:52 UTC by Philipp Riegger
Modified: 2007-06-01 14:07 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Riegger 2007-04-16 11:52:01 UTC
Error message:
Making all in clamav-milter
clamav-milter.c: In function 'main':
clamav-milter.c:670: error: 'LC_ALL' undeclared (first use in this function)
clamav-milter.c:670: error: (Each undeclared identifier is reported only once
clamav-milter.c:670: error: for each function it appears in.)
clamav-milter.c: In function 'clamfi_connect':
clamav-milter.c:2492: warning: passing argument 1 of 'hosts_ctl' discards qualifiers from pointer target type
clamav-milter.c: In function 'clamfi_eom':
clamav-milter.c:3508: warning: passing argument 2 of 'smfi_addrcpt' discards qualifiers from pointer target type
clamav-milter.c:3549: warning: passing argument 2 of 'smfi_addrcpt' discards qualifiers from pointer target type
make[2]: *** [clamav-milter.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: app-antivirus/clamav-0.90.2 failed.
Call stack:, line 1614:   Called dyn_compile, line 971:   Called qa_call 'src_compile', line 44:   Called src_compile
  clamav-0.90.2.ebuild, line 75:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/app-antivirus:clamav-0.90.2:20070416-114325.log'.

[ebuild     U ] app-antivirus/clamav-0.90.2 [0.90] USE="bzip2 crypt logrotate milter selinux -curl -mailwrapper -nls%" 0 kB
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2007-04-16 13:31:59 UTC
Does it work with USE=nls ?
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2007-04-16 13:44:16 UTC
Ah, I can see the problem. Looks like I missed an #ifdef in the nls patch. Fixed in CVS, please allow few hours for the patch to propagate and try again - there shouldn't be any more issues. Alternately, you can just fetch the updated patch from right now.

Sorry about this.
Comment 3 Philipp Riegger 2007-06-01 14:07:56 UTC
System seems to have been i a strange state. Works now, with USE="milter -nls".