Bug#807331: [Pkg-samba-maint] Bug#807331: Bug#807331: samba: Fails to build from source when not being able to download docbook.xsl

2015-12-07 Thread Jelmer Vernooij
On Mon, Dec 07, 2015 at 03:23:00PM +0100, John Paul Adrian Glaubitz wrote:
> On 12/07/2015 03:03 PM, Jelmer Vernooij wrote:
> > The root cause is probably this bug: http://bugs.debian.org/750593
> 
> That could explain the problem on sparc64 and x32, but it doesn't
> segfault on my amd64 machine, yet the download fails. I can run xsltproc
> with the URL in my sbuild chroot and it is able to download and parse
> the file. However, when I sbuild samba, it still fails. I can't really
> wrap my head around what happens here.
Do you have /dev/shm available in your sbuild chroot, per that bug?

Have you tried building the Samba manpages in your schroot, e.g. smb.conf.5?
That's the one that actually needs it.

Cheers,

Jelmer



Bug#807331: [Pkg-samba-maint] Bug#807331: Bug#807331: samba: Fails to build from source when not being able to download docbook.xsl

2015-12-07 Thread Jelmer Vernooij
On Mon, Dec 07, 2015 at 04:07:40PM +0100, John Paul Adrian Glaubitz wrote:
> On 12/07/2015 03:38 PM, Jelmer Vernooij wrote:
> >> That could explain the problem on sparc64 and x32, but it doesn't
> >> segfault on my amd64 machine, yet the download fails. I can run xsltproc
> >> with the URL in my sbuild chroot and it is able to download and parse
> >> the file. However, when I sbuild samba, it still fails. I can't really
> >> wrap my head around what happens here.
> > Do you have /dev/shm available in your sbuild chroot, per that bug?
> 
> Ok, this *does* fix the problem actually. I have to bind-mount dev
> into my chroot and set the permissions to 777. Vry strange that
> xsltproc does not fail when I chroot into my sbuild environment and
> call it directly, but it fails when the samba Python scripts call it.
> 
> In any case, thanks a lot for helping me to pin-point the issue. This
> is indeed a bug in xsltproc then and we can therefore close this bug
> again!
> 
> I will make the necessary modifications to all buildds in question!

You're welcome. Thank you for fixing the buildds, much appreciated!

Cheers,

Jelmer