On 03/11, Baptiste Daroussin wrote:
> On Wed 11 Mar 13:45, Kirill Ponomarev wrote:
> > 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
> 
> This is not needed all poudriere version available in the ports tree
> are handling this fine, just use a version up to date.

You're right, the latest poudriere in the ports handles this. However,
the updated package hasn't landed in the official pkg repository yet
so LOCAL_MTREE_EXCLUDES is a temporary workaround until the new
package is available

Attachment: signature.asc
Description: PGP signature

Reply via email to