Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2021 11:59:56 +0200
From:      Adriaan de Groot <adridg@freebsd.org>
To:        freebsd-ports@freebsd.org
Subject:   fs_violations for ports that build using python tools
Message-ID:  <2820506.slGk94SIus@beastie.bionicmutton.org>

next in thread | raw e-mail | index | archive | help
--nextPart2868614.hHqAuc6tWs
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Adriaan de Groot <adridg@freebsd.org>
To: freebsd-ports@freebsd.org
Subject: fs_violations for ports that build using python tools
Date: Mon, 12 Apr 2021 11:59:56 +0200
Message-ID: <2820506.slGk94SIus@beastie.bionicmutton.org>
Organization: FreeBSD

I build many ports in poudriere with the `-t` (test port) flag. Ports that use 
Python-based tools tend to fail with a fs_violation. For instance, FreeCAD:

=>> Checking for filesystem violations... done
=>> Error: Filesystem touched during build:
extra: usr/local/lib/python3.7/site-packages/shiboken2/__pycache__
extra: usr/local/lib/python3.7/site-packages/shiboken2/files.dir/
shibokensupport/__pycache__
extra: usr/local/lib/python3.7/site-packages/shiboken2/files.dir/
shibokensupport/signature/lib/__pycache__

or nextpnr:

=>> Checking for filesystem violations... done
=>> Error: Filesystem touched during build:
extra: usr/local/share/trellis/util/common/__pycache__
extra: usr/local/share/trellis/timing/util/__pycache__

On the build cluster, these don't seem to cause problems. Note that these 
pycache files are **not** from the port being built, but from other, python-
based, tools that are run as part of the build: trellis is a BUILD_DEPENDS for 
nextpnr.

What can I do to resolve this kind of build failure? I'd like to avoid false-
failures because they mask and confuse local exp-runs for (say) CMake updates.

[ade]
--nextPart2868614.hHqAuc6tWs
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

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

iQGzBAABCAAdFiEEhrjttu2OP5apuuy1z93JbxKxkVwFAmB0GhwACgkQz93JbxKx
kVyvPQv/doTOOHLASd+CNOHZNnuMcxIqKGzCbAZ9Bgx0oZ5V0nEUk14FauKQAMO2
/2K3OK7AKq6C2OEPoPQbOI/P9hw67WCwhP1Jfh9Ly/CaZEzKZiFXNqPLEARzgofl
AKKbNFWr/Qg8Rk064xZK15VgAyD8oFD9Qp3Qu4UaLB0hfJobM2jSE1lHsRiO0+oG
lGlIPoW5QHTv0UdJJUqAcRVYUEIUyVheZ5FtOizL8IBZ66//Ddq+ft1QaXkR9sSJ
AhSb4kH+Pv7Qjy+4aLbfkNVaCyCclr27NViRrhmZKjTm1rVsVorKHirYuQKBFt1P
DKHKXzuAGIknnYRvyNchvPV/hg+mTvQxaMrxjFc3wQBc5aieGEie4u4ZWbyf2A67
nZjO631UdsQyo14ELY+yX5c+Feo8uubnfNpZRJaS6IDKwwKGYGUMVDo6bV4sU4fB
EQEgjqsFVg8IUAmplRmJJy0G560oej6nl0in3yv2p1Ex3N3YeApimosM+8H07T56
LfO1qRap
=OFRs
-----END PGP SIGNATURE-----

--nextPart2868614.hHqAuc6tWs--






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2820506.slGk94SIus>