Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679314 - net-proxy/havp-0.92a-r2 with app-antivirus/clamav-0.101.0 - /usr/include/clamav.h:68:10: Error: cltypes.h: no such file or directory
Summary: net-proxy/havp-0.92a-r2 with app-antivirus/clamav-0.101.0 - /usr/include/clam...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PATCH
Depends on:
Reported: 2019-03-03 11:31 UTC by Carsten Böcker
Modified: 2021-04-07 20:10 UTC (History)
1 user (show)

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

havp-0.93.ebuild (havp-0.93.ebuild,1.76 KB, text/plain)
2019-03-03 11:31 UTC, Carsten Böcker
pkg-config-libclamav.patch (havp-0.93-pkg-config-libclamav.patch,1.47 KB, patch)
2019-03-03 11:31 UTC, Carsten Böcker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Böcker 2019-03-03 11:31:11 UTC
Created attachment 567566 [details]

After upgrade clamav to clamav-0.101.0 today compile of havp-0.92a-r2 failed with 

/usr/include/clamav.h:68:10: schwerwiegender Fehler: cltypes.h: Datei oder Verzeichnis nicht gefunden
 #include "cltypes.h"

(sorry for german error-message, means error: cltypes.h not found, unable to reproduce this build with LANG=C)

There is a post on clamav-blog about cltypes.h:

Only bug I could find related is:

Solution is to add
=app-antivirus/clamav-0.101.1 ~amd64

to package.keywords

havp still fails to build but with different error in clamlibscanner.cpp.

But there is a new version havp-0.93 on new website also mentioned on

ebuild of 0.93 is mainly copying havp-0.92a-r2, fixing SRC_URI to
and fixing 
${P}-pkg-config-libclamav.patch in line 52 from
-   AC_DEFINE(USECLAMLIB, 1, [Have clamav scanner])

after that havp 0.93 compiles without errors and eicar-text succeeds.

I will try to attach pkg-config-libclamav.patch and havp ebuild (if there is no timeout again).
Comment 1 Carsten Böcker 2019-03-03 11:31:57 UTC
Created attachment 567568 [details, diff]
Comment 2 Thomas Raschbacher gentoo-dev 2021-04-07 20:10:41 UTC
just fyi in case someone wants to take this package this compiled fine with current clamav .. also there is a version 0.93 out which can compile without the patch it seems, but didn't test it as i do not need the proxy and setup is a bit of a pain.