Fails to build Vagrant box on testing/sid: missing /usr/share/doc/vagrant-libvirt/examples/create_box.sh
Today I had to re-generate a Vagrant build box and it failed with
Cleaning up + bash -e -x /usr/share/doc/vagrant-libvirt/examples/create_box.sh tails-builder-amd64-buster-20200511-b22fae3195.qcow2 tails-builder-amd64-buster-20200511-b22fae3195.box bash: /usr/share/doc/vagrant-libvirt/examples/create_box.sh: No such file or directory rake aborted!
Indeed, the Debian package stopped shipping this script. The only explanation is "no more examples scripts". I think the reason is that the upstream tarball does not include that script anymore, which I believe is in turn caused by https://github.com/vagrant-libvirt/vagrant-libvirt/commit/2ca5603ad2e4e7cd90951d2064226de7eec1214b.
Long-term: an upstream patch to include
tools in the tarball again would probably be a mere one-line change; and once that's done, on the Debian front https://salsa.debian.org/ruby-team/vagrant-libvirt/-/commit/e767deba89c8cabb26c2706e1d4f0b6475fd1070 can be reverted. I've proposed this course of action on https://bugs.debian.org/968485.
Short-term: either we require
vagrant-libvirt from Buster, or we import the missing
create_box.sh script into our Git repo.