Bug 270511 - python.mk: do not write bytecode during build
Summary: python.mk: do not write bytecode during build
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Port Management Team
URL: https://reviews.freebsd.org/D39306
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-29 04:34 UTC by Charlie Li
Modified: 2023-05-08 13:14 UTC (History)
3 users (show)

See Also:
vishwin: exp-run?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Li freebsd_committer freebsd_triage 2023-03-29 04:34:53 UTC
See review D39306 for patch and description.

exp-run requested to check for build processes basing their default bytecode-writing decisions on this environment variable, causing plist mismatches.
Comment 1 Charlie Li freebsd_committer freebsd_triage 2023-04-04 18:56:38 UTC
This does not depend on bytecode existing or not, thus it does not depend on the trigger. All this does is ensure that the default bytecode-writing behaviour is disabled during a build to prevent (further) filesystem pollution, particularly when running as root.
Comment 2 Charlie Li freebsd_committer freebsd_triage 2023-04-04 18:58:57 UTC
To clarify: we pass explicit flags in build frontends during do-build/do-stage for packaged bytecode; this change does not affect that.
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2023-05-08 12:49:57 UTC
this will probably never be committed so it blocks nothing.
Comment 5 Charlie Li freebsd_committer freebsd_triage 2023-05-08 13:14:14 UTC
(In reply to Antoine Brodin from comment #4)
This will be committed when the proper time and resources to work on this become available again, which is around now. But this shouldn't block any individual ports.