On 03/11, Yuri wrote:
> Many ports fail with fs_violation:
> =>> Error: Filesystem touched during build:
> extra: var/db/pkg/local.sqlite-shm
> extra: var/db/pkg/local.sqlite-wal
> 
> 
> 
> It looks like pkg is malfunctioning in poudriere because these files are
> only opened by pkg.

Add this to your /usr/local/etc/poudriere.conf:
LOCAL_MTREE_EXCLUDES="/var/db/pkg"

This tells poudriere to ignore changes under /var/db/pkg when checking
for filesystem violations after build. The sqlite-shm and sqlite-wal
files are WAL-mode artifacts left by pkg and are harmless. I guess
that came with pkg 2.6.2, it now uses SQLite WAL mode which leaves
behind -shm and -wal files after operations on
/var/db/pkg/local.sqlite

Attachment: signature.asc
Description: PGP signature

Reply via email to