On Mon, Dec 07, 2015 at 02:54:57PM +0100, John Paul Adrian Glaubitz wrote: > Package: samba > Version: 2:4.1.21+dfsg-2 > Severity: serious > Justification: fails to build from source (sometimes) > > Hello! > > The samba package fails to build from source when it can't download the > external > stylesheet docbook.xsl which is downloaded from sourceforge.net: > > Checking for stylesheet > http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : not > found > > and consequently won't build the manpages which then results in: > > #Remove unused vfstest manpage as there is no more vfstest apparently > rm /<<BUILDDIR>>/samba-4.1.21+dfsg/debian/tmp/usr/share/man/man1/vfstest.1 > rm: cannot remove > '/<<BUILDDIR>>/samba-4.1.21+dfsg/debian/tmp/usr/share/man/man1/vfstest.1': No > such file or directory > debian/rules:93: recipe for target 'override_dh_install' failed > make[1]: *** [override_dh_install] Error 1 > make[1]: Leaving directory '/<<BUILDDIR>>/samba-4.1.21+dfsg' > debian/rules:69: recipe for target 'binary' failed > make: *** [binary] Error 2 > dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status > 2 > > I'm not sure why exactly the download of the stylesheet fails. It fails on the > sparc64 and x32 buildds and on my personal sbuild amd64 chroot, all of them > are up-to-date. Since I can download the stylesheet from the very same machine > I am using for amd64 builds:
Are you sure that it is actually attempting to download the file from a remote server? The docbook-xsl package should make sure that it is just using a local copy of that file, even when Samba is referencing the URL. The root cause is probably this bug: http://bugs.debian.org/750593 Cheers, Jelmer

