Bug#1014179: pytango FTBFS on IPV6-only buildds

Adrian Bunk bunk at debian.org
Fri Jul 1 16:32:42 BST 2022


Source: pytango
Version: 9.3.4-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=pytango&arch=all&ver=9.3.4-2&stamp=1656689069&raw=0

...
    def get_host_ip():
        """Get the primary external host IP.
    
        This is useful because an explicit IP is required to get
        tango events to work properly. Note that localhost does not work
        either.
        """
        s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
        # Connecting to a UDP address doesn't send packets
>       s.connect(('8.8.8.8', 0))
E       OSError: [Errno 101] Network is unreachable
...



More information about the debian-science-maintainers mailing list