Ticket #2101 (closed bug: fixed)
Broken ipv6 detection on Gentoo linux
| Reported by: | tadzik | Owned by: | tadzik |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | configure | Version: | master |
| Severity: | medium | Keywords: | ipv6 |
| Cc: | nwellnhof | Language: | |
| Patch status: | applied | Platform: |
Description
My system has no ipv6 capabilities, yet the Configure.pl test detects it as working:
┌─[tadzik@yavin4]─[~/src/parrot] (master)
└─[%]─> parrot_config HAS_IPV6
1
┌─[tadzik@yavin4]─[~/src/parrot] (master)
└─[%]─> zgrep -i ipv6 /proc/config.gz
# CONFIG_IPV6 is not set
When I looked into the test in config/auto/ipv6/test.in it just calls getaddrinfo() but prints "OK" disregarding the effect. Although getaddrinfo() pretends everything went fine, socket() returns -1 for ipv6 sockets on my system. So a test basing on socket() might be more accurate.
Change History
Note: See
TracTickets for help on using
tickets.
