[Pkg-samba-maint] samba build failure on raspbian stretch rm: cannot remove '/«BUILDDIR»/samba-4.1.17+dfsg/debian/tmp/usr/share/man/man1/vfstest.1': No such file or directory

peter green plugwash at p10link.net
Tue May 5 01:05:58 UTC 2015

On 04/05/15 12:27, Jelmer Vernooij wrote:
> Hmm, I guess we don't actually preserve the output from xsltproc there
> either. :-( You can try manually running xsltproc a couple of times
> from a chroot.
Thanks, I hacked up the xlstproc wrapper script so it recorded the 
commands it ran so I could retry them manually. Doing so I got the error 
sem_open: Function not implemented
> Do es your chroot have /dev/shm available?
It appears you have hit on the problem, in my test chroot I had nothing 
mounted on /dev/shm (or /run/shm) and this broke faketime. When I 
mounted a tmpfs there the problem went away and I was able to run 
xsltproc through faketime serveral times in a row.

Then I went on to investigate the autobuilders. While doing so I noticed 
I had "profile=sbuild" in the chroot definition for jessie-staging but 
not the one for stretch-staging. It appears that the sbuild profile 
mounts /run/shm (faketime seems to be ok with either /dev/shm or 
/run/shm) I added it and gave back the build which succeeded.

Thanks for the help.

P.S. better error recording (recording the error in the configure log) 
and handling (not keeping going anyway to finally fail with missing 
files right at the end of a long build) would be greatly appreciated.
>   If it does, then this is
> probably a different problem.
> Cheers,
> Jelmer

More information about the Pkg-samba-maint mailing list