Control: severity -1 important Control: tag -1 + confirmed On Sat, 17 Oct 2015 13:55:17 +0100, Chris West (Faux) wrote:
> Source: iodine > Version: 0.7.0-3 > Severity: serious > Justification: fails to build from source > Tags: sid stretch > User: [email protected] > Usertags: ftbfs > X-Debbugs-CC: [email protected] > > Dear Maintainer, > > The package fails to build: > > cc -o test ../src/base32.o ../src/base64.o ../src/common.o ../src/read.o > ../src/dns.o ../src/encoding.o ../src/login.o ../src/md5.o ../src/user.o > ../src/fw_query.o test.o base32.o base64.o common.o read.o dns.o encoding.o > login.o user.o fw_query.o -L/usr/local/lib `pkg-config check --libs` > -lpthread `sh ../src/osflags Linux link` > Running suite(s): iodine > 95%: Checks: 68, Failures: 3, Errors: 0 > common.c:100:F:Common:test_parse_format_ipv4:0: Assertion 'addr_len == > sizeof(struct sockaddr_in)' failed > common.c:120:F:Common:test_parse_format_ipv4_listen_all:0: Assertion > 'addr_len == sizeof(struct sockaddr_in)' failed > common.c:170:F:Common:test_parse_format_ipv4_mapped_ipv6:0: Assertion > 'addr_len == sizeof(struct sockaddr_in6)' failed > Makefile:12: recipe for target 'all' failed > > Full build log: > https://reproducible.debian.net/rb-pkg/unstable/amd64/iodine.html Thanks for the bug report. I can reproduce the test failures with USENETWORK=no in pbuilderrc (and a cowbuilder unstable amd64 + i386 chroot); with USENETWORK=yes the tests pass. The failing tests all involve IPv4 addresses; test_parse_format_ipv6 interestingly doesn't fail. The difference is test_parse_format_ipv4: addr_len = get_addr(host, 53, AF_INET, 0, &addr); test_parse_format_ipv4_listen_all: addr_len = get_addr(NULL, 53, AF_INET, AI_PASSIVE, &addr); test_parse_format_ipv6: addr_len = get_addr(host, 53, AF_UNSPEC, 0, &addr); test_parse_format_ipv4_mapped_ipv6: addr_len = get_addr(v4mapped, 53, AF_INET6, 0, &addr); addr_len is -2 for the 3 failing-under-USENETWORK=no tests. Changing AF_INET to AF_UNSPEC in test_parse_format_ipv4 makes it pass as well even under USENETWORK=no. I'm lowering the severity of the bug for now, since this doesn't look like a bug in the code itself but like a weird interaction between the test suite and pbuilder's optional use of namespaces. Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: STS: so frei wia ma sein kann
signature.asc
Description: Digital Signature

