Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942357 - dev-lang/python-3.13.0: sandbox access violation at /usr/lib/pypy3.10/urllib/__pycache__
Summary: dev-lang/python-3.13.0: sandbox access violation at /usr/lib/pypy3.10/urllib/...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-27 15:20 UTC by dm9pZCAq
Modified: 2024-10-31 18:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge log (dev-lang:python-3.13.0:20241026-234707.log,403.09 KB, text/plain)
2024-10-27 15:20 UTC, dm9pZCAq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dm9pZCAq 2024-10-27 15:20:50 UTC
Created attachment 907017 [details]
emerge log

when I'm trying to emerge dev-lang/python-3.13.0 it fails with sandbox access violation at /usr/lib/pypy3.10/urllib/__pycache__/

python-3.12 emerges fine, this problem appears only with 3.13

in `eselect ptyhon` pypy3 is selected, also in make.conf I have:
PYTHON_TARGETS="${PYTHON_TARGETS} pypy3"
PYTHON_SINGLE_TARGET="${PYTHON_SINGLE_TARGET} pypy3"
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-10-27 15:33:05 UTC
Do you perhaps have PYTHONPATH set in your environment?
Comment 2 dm9pZCAq 2024-10-31 18:07:48 UTC
no, there is no PYTHONPATH in environment

# grep -n PYTHONPATH /var/tmp/portage/dev-lang/python-3.13.0/temp/environment
2437:    if [[ -v PYTHONPATH ]]; then
2439:        mapfile -d ':' -t paths <<< ${PYTHONPATH};
2443:                eerror "Relative path found in PYTHONPATH:";
2445:                eerror "  PYTHONPATH=${PYTHONPATH@Q}";
2448:                eerror "your PYTHONPATH contains absolute paths only (and only if necessary).";
2450:                eerror "PYTHONPATH) count as the current directory.  If no PYTHONPATH";
2452:                die "Relative paths in PYTHONPATH are forbidden: ${x@Q}";
2455:        elog "PYTHONPATH=${PYTHONPATH@Q}";