Nikolaus Rath writes ("Bug#958989: dgit-user(7): building instructions don't work"): > On Apr 28 2020, Ian Jackson <ijack...@chiark.greenend.org.uk> wrote: > > mkdir ../aside > > mv ../valgrind_* ../aside > > sbuild --chroot-mode=autopkgtest --autopkgtest-virt-server=null -A \ > > --no-clean-source --dpkg-source-opts='-Zgzip -z1 --format=1.0 -sn' > > > > and send me the log ? > > This worked. > > > Log is attached (generated with `script`).
Thanks. This is all quite mysterious to me and I'm not sure where to go next. There are *two* things I don't understand: (1) Why your sbuild with schroot rune fails but mine succeeds (2) Why I get an FTBFS on the original valgrind from sid, when apparently you don't Since you say the failure (1) occurs before the build starts, I think these two things are unrelated, and it will hopefully be possible to debug (1) without having to understand (2). I'm hoping that (2) will be fixed by an upload of valgrind to sid which fixes #946329 ... So on with (1). To recap, AIUI we now have a situation where in your setup (a) sbuild -c buster-amd64 -A \ --no-clean-source --dpkg-source-opts='-Zgzip -z1 --format=1.0 -sn' gives the error from dpkg-source, but (b) schroot into the buster-amd64 chroot sbuild --chroot-mode=autopkgtest --autopkgtest-virt-server=null -A \ --no-clean-source --dpkg-source-opts='-Zgzip -z1 --format=1.0 -sn' works. I think (a) will run dpkg-source to build the source pacakge outside the chroot. (b) obviously runs it inside it. Maybe you have some environment variable or a funny version of dpkg-dev or something ? Can you send me the output of printenv | sort and the version of dpkg-dev you have outside the chroot ? Also I would like to try a repro that is smaller than valgrind :-). I wonder if you would be willing to try using the test case from the dgit test suite: # apt --no-install-recommends install dgit dgit-infrastructure devscripts debhelper fakeroot build-essential chiark-utils-bin \ bc faketime liburi-perl sbuild man-db # ^ # from dgit/debian/tests/control, stanza for sbuild-gitish $ dgit clone dgit $ cd dgit $ DGIT_SCHROOT_CHROOT=buster-amd64 tests/tests/sbuild-gitish 2>&1 |tee log Thanks for your help debugging this... Ian.