[Pkg-clamav-devel] clamav failure on hurd-i386

Samuel Thibault sthibault at debian.org
Sun Jul 6 11:37:28 UTC 2014


Hello,

Andreas Cadhalpun, le Sat 05 Jul 2014 19:54:03 +0200, a écrit :
> clamav 0.98.4+dfsg-2 compiled successfully on hurd-i386, but then the build
> failed due to test-suite errors [1].
> The reason for these is that the permission to create a local socket to test
> the communication between clamd and clamdscan was denied. This works fine
> for other architectures and also when testing in a hurd virtual machine, so
> I assume there is a problem with the buildd.

Mmm, actually it is most probably a problem with chrooted hurd builds.
In chroots local sockets don't work properly, one currently has to
use the unchrooted path. We usually work around it by making /tmp
bind-mounted into the chroot, so that the chrooted path works unchrooted
too. A workaround for clamd would be to put the local socket somewhere
in /tmp instead of inside the build tree. The buildd could also have its
unchrooted /build bind-mounted inside chroots as /build, so that the
local socket path would work.

Samuel



More information about the Pkg-clamav-devel mailing list