# misuse a mk-sbuild to set up all around that might be needed (despite throwing most away afterwards)
$ SID=LP-zesty-repro
$ mk-sbuild zesty --arch amd64 --name=${SID}
# replace content with the tarball from launchpad
$ sudo rm -rf /var/lib/schroot/chroots/${SID}-amd64/*
# launchpad tells you where to get the original chroot used by LP (https://api.launchpad.net/devel/ubuntu/zesty/amd64)
# get it and replace the local chroot content with it
$ wget http://launchpadlibrarian.net/289945545/chroot-ubuntu-zesty-amd64.tar.bz2
$ sudo tar --directory /var/lib/schroot/chroots/${SID}-amd64/ -xzf ~/Downloads/chroot-ubuntu-zesty-amd64.tar.bz2
$ sudo mv /var/lib/schroot/chroots/${SID}-amd64/chroot-autobuild/* /var/lib/schroot/chroots/${SID}-amd64/
$ sudo rmdir /var/lib/schroot/chroots/${SID}-amd64/chroot-autobuild
# Update to all packages and proposed as build env would
$ printf "deb http://archive.ubuntu.com/ubuntu zesty main universe\ndeb http://archive.ubuntu.com/ubuntu zesty-security main universe\ndeb http://archive.ubuntu.com/ubu
$ sudo sbuild-update -udcar ${SID}-amd64
# build as usual (this env sticks around so feel free to reuse)
$ DEB_BUILD_OPTIONS="parallel=4" sbuild -Ad${SID}-amd64 libvirt_2.1.0-1ubuntu10.dsc
Unfortunately that only triggered once, and retrying is hard as it either takes quite a while (full build) or behaves slightly differently when e.g. only running all tests but not rebuilding in the schroot.
I was able once (1!) to reproduce outside of launchpad by using the following steps to become more like launchpad:
# Prep needed packages
$ sudo apt-get install sbuild ubuntu-dev-tools
# misuse a mk-sbuild to set up all around that might be needed (despite throwing most away afterwards) schroot/ chroots/ ${SID}- amd64/* /api.launchpad. net/devel/ ubuntu/ zesty/amd64) launchpadlibrar ian.net/ 289945545/ chroot- ubuntu- zesty-amd64. tar.bz2 schroot/ chroots/ ${SID}- amd64/ -xzf ~/Downloads/ chroot- ubuntu- zesty-amd64. tar.bz2 schroot/ chroots/ ${SID}- amd64/chroot- autobuild/ * /var/lib/ schroot/ chroots/ ${SID}- amd64/ schroot/ chroots/ ${SID}- amd64/chroot- autobuild archive. ubuntu. com/ubuntu zesty main universe\ndeb http:// archive. ubuntu. com/ubuntu zesty-security main universe\ndeb http:// archive. ubuntu. com/ubu OPTIONS= "parallel= 4" sbuild -Ad${SID}-amd64 libvirt_ 2.1.0-1ubuntu10 .dsc
$ SID=LP-zesty-repro
$ mk-sbuild zesty --arch amd64 --name=${SID}
# replace content with the tarball from launchpad
$ sudo rm -rf /var/lib/
# launchpad tells you where to get the original chroot used by LP (https:/
# get it and replace the local chroot content with it
$ wget http://
$ sudo tar --directory /var/lib/
$ sudo mv /var/lib/
$ sudo rmdir /var/lib/
# Update to all packages and proposed as build env would
$ printf "deb http://
$ sudo sbuild-update -udcar ${SID}-amd64
# build as usual (this env sticks around so feel free to reuse)
$ DEB_BUILD_
Unfortunately that only triggered once, and retrying is hard as it either takes quite a while (full build) or behaves slightly differently when e.g. only running all tests but not rebuilding in the schroot.