Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905695 - app-accessibility/brltty-6.5-r1 fails with python-3.11
Summary: app-accessibility/brltty-6.5-r1 fails with python-3.11
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-04 09:32 UTC by crabbed halo ablution
Modified: 2023-05-07 19:30 UTC (History)
0 users

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


Attachments
app-accessibility:brltty-6.5-r1:20230504-092608.log (app-accessibility:brltty-6.5-r1:20230504-092608.log,186.63 KB, text/plain)
2023-05-04 09:33 UTC, crabbed halo ablution
Details
emerge --info brltty (emergeinfo.txt,9.16 KB, text/plain)
2023-05-04 09:34 UTC, crabbed halo ablution
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crabbed halo ablution 2023-05-04 09:32:42 UTC
Fails to build with error:
"/usr/bin/python3" ./setup.py "${@}"
Traceback (most recent call last):
  File "/var/tmp/portage/app-accessibility/brltty-6.5-r1/work/brltty-6.5/Bindings/Python/./setup.py", line 21, in <module>
    from setuptools import setup, Extension
ModuleNotFoundError: No module named 'setuptools'


Reproducible: Always
Comment 1 crabbed halo ablution 2023-05-04 09:33:47 UTC
Created attachment 861119 [details]
app-accessibility:brltty-6.5-r1:20230504-092608.log
Comment 2 crabbed halo ablution 2023-05-04 09:34:27 UTC
Created attachment 861120 [details]
emerge --info brltty
Comment 3 crabbed halo ablution 2023-05-07 19:30:19 UTC
I think I found the problem. Even though brltty was emerged with PYTHON_TARGETS="python3_11 -python3_10", it apparently used the default system interpreter, which at the time was set to python 3.10. Some hack is needed so it calls the right python interpreter (python3.11) and not the global one (python).