Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrantfile currently fails on provisioning #114

Open
paperclipstudio opened this issue Nov 7, 2023 · 1 comment
Open

Vagrantfile currently fails on provisioning #114

paperclipstudio opened this issue Nov 7, 2023 · 1 comment

Comments

@paperclipstudio
Copy link
Contributor

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.

@TeknoVenus
Copy link
Contributor

Yes the vagrantfile is very old and not surprised it's broken. We should update a more recent version of Fedora in the process.

@paperclipstudio paperclipstudio changed the title Vagrantfile currently fails on provisioningq Vagrantfile currently fails on provisioning Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants