Thierry Thomas wrote:
I’m trying to upgrade a simple port, math/py-fpylll; it requires
textproc/py-sphinx to build the doc, and now it fails in poudriere with
these errors:

=>> Checking for filesystem violations... done
=>> Error: Filesystem touched during build:
extra: [bunch of bytecode directories]
build of math/py-fpylll | py39-fpylll-0.5.9 ended at Thu Mar 30 14:32:44 CEST 
2023
build time: 00:02:07
!!! build failure encountered !!!
[00:10:22] Error: Build failed in phase: build_fs_violation

How to solve this problem?
Easiest way is to stop building as root (set BUILD_AS_NON_ROOT). Python writes bytecode on import by default if it does not already exist and the executing user has write privileges to the location(s).

Additionally, D39306 and PR 270511 tackle this without introducing more bytecode, a known filesystem pollutant.

--
Charlie Li
…nope, still don't have an exit line.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to