Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiling dev-lang/python-3.13.1 fails[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1589

PostPosted: Thu Jan 09, 2025 9:04 am    Post subject: compiling dev-lang/python-3.13.1 fails[solved] Reply with quote

Code:
[ebuild     UD] dev-lang/python-3.13.1 [3.13.1_p1] USE="ensurepip ncurses pgo readline sqlite ssl -bluetooth -build -debug -examples -gdbm (-jit) -libedit -test -tk -valgrind -verify-sig" LLVM_SLOT="-18"

emerge info:
https://p.defau.lt/?IvBzL5tJ_b03BHvus3v0yw
build log:
https://p.defau.lt/?Kt5WUSv4aaziIsnId7h1pw

the error is:
Code:
======================================================================
ERROR: test_interrupted_write (test.test_wsgiref.IntegrationTests.test_interrupted_write)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.13.1/work/Python-3.13.1/Lib/test/test_wsgiref.py", line 252, in test_interrupted_write
    server = make_server(socket_helper.HOST, 0, app, handler_class=WsgiHandler)
  File "/var/tmp/portage/dev-lang/python-3.13.1/work/Python-3.13.1/Lib/wsgiref/simple_server.py", line 150, in make_server
    server = server_class((host, port), handler_class)
  File "/var/tmp/portage/dev-lang/python-3.13.1/work/Python-3.13.1/Lib/socketserver.py", line 457, in __init__
    self.server_bind()
    ~~~~~~~~~~~~~~~~^^
  File "/var/tmp/portage/dev-lang/python-3.13.1/work/Python-3.13.1/Lib/wsgiref/simple_server.py", line 50, in server_bind
    HTTPServer.server_bind(self)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/var/tmp/portage/dev-lang/python-3.13.1/work/Python-3.13.1/Lib/http/server.py", line 136, in server_bind
    socketserver.TCPServer.server_bind(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/var/tmp/portage/dev-lang/python-3.13.1/work/Python-3.13.1/Lib/socketserver.py", line 473, in server_bind
    self.socket.bind(self.server_address)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -3] Temporary failure in name resolution

----------------------------------------------------------------------


name resolution of internet names is working, I'm using dnsmasq as a caching dns server:
Code:
t14 /etc/portage/package.use # ping www.google.com
PING www.google.com (142.250.201.4) 56(84) bytes of data.


Last edited by Adel Ahmed on Thu Jan 09, 2025 9:32 am; edited 1 time in total
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1829
Location: Germany

PostPosted: Thu Jan 09, 2025 9:11 am    Post subject: Reply with quote

Not 100% sure if it is related, but since you also have pgo enabled for python, see this bug: https://bugs.gentoo.org/947306
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2587

PostPosted: Thu Jan 09, 2025 9:15 am    Post subject: Reply with quote

Just to point out this looks like another one of OP's USE=-*, modified busybox, et.c. installations.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1589

PostPosted: Thu Jan 09, 2025 9:19 am    Post subject: Reply with quote

USE=-* yes
modified busybox no
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1589

PostPosted: Thu Jan 09, 2025 9:32 am    Post subject: Reply with quote

removing the pgo flag fixed it, thanks banana
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum