packer-openbsd
packer-openbsd copied to clipboard
OpenBSD 6.0 build fails
I am seeing this error when building 6.0
virtualbox-iso: Provisioning with shell script: scripts/postinstall.sh
virtualbox-iso: quirks-2.241 signed on 2016-07-26T16:56:10Z
virtualbox-iso: Fatal error: Ustar [http://ftp.openbsd.org/pub/OpenBSD/6.0/packages/amd64/quirks-2.241.tgz][libdata/perl5/site_perl/OpenBSD/Quirks.pm]: Premature end of archive
virtualbox-iso: Fatal error: Installation of quirks-2.241 failed, partial installation recorded as partial-quirks-2.241
Not sure if this is some transient failure with the archive or something else. NB. I also tried boxcutter's openbsd, which failed in a similar way.
Hi @isido - I've just done a test build here that doesn't have that issue, are you able to try a different OpenBSD mirror? The error seems to indicate an issue with that tgz download from http://ftp.openbsd.org/pub/OpenBSD/6.0/packages/amd64/quirks-2.241.tgz
being stopped without completing.
I tried with couple of different mirrors (mainly ftp.eu.openbsd.org) and with different versions (5.8, 5.9, 6.0) and got the same error. I used switch -only=virtualbox=iso with VirtualBox version 5.1.8 (macOS), if that is in any way relevant to the error. The error seems to come when installing sudo - I'll have to investigate a bit, probably by doing a manual install and checking the package signatures.
I tried with different machine (macOS Sierra) and got similar failures. However, I found this: https://github.com/mitchellh/vagrant/issues/7898 which might be something to do with this issue. At least the quirks package is mentioned.