Hello, When the CLAMAVUSER is set to a value other than the default, package creation fails. This is due to a missing image defined in plist, prefixed by %%CLAMAVUSER%%: %%PORTDOCS%%%%DOCSDIR%%/html/images/%%CLAMAVUSER%%-git-workflow.png replacing %%CLAMAVUSER%% with clamav should work, i.e. %%PORTDOCS%%%%DOCSDIR%%/html/images/clamav-git-workflow.png Poudriere error log below: (in my case CLAMAVUSER is set to "vscan", so the "missing" image is "vscan-git-workflow.png") =>> Building security/clamav-lts build started at Wed Sep 11 12:20:52 EEST 2024 port directory: /usr/ports/security/clamav-lts package name: clamav-lts-1.0.7_1,1 building for: FreeBSD pkg.pi-greece.eu 13.3-RELEASE FreeBSD 13.3-RELEASE amd64 maintained by: yasu@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 4479 Sep 10 11:00 /usr/ports/security/clamav-lts/Makefile Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1303001 Jail OSVERSION: 1303001 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1303001 UNAME_v=FreeBSD 13.3-RELEASE UNAME_r=13.3-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/megaserver133-default/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/megaserver133-default/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=megaserver133-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/megaserver133-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for clamav-lts-1.0.7_1,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=on: 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 ---End OPTIONS List--- --MAINTAINER-- yasu@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/security/clamav-lts/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/clamav-lts/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/clamav-lts/work/.cache HOME=/wrkdirs/usr/ports/security/clamav-lts/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/clamav-lts/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/clamav-lts/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- NINJA_STATUS="[%p %s/%t] " OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/clamav-lts/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/clamav-lts/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/clamav-lts/work/.cache HOME=/wrkdirs/usr/ports/security/clamav-lts/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/clamav-lts/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/clamav-lts/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/security/clamav-lts/work/stage PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- CLAMAVGROUP=vscan CLAMAVUSER=vscan DBDIR=/var/db/clamav LOGDIR=/var/log/clamav RUNDIR=/var/run/clamav PORTDOCS="" ARC="" NO_ARC="@comment " ARJ="" NO_ARJ="@comment " DOCS="" NO_DOCS="@comment " EXPERIMENTAL="@comment " NO_EXPERIMENTAL="" LHA="" NO_LHA="@comment " MILTER="@comment " NO_MILTER="" STDERR="@comment " NO_STDERR="" TESTS="@comment " NO_TESTS="" UNRAR="" NO_UNRAR="@comment " UNZOO="" NO_UNZOO="@comment " CMAKE_BUILD_TYPE="release" GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=13.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/clamav" EXAMPLESDIR="share/examples/clamav" DATADIR="share/clamav" WWWDIR="www/clamav" ETCDIR="etc/clamav" --End PLIST_SUB-- --SUB_LIST-- CHMOD=/bin/chmod CHOWN=/usr/sbin/chown CLAMAV_CLAMD_PIDFILE=/var/run/clamav/clamd.pid CLAMAV_CLAMD_SOCKET=/var/run/clamav/clamd.sock CLAMAV_MILTER_SOCKET=/var/run/clamav/clmilter.sock CLAMAVGROUP=vscan CLAMAVUSER=vscan DBDIR=/var/db/clamav LOGDIR=/var/log/clamav RUNDIR=/var/run/clamav ARC="" NO_ARC="@comment " ARJ="" NO_ARJ="@comment " DOCS="" NO_DOCS="@comment " EXPERIMENTAL="@comment " NO_EXPERIMENTAL="" LHA="" NO_LHA="@comment " MILTER="@comment " NO_MILTER="" STDERR="@comment " NO_STDERR="" TESTS="@comment " NO_TESTS="" UNRAR="" NO_UNRAR="@comment " UNZOO="" NO_UNZOO="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/clamav DOCSDIR=/usr/local/share/doc/clamav EXAMPLESDIR=/usr/local/share/examples/clamav WWWDIR=/usr/local/www/clamav ETCDIR=/usr/local/etc/clamav --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### WITH_BDB6_PERMITTED=yes DEFAULT_VERSIONS+=bdb=18 DEFAULT_VERSIONS+=ffmpeg=4 DEFAULT_VERSIONS+=mono=5.10 DEFAULT_VERSIONS+=php=81 OPTIONS_UNSET+= X11 DOXYGEN LICENSES_ACCEPTED+= DCC CLAMAVUSER=vscan CLAMAVGROUP=vscan _CLAMAVUSER=vscan _CLAMAVGROUP=vscan TRYBROKEN= yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 63680 open files (-n) 9000 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> clamav-lts-1.0.7_1,1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.21.3.pkg [pkg.pi-greece.eu] Installing pkg-1.21.3... [pkg.pi-greece.eu] Extracting pkg-1.21.3: .......... done ===> clamav-lts-1.0.7_1,1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of clamav-lts-1.0.7_1,1 =========================================================================== =======================<phase: fetch-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =======================<phase: fetch >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2 accepted by the user => clamav-1.0.7.tar.gz doesn't seem to exist in /portdistfiles/. => Attempting to fetch https://www.clamav.net/downloads/production/clamav-1.0.7.tar.gz clamav-1.0.7.tar.gz 48 MB 5215 kBps 10s ===> Fetching all distfiles required by clamav-lts-1.0.7_1,1 for building =========================================================================== =======================<phase: checksum >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by clamav-lts-1.0.7_1,1 for building => SHA256 Checksum OK for clamav-1.0.7.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =======================<phase: extract >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by clamav-lts-1.0.7_1,1 for building ===> Extracting for clamav-lts-1.0.7_1,1 => SHA256 Checksum OK for clamav-1.0.7.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =======================<phase: patch >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for clamav-lts-1.0.7_1,1 =========================================================================== =======================<phase: build-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> clamav-lts-1.0.7_1,1 depends on package: rust>=1.56.0 - not found ===> Installing existing package /packages/All/rust-1.81.0.pkg [pkg.pi-greece.eu] Installing rust-1.81.0... [pkg.pi-greece.eu] `-- Installing curl-8.9.1_1... [pkg.pi-greece.eu] | `-- Installing brotli-1.1.0,1... [pkg.pi-greece.eu] | `-- Extracting brotli-1.1.0,1: .......... done [pkg.pi-greece.eu] | `-- Installing libidn2-2.3.7... [pkg.pi-greece.eu] | | `-- Installing indexinfo-0.3.1... [pkg.pi-greece.eu] | | `-- Extracting indexinfo-0.3.1: .... done [pkg.pi-greece.eu] | | `-- Installing libunistring-1.2... [pkg.pi-greece.eu] | | `-- Extracting libunistring-1.2: .......... done [pkg.pi-greece.eu] | `-- Extracting libidn2-2.3.7: .......... done [pkg.pi-greece.eu] | `-- Installing libnghttp2-1.63.0... [pkg.pi-greece.eu] | `-- Extracting libnghttp2-1.63.0: .......... done [pkg.pi-greece.eu] | `-- Installing libssh-0.11.1... [pkg.pi-greece.eu] | `-- Extracting libssh-0.11.1: .......... done [pkg.pi-greece.eu] | `-- Installing zstd-1.5.6... [pkg.pi-greece.eu] | | `-- Installing liblz4-1.10.0,1... [pkg.pi-greece.eu] | | `-- Extracting liblz4-1.10.0,1: .......... done [pkg.pi-greece.eu] | `-- Extracting zstd-1.5.6: .......... done [pkg.pi-greece.eu] `-- Extracting curl-8.9.1_1: .......... done [pkg.pi-greece.eu] Extracting rust-1.81.0: .......... done ===> clamav-lts-1.0.7_1,1 depends on package: rust>=1.56.0 - found ===> Returning to build of clamav-lts-1.0.7_1,1 ===> clamav-lts-1.0.7_1,1 depends on file: /usr/local/bin/cmake - not found ===> Installing existing package /packages/All/cmake-core-3.30.3.pkg [pkg.pi-greece.eu] Installing cmake-core-3.30.3... [pkg.pi-greece.eu] `-- Installing expat-2.6.2... [pkg.pi-greece.eu] `-- Extracting expat-2.6.2: .......... done [pkg.pi-greece.eu] `-- Installing jsoncpp-1.9.5... [pkg.pi-greece.eu] `-- Extracting jsoncpp-1.9.5: .......... done [pkg.pi-greece.eu] `-- Installing libuv-1.48.0... [pkg.pi-greece.eu] `-- Extracting libuv-1.48.0: .......... done [pkg.pi-greece.eu] `-- Installing rhash-1.4.4_1... [pkg.pi-greece.eu] | `-- Installing gettext-runtime-0.22.5... [pkg.pi-greece.eu] | `-- Extracting gettext-runtime-0.22.5: .......... done [pkg.pi-greece.eu] `-- Extracting rhash-1.4.4_1: .......... done [pkg.pi-greece.eu] Extracting cmake-core-3.30.3: .......... done ===> clamav-lts-1.0.7_1,1 depends on file: /usr/local/bin/cmake - found ===> Returning to build of clamav-lts-1.0.7_1,1 ===> clamav-lts-1.0.7_1,1 depends on executable: ninja - not found ===> Installing existing package /packages/All/ninja-1.11.1,4.pkg [pkg.pi-greece.eu] Installing ninja-1.11.1,4... [pkg.pi-greece.eu] `-- Installing python311-3.11.9_1... [pkg.pi-greece.eu] | `-- Installing libffi-3.4.6... [pkg.pi-greece.eu] | `-- Extracting libffi-3.4.6: .......... done [pkg.pi-greece.eu] | `-- Installing mpdecimal-4.0.0... [pkg.pi-greece.eu] | `-- Extracting mpdecimal-4.0.0: .......... done [pkg.pi-greece.eu] | `-- Installing readline-8.2.13... [pkg.pi-greece.eu] | `-- Extracting readline-8.2.13: .......... done [pkg.pi-greece.eu] `-- Extracting python311-3.11.9_1: .......... done [pkg.pi-greece.eu] Extracting ninja-1.11.1,4: ........ done ===== Message from python311-3.11.9_1: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py311-gdbm databases/py-gdbm@py311 py311-sqlite3 databases/py-sqlite3@py311 py311-tkinter x11-toolkits/py-tkinter@py311 ===> clamav-lts-1.0.7_1,1 depends on executable: ninja - found ===> Returning to build of clamav-lts-1.0.7_1,1 ===> clamav-lts-1.0.7_1,1 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-2.3.0,1.pkg [pkg.pi-greece.eu] Installing pkgconf-2.3.0,1... [pkg.pi-greece.eu] Extracting pkgconf-2.3.0,1: .......... done ===> clamav-lts-1.0.7_1,1 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of clamav-lts-1.0.7_1,1 ===> clamav-lts-1.0.7_1,1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_7.pkg [pkg.pi-greece.eu] Installing ccache-3.7.12_7... [pkg.pi-greece.eu] Extracting ccache-3.7.12_7: .......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_7: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> clamav-lts-1.0.7_1,1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of clamav-lts-1.0.7_1,1 =========================================================================== =======================<phase: lib-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> clamav-lts-1.0.7_1,1 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> clamav-lts-1.0.7_1,1 depends on shared library: libjson-c.so - not found ===> Installing existing package /packages/All/json-c-0.17.pkg [pkg.pi-greece.eu] Installing json-c-0.17... [pkg.pi-greece.eu] Extracting json-c-0.17: .......... done ===> clamav-lts-1.0.7_1,1 depends on shared library: libjson-c.so - found (/usr/local/lib/libjson-c.so) ===> Returning to build of clamav-lts-1.0.7_1,1 ===> clamav-lts-1.0.7_1,1 depends on shared library: libmspack.so - not found ===> Installing existing package /packages/All/libmspack-0.11alpha.pkg [pkg.pi-greece.eu] Installing libmspack-0.11alpha... [pkg.pi-greece.eu] Extracting libmspack-0.11alpha: ......... done ===> clamav-lts-1.0.7_1,1 depends on shared library: libmspack.so - found (/usr/local/lib/libmspack.so) ===> Returning to build of clamav-lts-1.0.7_1,1 ===> clamav-lts-1.0.7_1,1 depends on shared library: libpcre2-8.so - not found ===> Installing existing package /packages/All/pcre2-10.43.pkg [pkg.pi-greece.eu] Installing pcre2-10.43... [pkg.pi-greece.eu] `-- Installing libedit-3.1.20240808,1... [pkg.pi-greece.eu] `-- Extracting libedit-3.1.20240808,1: .......... done [pkg.pi-greece.eu] Extracting pcre2-10.43: .......... done ===> clamav-lts-1.0.7_1,1 depends on shared library: libpcre2-8.so - found (/usr/local/lib/libpcre2-8.so) ===> Returning to build of clamav-lts-1.0.7_1,1 ===> clamav-lts-1.0.7_1,1 depends on shared library: libxml2.so - not found ===> Installing existing package /packages/All/libxml2-2.11.8.pkg [pkg.pi-greece.eu] Installing libxml2-2.11.8... [pkg.pi-greece.eu] `-- Installing icu-74.2_1,1... [pkg.pi-greece.eu] `-- Extracting icu-74.2_1,1: .......... done [pkg.pi-greece.eu] Extracting libxml2-2.11.8: .......... done ===> clamav-lts-1.0.7_1,1 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so) ===> Returning to build of clamav-lts-1.0.7_1,1 =========================================================================== =======================<phase: configure >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for clamav-lts-1.0.7_1,1 ===> Performing out-of-source build /bin/mkdir -p /wrkdirs/usr/ports/security/clamav-lts/work/.build -- The C compiler identification is Clang 17.0.6 -- The CXX compiler identification is Clang 17.0.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/local/libexec/ccache/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/local/libexec/ccache/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Rust tool `cargo` found: /usr/local/bin/cargo, 1.81.0 -- Rust tool `rustc` found: /usr/local/bin/rustc, 1.81.0 -- Rust tool `rustup` not found. -- Rust tool `rust-gdb` not found: Failed to determine version. -- Rust tool `rust-lldb` found: /usr/local/bin/rust-lldb, 17.0.6 -- Rust tool `rustdoc` found: /usr/local/bin/rustdoc, 1.81.0 -- Rust tool `rustfmt` found: /usr/local/bin/rustfmt, 1.7.1 -- Rust tool `bindgen` not found. -- Rust's native static libs: -lexecinfo;-lpthread;-lgcc_s;-lc;-lm;-lrt;-lpthread;-lrt;-lutil;-lexecinfo;-lkvm;-lmemstat;-lkvm;-lutil;-lprocstat;-lrt;-ldevstat -- Found Rust: /usr/local/bin/cargo (found version "1.81.0") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1w") -- Found ZLIB: /usr/lib/libz.so (found version "1.3.1") -- Found BZip2: /usr/lib/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found LibXml2: /usr/local/lib/libxml2.so (found version "2.11.8") -- Found PCRE2: /usr/local/lib/libpcre2-8.so -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Success -- Found Iconv: /usr/lib/libc.so -- Found JSONC: /usr/local/lib/libjson-c.so -- Found CURL: /usr/local/lib/libcurl.so (found version "8.9.1") -- Found CURSES: /usr/lib/libncurses.so -- Performing Test CXX_FLAG__std_c_14 -- Performing Test CXX_FLAG__std_c_14 - Success -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for grp.h -- Looking for grp.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for poll.h -- Looking for poll.h - found -- Looking for pwd.h -- Looking for pwd.h - found -- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for sys/cdefs.h -- Looking for sys/cdefs.h - found -- Looking for sys/dl.h -- Looking for sys/dl.h - not found -- Looking for sys/fileio.h -- Looking for sys/fileio.h - not found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/queue.h -- Looking for sys/queue.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/times.h -- Looking for sys/times.h - found -- Looking for sys/uio.h -- Looking for sys/uio.h - found -- Looking for syslog.h -- Looking for syslog.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for sys/fanotify.h -- Looking for sys/fanotify.h - not found -- Looking for resolv.h -- Looking for resolv.h - found -- Looking for dirent.h -- Looking for dirent.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for sys/inttypes.h -- Looking for sys/inttypes.h - not found -- Looking for sys/int_types.h -- Looking for sys/int_types.h - not found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of ssize_t -- Check size of ssize_t - done -- Check size of off_t -- Check size of off_t - done -- Check size of int -- Check size of int - done -- Check size of short -- Check size of short - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Performing Test HAVE_RESTRICT -- Performing Test HAVE_RESTRICT - Success -- Performing Test HAVE_ATTRIB_PACKED -- Performing Test HAVE_ATTRIB_PACKED - Success -- Performing Test HAVE_ATTRIB_ALIGNED -- Performing Test HAVE_ATTRIB_ALIGNED - Success -- Performing Test HAVE_SYSTEM_LFS_FTS -- Performing Test HAVE_SYSTEM_LFS_FTS - Success -- Looking for recvmsg -- Looking for recvmsg - found -- Looking for sendmsg -- Looking for sendmsg - found -- Performing Test HAVE_CONTROL_IN_MSGHDR -- Performing Test HAVE_CONTROL_IN_MSGHDR - Success -- Performing Test HAVE_STRUCT_TM_TM_GMTOFF -- Performing Test HAVE_STRUCT_TM_TM_GMTOFF - Success -- Check size of int * -- Check size of int * - done -- Check size of time_t -- Check size of time_t - done -- Looking for _Exit -- Looking for _Exit - found -- Looking for accept4 -- Looking for accept4 - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for stat64 -- Looking for stat64 - not found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strlcat -- Looking for strlcat - found -- Looking for strlcpy -- Looking for strlcpy - found -- Looking for strndup -- Looking for strndup - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for strnstr -- Looking for strnstr - found -- Looking for sysctlbyname -- Looking for sysctlbyname - not found -- Looking for timegm -- Looking for timegm - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for fseeko -- Looking for fseeko - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for poll -- Looking for poll - found -- Looking for setgroups -- Looking for setgroups - found -- Looking for setsid -- Looking for setsid - found -- Looking for initgroups -- Looking for initgroups - not found -- Looking for initgroups -- Looking for initgroups - found -- Performing Test C_FLAG__Wall -- Performing Test C_FLAG__Wall - Success -- Performing Test C_FLAG__Wextra -- Performing Test C_FLAG__Wextra - Success -- Performing Test C_FLAG__Wformat_security -- Performing Test C_FLAG__Wformat_security - Success -- Performing Test CXX_FLAG__Wall -- Performing Test CXX_FLAG__Wall - Success -- Performing Test CXX_FLAG__Wformat_security -- Performing Test CXX_FLAG__Wformat_security - Success -- Performing Test CXX_FLAG__Wno_comment -- Performing Test CXX_FLAG__Wno_comment - Success -- Performing Test HAVE_MMAP -- Performing Test HAVE_MMAP - Success -- Performing Test HAVE_MMAP_MAP_ANONYMOUS -- Performing Test HAVE_MMAP_MAP_ANONYMOUS - Success -- Performing Test HAVE_SYSCONF_SC_PAGESIZE -- Performing Test HAVE_SYSCONF_SC_PAGESIZE - Success -- Found MSPack: /usr/local/lib/libmspack.so -- [1;33mConfiguration Options Summary[m -- [36m Package Version: [mClamAV 1.0.7 [36m libclamav version: [m11:0:0 [36m libfreshclam version: [m2:2:0 [36m Install prefix: [m/usr/local [36m Install database dir: [m/var/db/clamav [36m Install config dir: [m/usr/local/etc [36m Host system: [mFreeBSD-13.3-RELEASE [36m Target system: [mFreeBSD-13.3-RELEASE [36m Compiler: [m [34m Build type: [mRelease [34m C compiler: [m/usr/local/libexec/ccache/cc [34m C++ compiler: [m/usr/local/libexec/ccache/c++ [34m Rust toolchain: [m/usr/local/bin/cargo (1.81.0) [34m CFLAGS: [m-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing [34m CXXFLAGS: [m-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG [34m WARNCFLAGS: [m -Wall -Wextra -Wformat-security [36m Build Options: [m [34m Build apps: [mON [34m Shared library: [mON [34m Static library: [mOFF [34m Enable UnRAR: [mtrue [34m Examples: [mOFF [34m Tests: [mfalse [34m Build man pages: [mON [34m Build doxygen HTML: [mOFF [34m Maintainer Mode: [mOFF [36m Build Extras: [m [34m Build milter: [mfalse (toggle with -DENABLE_MILTER=ON/OFF) -- [1;36mEngine Options[m -- [34m Bytecode Runtime: [m interpreter [m -- [1;36mlibclamav Dependencies[m -- [34m Compression support:[m bzip2 [m/usr/include [m/usr/lib/libbz2.so zlib [m/usr/include [m/usr/lib/libz.so [34m XML support: [m libxml2 [m/usr/local/include/libxml2;/usr/local/include/libxml2 [m/usr/local/lib/libxml2.so [34m RegEx support: [m libpcre2 [m/usr/local/include [m/usr/local/lib/libpcre2-8.so [34m Crypto support: [m openssl [m/usr/include [m/usr/lib/libssl.so;/usr/lib/libcrypto.so [34m JSON support: [m json-c [m/usr/local/include/json-c [m/usr/local/lib/libjson-c.so [34m Threading support: [m pthread [m [34m Locale support: [m iconv [m/usr/include [m/usr/lib/libc.so -- [1;36mlibfreshclam Extra Dependencies[m -- [34m HTTP support: [m curl [m/usr/local/include [m/usr/local/lib/libcurl.so -- [1;36mApplication Extra Dependencies[m -- [34m GUI support: [m ncurses [m/usr/include [m/usr/lib/libncurses.so -- [32mWarning:[m libjson-c is known to share symbol names with other JSON libraries which may result in crashes for applications that use libclamav. Consider providing a static json-c library that was compiled with: CFLAGS="-fPIC". Default build settings for json-c 0.15+ should also work. Use the `-DENABLE_JSON_SHARED=OFF` option to prefer detection of the static library, or use -DJSONC_INCLUDE_DIR and -DJSONC_LIBRARY to specify the static JSON library. -- Configuring done (58.4s) -- Generating done (0.2s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_COLOR_MAKEFILE CMAKE_MODULE_LINKER_FLAGS CMAKE_VERBOSE_MAKEFILE FETCHCONTENT_FULLY_DISCONNECTED ICONV_INCLUDE_DIR ICONV_LIBRARIES ICONV_LIBRARY LIBICONV_INCLUDE_DIR LIBICONV_LIBRARIES LIBICONV_LIBRARY -- Build files have been written to: /wrkdirs/usr/ports/security/clamav-lts/work/.build =========================================================================== =======================<phase: build >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for clamav-lts-1.0.7_1,1 ... truncating as build completes successfully ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =======================<phase: package >============================ ===== env: 'PKG_NOTES=build_timestamp built_by' 'PKG_NOTE_build_timestamp=2024-09-11T09:20:52+0000' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for clamav-lts-1.0.7_1,1 ===> Building clamav-lts-1.0.7_1,1 pkg-static: Unable to access file /wrkdirs/usr/ports/security/clamav-lts/work/stage/usr/local/share/doc/clamav/html/images/vscan-git-workflow.png:No such file or directory *** Error code 1 Stop. make: stopped in /usr/ports/security/clamav-lts =>> Cleaning up wrkdir ===> Cleaning for clamav-lts-1.0.7_1,1 build of security/clamav-lts | clamav-lts-1.0.7_1,1 ended at Wed Sep 11 12:28:03 EEST 2024 build time: 00:07:26 !!! build failure encountered !!!
(In reply to Yani Karydis from comment #0) Thanks for bug report. BTW why do you want to change the value of _CLAMAVUSER?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=af9d47a8c45c385fca1d54920b80c7953c5bb0f9 commit af9d47a8c45c385fca1d54920b80c7953c5bb0f9 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2024-09-13 00:25:40 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2024-09-13 01:27:48 +0000 security/clamav-lts: Fix plist errror with non-default _CLAMAVUSER value PR: 281436 Reported by: Yani Karydis Fixes: d88a21e41bab security/clamav-lts: Update to 1.0.7 MFH: 2024Q3 security/clamav-lts/pkg-plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb0b6dee9df585cfc527eea8f21159c860ea2f39 commit fb0b6dee9df585cfc527eea8f21159c860ea2f39 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2024-09-13 00:25:40 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2024-09-13 01:30:32 +0000 security/clamav-lts: Fix plist errror with non-default _CLAMAVUSER value PR: 281436 Reported by: Yani Karydis Fixes: d88a21e41bab security/clamav-lts: Update to 1.0.7 MFH: 2024Q3 (cherry picked from commit af9d47a8c45c385fca1d54920b80c7953c5bb0f9) security/clamav-lts/pkg-plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2a5b3f73563e633fb5e3e699a25008737504fdc9 commit 2a5b3f73563e633fb5e3e699a25008737504fdc9 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2024-09-13 01:23:13 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2024-09-13 01:30:54 +0000 security/clamav: Fix plist errror with non-default _CLAMAVUSER value This is direct commit to 2024Q3 branch. PR: 281436 Reported by: Yani Karydis Approved by: portmgr (just fix it) Fixes: 7e4d2f80e313 security/clamav: Update to 1.3.2 security/clamav/pkg-plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fixed with ports af9d47a8c45c, ports fb0b6dee9df5 and ports 2a5b3f73563e. Thanks!