Created attachment 745182 [details] buildlog /var/tmp/portage/app-antivirus/clamav-0.104.0/image/etc/clamav/clamd.conf: No such file or directory
Can reproduce.
I have the same problem on 2 different installation
I managed to both have it build and install with USE=clamapp -doc.
Encountered same and reported in forums here: https://forums.gentoo.org/viewtopic-p-8668158.html That the clampp USE flag causes the process to complete tells me that the USE flag logic was not properly extended to the install phase to limit what files to move to final install directory during emerge. Documentation of package here (https://packages.gentoo.org/packages/app-antivirus/clamav) does not exactly explain what flag does or why it is important.
(In reply to Scott Furry from comment #4) > Encountered same and reported in forums here: > https://forums.gentoo.org/viewtopic-p-8668158.html > > That the clampp USE flag causes the process to complete tells me that the > USE flag logic was not properly extended to the install phase to limit what > files to move to final install directory during emerge. > > Documentation of package here > (https://packages.gentoo.org/packages/app-antivirus/clamav) does not exactly > explain what flag does or why it is important. Mousing over 'clamapp' does give a meaningful description here: <flag name="clamapp"> Build applications (clamscan, clamd, clamdscan, clamonacc (also has its own USE flag), sigtool, clambc, clamav-milter (also requires milter USE flag), clamdtop, clamsubmit, clamconf). </flag>
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51e1085b4e7aabda7dfe098e4b7bb25108c81033 commit 51e1085b4e7aabda7dfe098e4b7bb25108c81033 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-17 02:10:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-17 02:11:40 +0000 app-antivirus/clamav: fix installation based on USE=clamapp Some files only exist with USE=clamapp. We also enable clamapp by default as it aligns with expectations. Closes: https://bugs.gentoo.org/818484 Signed-off-by: Sam James <sam@gentoo.org> app-antivirus/clamav/clamav-0.104.0.ebuild | 88 +++++++++++++++--------------- app-antivirus/clamav/metadata.xml | 4 +- 2 files changed, 48 insertions(+), 44 deletions(-)