Skip to content

Vagrantfile currently fails on provisioning #114

@paperclipstudio

Description

@paperclipstudio

When I run vagrant up I get the following errors and the provisioning doesn't complete.

	==> bundlegen: Running provisioner: shell...
    bundlegen: Running: inline script
    bundlegen: GOOS=linux GOARCH=amd64 go build  -tags "" -buildvcs=false -buildmode=pie -ldflags "-s -w -X github.com/opencontainers/umoci.gitCommit="c6c4428ce046b92a541f6e0c89b9e00f758d83bb" -X github.com/opencontainers/umoci.version=0.4.7+dev" -o ./umoci github.com/opencontainers/umoci/cmd/umoci
    bundlegen: flag provided but not defined: -buildvcs
    bundlegen: usage: go build [-o output] [-i] [build flags] [packages]
    bundlegen: Run 'go help build' for details.
    bundlegen: make: *** [Makefile:97: umoci] Error 2
    bundlegen: GOOS=linux GOARCH=amd64 go build  -tags "" -buildvcs=false -buildmode=pie -ldflags "-s -w -X github.com/opencontainers/umoci.gitCommit="c6c4428ce046b92a541f6e0c89b9e00f758d83bb" -X github.com/opencontainers/umoci.version=0.4.7+dev" -o ./umoci github.com/opencontainers/umoci/cmd/umoci
    bundlegen: flag provided but not defined: -buildvcs
    bundlegen: usage: go build [-o output] [-i] [build flags] [packages]
    bundlegen: Run 'go help build' for details.
    bundlegen: make: *** [Makefile:97: umoci] Error 2
    bundlegen: Cloning into 'bundlegen'...
    bundlegen: Bad owner or permissions on /home/vagrant/.ssh/config
    bundlegen: fatal: Could not read from remote repository.
    bundlegen:
    bundlegen: Please make sure you have the correct access rights
    bundlegen: and the repository exists.
    bundlegen: /tmp/vagrant-shell: line 15: cd: bundlegen: No such file or directory
    bundlegen: ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
    bundlegen: WARNING: You are using pip version 19.3.1; however, version 23.3.1 is available.
    bundlegen: You should consider upgrading via the 'pip install --upgrade pip' command.
    bundlegen: ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/vagrant
    bundlegen: WARNING: You are using pip version 19.3.1; however, version 23.3.1 is available.
    bundlegen: You should consider upgrading via the 'pip install --upgrade pip' command.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
                                                               

If I get time I will have a look into fixing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions