• Several ports fail in poudriere with fs_violations leaving the files /var/db/pkg/local.sqlite-shm and /var/db/pkg/local.sqlite-wal

    From Yuri@yuri@FreeBSD.org to muc.lists.freebsd.ports on Wed Mar 11 02:27:52 2026
    From Newsgroup: muc.lists.freebsd.ports

    This is a multi-part message in MIME format. --------------TBtl1HE8YdLgeeHzZ3gqn5Rv
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit

    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.


    Yuri


    --------------TBtl1HE8YdLgeeHzZ3gqn5Rv
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE html>
    <html>
    <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <font face="monospace"><span
    style="color:#000000;background-color:#ffffff;">Many ports fail
    with fs_violation:</span></font><br>
    <font face="monospace"><span
    style="color:#000000;background-color:#ffffff;">=&gt;&gt; Error:
    Filesystem touched during build:</span><span
    style="color:#000000;background-color:#ffffff;">
    </span><br>
    <span style="color:#000000;background-color:#ffffff;">extra:
    var/db/pkg/local.sqlite-shm</span><span
    style="color:#000000;background-color:#ffffff;">
    </span><br>
    <span style="color:#000000;background-color:#ffffff;">extra:
    var/db/pkg/local.sqlite-wal</span><br>
    <span style="color:#000000;background-color:#ffffff;"></span><br>
    <br>
    </font><br>
    <font face="monospace">It looks like pkg is malfunctioning in
    poudriere because these files are only opened by pkg.</font><br>
    <font face="monospace"><br>
    </font><br>
    <font face="monospace">Yuri</font>
    <p><br>
    </p>
    </body>
    </html>

    --------------TBtl1HE8YdLgeeHzZ3gqn5Rv--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From =?UTF-8?Q?Fernando_Apestegu=C3=ADa?=@fernando.apesteguia@gmail.com to muc.lists.freebsd.ports on Wed Mar 11 10:34:11 2026
    From Newsgroup: muc.lists.freebsd.ports

    --0000000000005d676f064cbc57e7
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    El mi=C3=A9, 11 mar 2026, 10:29, Yuri <yuri@freebsd.org> escribi=C3=B3:

    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.


    You need to update your poudriere. I found the same problem and using poudriere-devel fixed it for me.

    Cheers




    Yuri




    --0000000000005d676f064cbc57e7
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote gmail_quote_contai= ner"><div dir=3D"ltr" class=3D"gmail_attr">El mi=C3=A9, 11 mar 2026, 10:29,=
    Yuri &lt;<a href=3D"mailto:yuri@freebsd.org">yuri@freebsd.org</a>&gt; escr= ibi=C3=B3:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
    .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

    =20

    =20
    =20
    <div>
    <font face=3D"monospace"><span style=3D"color:#000000;background-color:= #ffffff">Many ports fail
    with fs_violation:</span></font><br>
    <font face=3D"monospace"><span style=3D"color:#000000;background-color:= #ffffff">=3D&gt;&gt; Error:
    Filesystem touched during build:</span><span style=3D"color:#000000= ;background-color:#ffffff">
    </span><br>
    <span style=3D"color:#000000;background-color:#ffffff">extra:
    var/db/pkg/local.sqlite-shm</span><span style=3D"color:#000000;back= ground-color:#ffffff">
    </span><br>
    <span style=3D"color:#000000;background-color:#ffffff">extra:
    var/db/pkg/local.sqlite-wal</span><br>
    <span style=3D"color:#000000;background-color:#ffffff"></span><br>
    <br>
    </font><br>
    <font face=3D"monospace">It looks like pkg is malfunctioning in
    poudriere because these files are only opened by pkg.</font></div></b= lockquote></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">You nee=
    d to update your poudriere. I found the same problem and using poudriere-de= vel fixed it for me.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Che= ers</div><div dir=3D"auto"><br></div><div dir=3D"auto"><div class=3D"gmail_= quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=3D"mar= gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
    <font face=3D"monospace"><br>
    </font><br>
    <font face=3D"monospace">Yuri</font>
    <p><br>
    </p>
    </div>

    </blockquote></div></div></div>

    --0000000000005d676f064cbc57e7--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Kirill Ponomarev@kp@krion.cc to muc.lists.freebsd.ports on Wed Mar 11 13:45:00 2026
    From Newsgroup: muc.lists.freebsd.ports


    --w2yXG/QIav/pKVzy
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    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
    =20
    =20
    =20
    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=3D"/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

    --w2yXG/QIav/pKVzy
    Content-Type: application/pgp-signature; name=signature.asc

    -----BEGIN PGP SIGNATURE-----

    iQEzBAABCAAdFiEEJCHRFhEAQujKni1pDyI9/LMCykUFAmmxcdwACgkQDyI9/LMC ykXHIQf/ZgMlusfooYgYR3yRStvXwOY5vEdnvQzISDxSi1MfkeZPWHl+vqq9fC0K UgD4iVG1AmfY0VVA5qt5C0EzeCUr4Ax3O0GsZpf4JJqjcSg6Ij0aErfDBAWZpnnz Ln4kjX8V1HNijlZoScQNWcoXG1XqDMQqmS1K+RFIHkWG9cD3wRmx6oXBIiIxsOZP rsow3xDo9TymvRCuKBbcO1vrj9/MjpCdweXILZl4DYWytZHQlqJyh6UE8WunR0t2 +B2cZ3a+1ZKDW+wPjOjkk0yjfqRlQUtpX2a0VxH/6iXIvknK97Jc4QSvx9U2/k/C yDBuliw+Lo4S9MEcZZkqJf5uvrWTag==
    =PFUs
    -----END PGP SIGNATURE-----

    --w2yXG/QIav/pKVzy--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Kirill Ponomarev@kp@krion.cc to muc.lists.freebsd.ports on Wed Mar 11 14:09:49 2026
    From Newsgroup: muc.lists.freebsd.ports


    --ODXhOoQ/G9nk+RFC
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    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
    =20
    =20
    =20
    It looks like pkg is malfunctioning in poudriere because these files =
    are
    only opened by pkg.
    =20
    Add this to your /usr/local/etc/poudriere.conf: LOCAL_MTREE_EXCLUDES=3D"/var/db/pkg"
    =20
    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
    =20
    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

    --ODXhOoQ/G9nk+RFC
    Content-Type: application/pgp-signature; name=signature.asc

    -----BEGIN PGP SIGNATURE-----

    iQEzBAABCAAdFiEEJCHRFhEAQujKni1pDyI9/LMCykUFAmmxd60ACgkQDyI9/LMC ykXNoAgAkNI00ZqXU2uI/A2Ywzem/gVxa385ybuN1Yk4YzTCVkuwwtl+Rz4EVNjp lpm37UfvDC4DwAdHLxHX71JifEdqe+1oiEjtTmSkcS52GNHvw5MWXryrixH+myGN uNG3SHaQElfYj+5gOzfVAQzbOPzd9/V2iQ/JSaX62O8Wz+iXfTp04laNB7tBvNnh K/LTbAyW7htuo2o4t0FPYJhgaaWI+z2FsKHYZRqIw7YKNp0c8Wr79ei+mhwQHyMf 7GeNSVQCHmhwiaPHYoVmggx8x/Ys6eoIkZJsvZVneFfbDWeXrryfSsXOusaOioX9 H/DHtllyBpUwH4/MiFxo3IQJZEjc5w==
    =Y8AG
    -----END PGP SIGNATURE-----

    --ODXhOoQ/G9nk+RFC--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Baptiste Daroussin@bapt@FreeBSD.org to muc.lists.freebsd.ports on Wed Mar 11 15:07:30 2026
    From Newsgroup: muc.lists.freebsd.ports

    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.

    Best regards,
    Bapt


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.ports on Wed Mar 11 14:48:23 2026
    From Newsgroup: muc.lists.freebsd.ports

    On 3/11/26 07:07, 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.

    Best regards,
    Bapt



    ampere2's from-scratch rebuilds of main-arm64 in 2026 have taken (only
    latest is built for main, not quarterly):

    237:11:07
    242:53:19
    256:16:05

    ampere2's successful 2026 incremental builds of main-arm64 in 2026 have
    taken:

    174:51:18
    185:22:02

    (There is also the distribution time after a build.)

    If the port is upgraded just after such a build starts, it can take the
    sum of time from a sequence of builds/distributions for an update to be available in binary form, depending on the relative timing of the
    commit: So a notable time delay.

    ampere3 building alternately 135arm64-default (a.k.a. latest) and 135arm64-quarterly can lead to even longer intervals between updating a specific binary. Another issue is that the port tree vintage used only
    updates once per cycle-of-2, not after each prior build.

    (ampere4 and ampere5 do not take as long but have the sequence-of-builds
    based on relative timing structural properties as well.)
    --
    ===
    Mark Millard
    marklmi at yahoo.com


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21d-Linux NewsLink 1.2