[Pkg-clamav-devel] Bug#963853: clamav: FTBFS on IPv6-only environments

Dominic Hargreaves dom at earth.li
Sun Jun 28 12:48:20 BST 2020


Source: clamav
Version: 0.102.3+dfsg-1
Severity: serious
Justification: FTBFS (when it built before)

During archive-wide test rebuilding of an IPv6-only environment (which
appears on some normal buildds)[1] we noticed that this package fails:

  Sun Jun 28 05:38:28 2020 -> !TCP: getaddrinfo failed: Address family for hostname not supported
  Sun Jun 28 05:38:28 2020 -> *Closing the main socket.
  
  ***
  *** Failed to run /<<PKGBUILDDIR>>/unit_tests/../clamd/clamd -c test-clamd.conf, expected 0 exitcode, but was 1
  ***
  
  ***
  *** Failed to run clamd
  ***
  FAIL check4_clamd.sh (exit status: 42)

The full log is available at http://perl.debian.net/rebuild-logs/sid-v6only/clamav_0.102.3+dfsg-1/clamav_0.102.3+dfsg-1_amd64-2020-06-28T05:34:48Z.build

One way to replicate this environment is like so:

  # unshare -n
  # ip li set lo up
  # ip li add dummy0 type dummy
  # ip li set dummy0 up

Cheers
Dominic

[1] this test showed approximately 100 packages in the archive failing,
but nearly all of them were due to the behaviour of libio-socket-ip-perl,
so will be fixed centrally. I'm filing bugs about the small number of
unrelated cases.



More information about the Pkg-clamav-devel mailing list