On 2021-02-11 08:57:47, Julian Gilbey wrote: > On Thu, Feb 11, 2021 at 08:31:19AM +0100, Johannes Schauer Marin Rodrigues > wrote: > > Hi Julian, > > > > Quoting Julian Gilbey (2021-02-11 08:20:45) > > > When trying to build amp and spherepack on my Debian testing machine, I > > > get a > > > build failure, but I don't if I use pbuilder. Johannes Schauer Marin > > > Rodrigues has kindly identified the source of the problem, in > > > https://lists.debian.org/debian-devel/2021/02/msg00167.html (my question) > > > and > > > https://lists.debian.org/debian-devel/2021/02/msg00168.html (Josch's > > > analysis). > > > > yes, that's me, the sbuild maintainer. :) > > Hi Josch, > > Hah! I hadn't realised! Thanks for being so helpful :-) > > > [...] > > > The first is clearly more efficient. However, the second is somewhat > > > more sophisticated because of the different operating systems; see > > > /usr/lib/pbuilder/pbuilder-modules for how they deal with it. > > > > which chroot mode are you using? Are you using schroot? In that case, how > > does > > this file look like on your system: > > > > /etc/schroot/sbuild/fstab > > > > Thanks! > > > > cheers, josch > > I am using schroot mode; my /etc/sbuild/sbuild.conf has $chroot_mode > commented out, and I have set up an schroot called "sid-sbuild" with > an alias "unstable-sbuild": > > [sid-sbuild] > type=directory > description=Debian sid sbuild > directory=/srv/chroot/sid-sbuild > groups=root,sbuild > root-groups=sbuild > aliases=unstable-sbuild
This is missing a profile=sbuild. Cheers > > and I call sbuild with the command: > sbuild -s -A -d unstable DSC_FILE.dsc > > My /etc/schroot/sbuild/fstab reads: > # fstab: static file system information for chroots. > # Note that the mount point will be prefixed by the chroot path > # (CHROOT_PATH) > # > # <file system> <mount point> <type> <options> <dump> <pass> > /proc /proc none rw,bind 0 0 > /sys /sys none rw,bind 0 0 > /dev/pts /dev/pts none rw,bind 0 0 > tmpfs /dev/shm tmpfs defaults 0 0 > # Mount a large scratch space for the build, so we don't use up > # space on an LVM snapshot of the chroot itself. > /var/lib/sbuild/build /build none rw,bind 0 0 > > > Does that shed any light on anything? > > Best wishes, > > Julian -- Sebastian Ramacher

