Source: libloc
Version: 0.9.15-2.1
Severity: normal
Tags: ftbfs

Dear Maintainer,

The test-network tests fails and the build fails:

FAIL: src/test-network
======================

libloc: loc_network_list_dump:    0: 2001:db8::/33
libloc: loc_network_list_dump:    1: 2001:db8:8000::/34
libloc: loc_network_list_dump:    2: 2001:db8:c000::/35
libloc: loc_network_list_dump:    3: 2001:db8:e000::/36
libloc: loc_network_list_dump:    4: 2001:db8:f000::/37
libloc: loc_network_list_dump:    5: 2001:db8:f800::/38
libloc: loc_network_list_dump:    6: 2001:db8:fc00::/39
libloc: loc_network_list_dump:    7: 2001:db8:fe00::/40
libloc: loc_network_list_dump:    8: 2001:db8:ff00::/41
libloc: loc_network_list_dump:    9: 2001:db8:ff80::/42
libloc: loc_network_list_dump:   10: 2001:db8:ffc0::/43
libloc: loc_network_list_dump:   11: 2001:db8:ffe0::/44
libloc: loc_network_list_dump:   12: 2001:db8:fff0::/45
libloc: loc_network_list_dump:   13: 2001:db8:fff8::/46
libloc: loc_network_list_dump:   14: 2001:db8:fffc::/47
libloc: loc_network_list_dump:   15: 2001:db8:fffe::/48
libloc: loc_network_new_from_string: Could not parse network xxxx:xxxx::/32: 
Invalid argument
libloc: loc_database_open: Opened database in 3.0320ms
Could not look up 2001:db8::
Received subnet1 = 2001:db8::/33
Received subnet2 = 2001:db8:8000::/33
FAIL src/test-network (exit status: 1)

Full log is here:
https://buildd.debian.org/status/fetch.php?pkg=libloc&arch=hppa&ver=0.9.15-2.1&stamp=1665832762&raw=0

A similar fail occurs on alpha.

I tried to debug this.  It appears the call to loc_database_lookup_from_string
fails in this hunk of code:

        // Lookup an address in the subnet
        err = loc_database_lookup_from_string(db, "2001:db8::", &network1);
        if (err) {
                fprintf(stderr, "Could not look up 2001:db8::\n");
                exit(EXIT_FAILURE);
        }
        loc_network_unref(network1);

In an attempt to get more info, I added "--enable-debug" to the
configure command.  With this addition, the test succeeds and the build
is successful:

https://buildd.debian.org/status/fetch.php?pkg=libloc&arch=hppa&ver=0.9.15-2.1&stamp=1666035323&raw=0

Until this bug is resolved, could you add "--enable-debug" to the configure
options on hppa?

Regards,
Dave Anglin

-- System Information:
Debian Release: bookworm/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 5.19.16+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to