security/clamav

From: Janos Dohanics <web_at_3dresearch.com>
Date: Mon, 12 Dec 2022 13:02:20 UTC
Hello,

Updating security/clamav fails apparently because of missing files:

[...]
--->  Uninstallation of clamav-0.104.2,1 ended at: Mon, 12 Dec 2022 07:52:37 -0500 (consumed 00:00:05)
--->  Installation of security/clamav started at: Mon, 12 Dec 2022 07:52:37 -0500
--->  Installing the new version via the port
===>  Deinstalling for clamav
===>   clamav not installed, skipping
===>  Installing for clamav-1.0.0,1
===>  Checking if clamav is already installed
===>   Registering installation for clamav-1.0.0,1
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man1/clambc.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man1/clamconf.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man1/clamdscan.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man1/clamdtop.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man1/clamscan.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man1/clamsubmit.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man1/freshclam.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man1/sigtool.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man5/clamav-milter.conf.5.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man5/clamd.conf.5.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man5/freshclam.conf.5.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man8/clamav-milter.8.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/security/clamav/work/stage/usr/local/share/man/man8/clamd.8.gz:No such file or directory
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/security/clamav
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/clamav
*** Error code 1

Stop.
make: stopped in /usr/ports/security/clamav
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20221212-28454-4b8mdb env UPGRADE_TOOL=portupgrade UPGRADE_PORT=clamav-0.104.2,1 UPGRADE_PORT_VER=0.104.2,1 make reinstall
--->  Updating dependency info
--->  Restoring the old version
Installing clamav-0.104.2,1...
===> Creating groups.
Using existing group 'clamav'.
Using existing group 'mail'.
===> Creating users
Using existing user 'clamav'.
Extracting clamav-0.104.2,1: 100%
--->  Removing old package'
** Fix the installation problem and try again.
--->  Installation of security/clamav ended at: Mon, 12 Dec 2022 07:52:40 -0500 (consumed 00:00:02)
--->  Upgrade of security/clamav ended at: Mon, 12 Dec 2022 07:52:40 -0500 (consumed 00:01:39)
--->  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
	! security/clamav (clamav-0.104.2,1)	(install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Session ended at: Mon, 12 Dec 2022 07:52:40 -0500 (consumed 00:01:44)

# make showconfig
===> The following configuration options are available for clamav-1.0.0,1:
     ARC=on: Enable arch archives support
     ARJ=on: Enable arj archives support
     DOCS=on: Build and/or install documentation
     EXPERIMENTAL=off: Build experimental code
     LHA=off: Enable lha archives support
     MILTER=off: Compile the milter interface
     STDERR=off: Print logs to stderr instead of stdout
     TESTS=off: Build with test enabled (`make test` requires it)
     UNRAR=on: RAR decompression support
     UNZOO=on: Enable zoo archives support
===> Use 'make config' to modify these settings

The system is FreeBSD 12.4-STABLE r372806.

Would you please advise?

-- 
Janos Dohanics