packer-openbsd icon indicating copy to clipboard operation
packer-openbsd copied to clipboard

OpenBSD 6.0 build fails

Open isido opened this issue 7 years ago • 3 comments

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.

isido avatar Oct 26 '16 09:10 isido

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.

ryanmaclean avatar Oct 30 '16 00:10 ryanmaclean

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.

isido avatar Nov 01 '16 07:11 isido

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.

isido avatar Nov 08 '16 19:11 isido