• Re: leftovers in poudriere checks

    From Gleb Popov@arrowd@freebsd.org to muc.lists.freebsd.ports on Sun Jul 26 10:43:09 2026
    From Newsgroup: muc.lists.freebsd.ports

    On Sun, Jul 26, 2026 at 10:38rC>AM abi <abi@abinet.ru> wrote:

    Any hints? I have no ideas left what can be wrong.
    pkg got a bugfix recently that should probably help this issue: https://github.com/freebsd/pkg/commit/f5f9f147ed86e908769c6be52c2d188b4bd05cfb --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Herbert J. Skuhra@herbert@gojira.at to muc.lists.freebsd.ports on Sun Jul 26 09:45:37 2026
    From Newsgroup: muc.lists.freebsd.ports

    On Sun, 26 Jul 2026 09:38:25 +0200, abi wrote:

    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.

    aDirectory in question is created by port itself:

    pre-install:
    a a ${MKDIR} ${STAGEDIR}${WWWDIR}/temp \
    a a a a a${STAGEDIR}${WWWDIR}/api/app/tmp \
    a a a a a${STAGEDIR}/var/cache/zoneminder \
    a a a a a${STAGEDIR}/var/db/zoneminder/events \
    a a a a a${STAGEDIR}/var/log/zm \
    a a a a a${STAGEDIR}/var/run/zm \
    a a a a a${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
    Update ports-mgmt/pkg to 2.8.1 and try again.
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2