Skip to content

[BUG] Packer build fails with packer 1.8.6 #23

@BoPeng

Description

@BoPeng

On a mac computer, after removing version number from libcurl-devel from provision-rstudio.sh (#22 ), I ran the following command to build the ami:

packer build -var-file=configuration.json packer-ec2-rstudio-workspace.json

The commands runs for over an hour ad fails with the error message,

==> amazon-ebs: ** building package indices
==> amazon-ebs: ** installing vignettes
==> amazon-ebs: ** testing if installed package can be loaded from temporary location
==> amazon-ebs: ** testing if installed package can be loaded from final location
==> amazon-ebs: ** testing if installed package keeps a record of temporary installation path
==> amazon-ebs: * DONE (numDeriv)
==> amazon-ebs: * installing *source* package ‘SparseM’ ...
==> amazon-ebs: ** package ‘SparseM’ successfully unpacked and MD5 sums checked
==> amazon-ebs: ** using staged installation
==> amazon-ebs: ** libs
    amazon-ebs: gfortran -fno-optimize-sibling-calls  -fpic  -g -O2  -c bckslv.f -o bckslv.o
    amazon-ebs: gfortran -fno-optimize-sibling-calls  -fpic  -g -O2  -c chol.f -o chol.o
    amazon-ebs: gfortran -fno-optimize-sibling-calls  -fpic  -g -O2  -c chol2csr.f -o chol2csr.o
    amazon-ebs: gfortran -fno-optimize-sibling-calls  -fpic  -g -O2  -c cholesky.f -o cholesky.o
==> amazon-ebs: Script disconnected unexpectedly. If you expected your script to disconnect, i.e. from a restart, you can try adding `"expect_disconnect": true` or `"valid_exit_codes": [0, 2300218]` to the shell provisioner parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions