Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Python 3.4.3 complains about getaddrinfo() function
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
NTICompass
Apprentice
Apprentice


Joined: 11 Jun 2008
Posts: 171
Location: /home/nticompass/

PostPosted: Thu Oct 27, 2016 3:47 am    Post subject: [SOLVED] Python 3.4.3 complains about getaddrinfo() function Reply with quote

I have python-3.4.3-r1 compiled with the following USE flags: gdbm ipv6 ncurses readline ssl (threads) tk xml

I added the "sqlite" USE flag in package.use and tried to re-compile it with "sudo emerge -1av python:4.3". During the configuration, I get:

Code:
checking getaddrinfo bug... yes
Fatal: You must get working getaddrinfo() function.
       or you can specify "--disable-ipv6".


"emerge --info" here: https://bugs.gentoo.org/attachment.cgi?id=451528

I'm not sure what package(s) changed since I previously emerged python, but as you can see it already had IPv6 support, so why is it complaining now?


Last edited by NTICompass on Thu Oct 27, 2016 1:53 pm; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Thu Oct 27, 2016 5:41 am    Post subject: Reply with quote

It's possible that you have removed ipv6 support in kernel?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
NTICompass
Apprentice
Apprentice


Joined: 11 Jun 2008
Posts: 171
Location: /home/nticompass/

PostPosted: Thu Oct 27, 2016 1:43 pm    Post subject: Reply with quote

fedeliallalinea wrote:
It's possible that you have removed ipv6 support in kernel?


IPv6 support should be in the kernel:
Code:
nticompass@hypercube ~ % grep -i ipv6 /boot/config-4.4.21-gentoo
CONFIG_IPV6=y
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_IPV6_ILA is not set
# CONFIG_IPV6_VTI is not set
CONFIG_IPV6_SIT=y
# CONFIG_IPV6_SIT_6RD is not set
CONFIG_IPV6_NDISC_NODETYPE=y
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_GRE is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_IPV6_MROUTE is not set
# IPv6: Netfilter Configuration
CONFIG_NF_DEFRAG_IPV6=y
CONFIG_NF_CONNTRACK_IPV6=y
# CONFIG_NF_DUP_IPV6 is not set
CONFIG_NF_REJECT_IPV6=y
CONFIG_NF_LOG_IPV6=m
# CONFIG_NF_NAT_IPV6 is not set
CONFIG_IP6_NF_MATCH_IPV6HEADER=y
Back to top
View user's profile Send private message
NTICompass
Apprentice
Apprentice


Joined: 11 Jun 2008
Posts: 171
Location: /home/nticompass/

PostPosted: Thu Oct 27, 2016 1:53 pm    Post subject: Reply with quote

I...um.... I rebooted my computer and now it works. I have no idea what that was about. Maybe it had to do with IPv6 connectivity or something? No idea, but it works now...
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