On Wed, Jan 04, 2023 at 06:58:30PM +0200, Adrian Bunk wrote: > https://buildd.debian.org/status/logs.php?pkg=spamassassin&arch=amd64 > > ... > Jan 4 03:57:23.254 [3488924] dbg: logger: adding facilities: all > Jan 4 03:57:23.255 [3488924] dbg: logger: logging level is DBG > Jan 4 03:57:23.257 [3488924] dbg: logger: successfully opened file > log/sa_check_spamd.g3uk5R/d.sa_check_spamd/spamd.err.0.timestamped > Jan 4 03:57:23.257 [3488924] dbg: logger: successfully added file method > Jan 4 03:57:23.257 [3488924] dbg: spamd: will perform setuids? 0 > Jan 4 03:57:23.257 [3488924] dbg: spamd: socket module of choice: > IO::Socket::IP 0.41, Socket 2.033, have PF_INET, have PF_INET6, using legacy > Socket6::getaddrinfo, AI_ADDRCONFIG is supported > Jan 4 03:57:23.257 [3488924] dbg: spamd: socket specification: "127.0.0.1", > IP address: 127.0.0.1, port: 61558 > server socket setup failed, retry 1: spamd: invalid address for a listen > socket: "127.0.0.1": Address family for hostname not supported > server socket setup failed, retry 2: spamd: invalid address for a listen > socket: "127.0.0.1": Address family for hostname not supported > server socket setup failed, retry 3: spamd: invalid address for a listen > socket: "127.0.0.1": Address family for hostname not supported > server socket setup failed, retry 4: spamd: invalid address for a listen > socket: "127.0.0.1": Address family for hostname not supported > server socket setup failed, retry 5: spamd: invalid address for a listen > socket: "127.0.0.1": Address family for hostname not supported > server socket setup failed, retry 6: spamd: invalid address for a listen > socket: "127.0.0.1": Address family for hostname not supported > server socket setup failed, retry 7: spamd: invalid address for a listen > socket: "127.0.0.1": Address family for hostname not supported > server socket setup failed, retry 8: spamd: invalid address for a listen > socket: "127.0.0.1": Address family for hostname not supported > server socket setup failed, retry 9: spamd: invalid address for a listen > socket: "127.0.0.1": Address family for hostname not supported > spamd: invalid address for a listen socket: "127.0.0.1": Address family for > hostname not supported > ... > Failed 30/213 test programs. 162/3101 subtests failed. > make[2]: *** [Makefile:1473: test_dynamic] Error 255
I haven't been able to reproduce this on VMs with IPv6-only networking. Is the buildd network environment documented anywhere? There's clearly something different about it than my test environment, but I haven't been able to figure out what it is. In the meantime, I'm looking into printing more information about the Network configuration when running these failing tests. See https://salsa.debian.org/debian/spamassassin/-/commit/531bf8ea45cde94a60852d62ac701f70c0db4b3d On my IPv6-only build host, these changes print: IP-DEBUG: have_inet4 returning false IP-DEBUG: have_inet6 returning true IP-DEBUG: Set spamdlocalhost to ::1 IP-DEBUG: Set spamdhost to ::1 noahm@localhost:~/spamassassin$ ip -4 addr ; ip -4 ro ; dpkg-buildpackage -uc -us > /tmp/build.log 2>&1 echo $? tail -n20 /tmp/build.log noahm@localhost:~/spamassassin$ echo $? 0 noahm@localhost:~/spamassassin$ tail -n20 /tmp/build.log dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dpkg-gencontrol: warning: package spamassassin: substitution variable ${perl:Depends} unused, but is defined dpkg-gencontrol: warning: package sa-compile: substitution variable ${perl:Depends} unused, but is defined dpkg-gencontrol: warning: Depends field of package spamd: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package spamd: substitution variable ${perl:Depends} unused, but is defined dh_md5sums dh_builddeb dpkg-deb: building package 'spamassassin' in '../spamassassin_4.0.0-3_all.deb'. dpkg-deb: building package 'spamc' in '../spamc_4.0.0-3_amd64.deb'. dpkg-deb: building package 'spamc-dbgsym' in '../spamc-dbgsym_4.0.0-3_amd64.deb'. dpkg-deb: building package 'sa-compile' in '../sa-compile_4.0.0-3_all.deb'. dpkg-deb: building package 'spamd' in '../spamd_4.0.0-3_all.deb'. dpkg-genbuildinfo -O../spamassassin_4.0.0-3_amd64.buildinfo dpkg-genchanges -O../spamassassin_4.0.0-3_amd64.changes dpkg-genchanges: info: not including original source code in upload dpkg-source --after-build . dpkg-buildpackage: info: binary and diff upload (original source NOT included)