Page MenuHomeFreeBSD

textproc/py-qt5-xml: Install Python bytecode

Authored by jhale on Mar 5 2018, 4:29 PM.


Group Reviewers
rP463772: textproc/py-qt5-xml:

py-qt5-xml does not currently install pre-compiled Python bytecode
which can cause build errors in poudriere for ports depending on it. If
the bytecode is not pre-installed, when the module is loaded Python creates
the bytecode on the fly causing the filesystem to be touched during the
build. For example:

Test Plan

Standard poudriere test builds completed with py27 and py36 flavor on 11.0 amd64

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhale created this revision.Mar 5 2018, 4:29 PM
antoine added a subscriber: antoine.Mar 5 2018, 4:40 PM
antoine added inline comments.
31 ↗(On Diff #39959)

The backtraces will be wrong.

It should be

jhale added inline comments.Mar 5 2018, 10:47 PM
31 ↗(On Diff #39959)

In that case, we need to fix destdir on devel/py-qt4-core and devel/py-qt5-core as well.

jhale updated this revision to Diff 39981.Mar 5 2018, 10:49 PM

Fix destdir

jhale marked 2 inline comments as done.Mar 5 2018, 10:49 PM
tcberner accepted this revision.Mar 6 2018, 6:41 PM
tcberner added a subscriber: tcberner.

Looks sensible. Thanks.

This revision is now accepted and ready to land.Mar 6 2018, 6:41 PM
This revision was automatically updated to reflect the committed changes.