New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/issues/36347#issuecomment-1079571203 Comment: This is an expected side effect of the XBPS trigger that pre-compiles Python source and has been present for some time. The trigger uses the `compileall` module to recursively compile Python source in a module directory. The `blender_boolean.py` file responsible for the error is not valid Python source, but a template that is rendered by... something. (I'm not familiar with this package and don't know where it's used.) Even if we made the trigger more sophisticated to avoid attempts to compile contents that obviously aren't Python source (the trigger used to try compiling a README for one package!), this particular case would be nearly impossible to detect and avoid because it has a `.py` extension and lives in a Python package hierarchy. The right fix here is for `trimesh` upstream to use a different location or extension for this file; it isn't valid Python until rendered and shouldn't masquerade as such.