Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955669 - net-libs/grpc-1.65.1 - Emerge fails on new system missing python-3.12 or python-3.11
Summary: net-libs/grpc-1.65.1 - Emerge fails on new system missing python-3.12 or pyth...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-09 09:21 UTC by ra.gnt
Modified: 2025-05-23 15:30 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ra.gnt 2025-05-09 09:21:36 UTC
Installing a new system fails to compile net-libs/grpc-1.65.1 as python-3.13 has been set to the new default python version. Neither python-3.12 nor python-3.11 will be installed by dependency.

The build will fail with following error message:
>>> Failed to emerge net-libs/grpc-1.65.1, Log file:                                                                                                                                                                      
>>>  '/var/tmp/portage/net-libs/grpc-1.65.1/temp/build.log'                                                                                                                                                               
>>> Jobs: 23 of 504 complete, 1 failed                                  Load avg: 1.73, 1.33, 0.62                                                                                                                        
 * Package:    net-libs/grpc-1.65.1:0/42.165                                                                                                                                                                              
 * Repository: gentoo                                                                                                                                                                                                     
 * Maintainer: perfinion@gentoo.org xen0n@gentoo.org                                                                                                                                                                      
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux systemd                                                                                                                                                          
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox                                                                                                                                                 
 * Checking whether python3_12 is suitable ...                                                                                                                                                                            
 *   dev-lang/python:3.12 ...                                                                                                                                                                                      [ !! ]
 * Checking whether python3_11 is suitable ...                                                                                                                                                                            
 *   dev-lang/python:3.11 ...                                                                                                                                                                                      [ !! ]
 * No Python implementation found for the build. This is usually                                                                                           

Reproducible: Always

Steps to Reproduce:
1. Install Gentoo from stage3-amd64
2. emerge net-libs/grpc-1.65.1 or by package which depends on it
3. Failure will occure
Actual Results:  
Build fails.

Expected Results:  
Build should succeed, maybe by requesting python-3.12 as a slot dependency or by upgrading to python-3.13.

Successful workaround:

Emerge python-3.12 manually in front of net-libs/grpc-1.65.1 by:

emerge -1 python:3.12
Comment 1 ra.gnt 2025-05-09 09:25:19 UTC
I didn't came across this on already working machines, as python-3.12 has not been removed yet, even after recent upgrades due to package dependencies.