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

Build cn fails - No versions of github.com/pelletier/go-toml met constraints #140

Open
elminster-aom opened this issue Jul 25, 2023 · 0 comments

Comments

@elminster-aom
Copy link

Following build instructions (for ceph-nano v2.3.1) on MacBook M2 for go version go1.19.11 darwin/arm64 (Similar issues with eldest golang version, supporting darwin/arm64; go1.16):

# make
rm -f cn cn &>/dev/null || true
dep ensure
Solving failure: No versions of github.com/pelletier/go-toml met constraints:
	v2.0.9: Could not introduce github.com/pelletier/go-toml@v2.0.9, as its subpackage github.com/pelletier/go-toml/v2 is missing. (Package is required by github.com/spf13/viper@v1.11.0.)
	v2.0.8: Could not introduce github.com/pelletier/go-toml@v2.0.8, as its subpackage github.com/pelletier/go-toml/v2 is missing. (Package is required by github.com/spf13/viper@v1.11.0.)
...

ℹ️ Full output from make command in the attached file, make.txt

I wonder if this error could be related with viper #1340:

Viper doesn't support dep. It requires Go modules.

All in all, dep project has been archived by the owner on Sep 9, 2020. It is now read-only.

Would it be possible to adapt cn to new architectures and version?

Thanks in advance

@elminster-aom elminster-aom changed the title cn build fails - No versions of github.com/pelletier/go-toml met constraints Build cn fails - No versions of github.com/pelletier/go-toml met constraints Jul 25, 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

1 participant