Hi Santiago, Quoting Santiago Vila (2024-10-12 03:25:30) > Here is a short list of packages which FTBFS in trixie when using the unshare > backend with sbuild 0.86.1, but build ok with a file-based chroot: > > daemontools > elogind > flatpak > gnome-shell > golang-github-containers-toolbox > golang-github-shirou-gopsutil > golang-github-tklauser-go-sysconf > golang-github-tklauser-numcpus > golang-github-ungerik-go-sysfs > ipsvd > ironic-python-agent > macs > netplan.io > network-manager > pyopencl > python-mne > ruby-macaddr > sasmodels > silx > tuned > ucspi-tcp > umockdev > util-linux
thank you for your analysis! I have rebuilt netplan.io successfully on my laptop using the following patch to /usr/libexec/sbuild-usernsexec: diff --git a/bin/sbuild-usernsexec b/bin/sbuild-usernsexec index 336d5990..78ae1463 100755 --- a/bin/sbuild-usernsexec +++ b/bin/sbuild-usernsexec @@ -419,6 +419,7 @@ if (!$pivotroot) { exec @ARGV; } +if (0) { # pivot root my $target = "/mnt"; my $put_old = "tmp"; @@ -440,6 +441,10 @@ chroot "." or die "failed to chroot() to .: $!"; # chdir while we are still root chdir $dir or die "unable to chdir $dir: $!"; +} else { + chroot $rootdir or die "failed to chroot() to .: $!"; + chdir $dir or die "unable to chdir /: $!"; +} # Look up the uid and gid for $user without getpwnam as that could call into # nss modules and the version and architecture of the running perl interpreter I have ssh access to two machines with more than 3.6 GB RAM but both are currently doing workloads for the reproducible builds project. Do you have capacity to rebuild the package set you identified with /usr/libexec/sbuild-usernsexec patched with above patch and see what happens? If not, I'll do it myself but it will take until Monday. :) Thanks! cheers, josch
signature.asc
Description: signature