Quoting Sebastian Ramacher (2021-02-11 10:00:42) > > > A workaround for this problem is indeed to add > > > > > > --chroot-setup-commands="chmod 777 /dev/shm" > > > > > > to your sbuild invocation. A cursory glance into the pbuilder codebase reveals > > > that pbuilder will mount a tmpfs into /dev/shm: > > > > > > https://sources.debian.org/src/pbuilder/0.231/pbuilder-modules/?hl=417#L417 > > > > > > For sbuild, whether this is done, this depends on your chroot backend. The > > > package builds fine on the buildds though, so I guess they have a schroot setup > > > that sets /dev/shm up correctly? > > > > OK, so I'll submit this as a bug report / feature request to sbuild. > > schroot already does the same in the sbuild and buildd profiles: > > https://sources.debian.org/src/schroot/1.6.10-11/etc/profile-templates/buildd/linux/fstab/ > https://sources.debian.org/src/schroot/1.6.10-11/etc/profile-templates/sbuild/linux/fstab/ > > Is your setup using any of the two profiles? It seems it is. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982518#13 Lets continue figuring this problem out via the BTS. Thanks! cheers, josch
Attachment:
signature.asc
Description: signature