python3: fix host PGO build failure on deep build paths
authorAlexandru Ardelean <redacted>
Sun, 14 Jun 2026 06:13:10 +0000 (09:13 +0300)
committerAlexandru Ardelean <redacted>
Mon, 15 Jun 2026 08:39:24 +0000 (11:39 +0300)
commite5034806063ce83b471caabc669080bef6c28f61
tree3e41c4a8a1c42b4517c92b0d05428e97a7839f45
parent72c8d3ee34169e63b315e51db0c910cf331b49d6
python3: fix host PGO build failure on deep build paths

Python 3.14 made "forkserver" the default multiprocessing start method on
Linux, which binds an AF_UNIX socket under $TMPDIR during the PGO profile-run.
OpenWrt points TMPDIR at the deeply nested build tree, so the socket path can
exceed the 108-byte AF_UNIX limit and abort the host build with "AF_UNIX path
too long" in test_re (cpython#149527). Pin TMPDIR=/tmp for the host build.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python3/Makefile
git clone https://git.99rst.org/PROJECT