leftovers in poudriere checks

abi <[email protected]> Sun, 26 Jul 2026 10:38:25 +0300
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Hi,

I'm updating [1] multimedia/zoneminder port and have strange issue 
during poudriere build

=======================<phase: deinstall >============================
<snip>
===========================================================================
=>> Checking for extra files and directories
=>> Error: Files or directories left over:
@dir /var/db/zoneminder
build of multimedia/zoneminder | zoneminder-php84-1.38.3 ended at Sun 
Jul 26 07:12:08 UTC 2026
build time: 00:05:29
!!! build failure encountered !!!
[00:05:41] Error: Build failed in phase: leftovers

At first, I thought it is a plist issue, but no, plist checks are fine.

  Directory in question is created by port itself:

pre-install:
     ${MKDIR} ${STAGEDIR}${WWWDIR}/temp \
          ${STAGEDIR}${WWWDIR}/api/app/tmp \
          ${STAGEDIR}/var/cache/zoneminder \
          ${STAGEDIR}/var/db/zoneminder/events \
          ${STAGEDIR}/var/log/zm \
          ${STAGEDIR}/var/run/zm \
          ${STAGEDIR}/var/tmp/zm

and registered

@dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/api/app/tmp
@dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/temp
@dir(%%WWWOWN%%,%%WWWGRP%%,) /var/cache/zoneminder
@dir(%%WWWOWN%%,%%WWWGRP%%,) /var/db/zoneminder
@dir(%%WWWOWN%%,%%WWWGRP%%,) /var/db/zoneminder/events
@dir(%%WWWOWN%%,%%WWWGRP%%,) /var/log/zm
@dir(%%WWWOWN%%,%%WWWGRP%%,) /var/run/zm
@dir(%%WWWOWN%%,%%WWWGRP%%,) /var/tmp/zm

I didn't touch this part of the port entirely and suspecting that 
something else has changed (I've updated poudriere version and build box 
itself). portlint is green.

Any hints? I have no ideas left what can be wrong.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296995