Created attachment 592670 [details] app-antivirus:clamav-0.102.0:20191014-053151.log make[2]: Entering directory '/var/tmp/portage/app-antivirus/clamav-0.102.0/work/clamav-0.102.0' /bin/mkdir -p '/var/tmp/portage/app-antivirus/clamav-0.102.0/image//usr/bin' /bin/mkdir -p '/var/tmp/portage/app-antivirus/clamav-0.102.0/image//usr/include' /bin/mkdir -p '/var/tmp/portage/app-antivirus/clamav-0.102.0/image//usr/lib/pkgconfig' /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c -m 644 clamav-types.h clamav-version.h '/var/tmp/portage/app-antivirus/clamav-0.102.0/image//usr/include' /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c clamav-config '/var/tmp/portage/app-antivirus/clamav-0.102.0/image//usr/bin' /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c -m 644 libclamav.pc '/var/tmp/portage/app-antivirus/clamav-0.102.0/image//usr/lib/pkgconfig' make[2]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.102.0/work/clamav-0.102.0' make[1]: Leaving directory '/var/tmp/portage/app-antivirus/clamav-0.102.0/work/clamav-0.102.0' sed: can't read /var/tmp/portage/app-antivirus/clamav-0.102.0/image//etc/clamav-milter.conf.sample: No such file or directory * ERROR: app-antivirus/clamav-0.102.0::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_install * environment, line 3307: Called die
Hit by this error too. If the milter USE flag is enabled, I get this error because clamav-milter.conf.sample is not installed (exists in the work directory, does not exist in the image directory). Disabling the milter USE flag skips this error, but does not install clamav-milter.
hmm odd.. I will have a look later.. seems like I forgot to test- install with USE=milter . sorry for that. seems like it'd just be a simple copy, but I won'T have access to my dev box until later.
(In reply to Thomas Raschbacher from comment #2) > hmm odd.. I will have a look later.. seems like I forgot to test- install > with USE=milter . sorry for that. seems like it'd just be a simple copy, but > I won'T have access to my dev box until later. I attached a patch to bug #697686 that should also fix this bug.
It's more than just a missing config file, https://lists.clamav.net/pipermail/clamav-users/2019-October/008626.html Caused by https://github.com/Cisco-Talos/clamav-devel/commit/4ea891db60653946b0c48f619e41b8896a247403 (such a change between last RC and final release...). Incoming mask...
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c11a26b40aaecab5dd7f5f497ebec1711ee36df5 commit c11a26b40aaecab5dd7f5f497ebec1711ee36df5 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-10-17 18:47:36 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-10-17 18:50:39 +0000 package.mask: Mask ~app-antivirus/clamav-0.102.0 Link: https://lists.clamav.net/pipermail/clamav-users/2019-October/008626.html Bug: https://bugs.gentoo.org/697688 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> profiles/package.mask | 4 ++++ 1 file changed, 4 insertions(+)
I also noticed, that 0.102's configure doesn't find fanotify and libjson-c-dev (disables clamsubmit), while 0.101.4 correctly detects these.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bed854e02879dce0dd783dafb9ab175eb7ca443 commit 0bed854e02879dce0dd783dafb9ab175eb7ca443 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2019-11-25 03:02:23 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2019-11-25 03:54:20 +0000 app-antivirus/clamav: new version 0.102.1. This new version fixes some major problems in the last one. The milter isn't totally busted, a DoS was patched (CVE-2019-15961), we don't need to patch the build system to detect libxml2, and fanotify should now be found when it's there. I've also tweaked the documentation location so that we don't wind up with nested "html" directories, and stopped USE="-metadata-analysis-api" from clobbering USE="clamsubmit" in the ebuild. The mailing list reports that there are still intermittent test failures and a ./configure bug, but this one might actually be usable. Closes: https://bugs.gentoo.org/697686 Closes: https://bugs.gentoo.org/697688 Closes: https://bugs.gentoo.org/701094 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> app-antivirus/clamav/Manifest | 2 +- ...mav-0.102.0-r2.ebuild => clamav-0.102.1.ebuild} | 13 +-- .../files/clamav-0.102.0-libxml2_pkgconfig.patch | 101 --------------------- 3 files changed, 5 insertions(+), 111 deletions(-)