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

Issue using cargo to install #17

Closed
bneil opened this Issue Feb 23, 2016 · 10 comments

Comments

@bneil

bneil commented Feb 23, 2016

Im currently using cargo 0.7.0-nightly (1af03be 2015-12-08)
using the following command:

cargo install amethyst_tools --verbose
    Updating registry `https://github.com/rust-lang/crates.io-index`
failed to unpack package `amethyst_tools v0.2.4`

Caused by:
  No such file or directory (os error 2)

However I was able to install when specifying the repo directly

cargo install --git https://github.com/ebkalderon/amethyst_tools

I also spun up an ubuntu vm with a clean install of rust/cargo and got the same error as the above

@ebkalderon

This comment has been minimized.

Show comment
Hide comment
@ebkalderon

ebkalderon Feb 23, 2016

Member

@bneil Uh oh! Thanks for reporting this. That's not at all supposed to happen. I'll take a look at this tomorrow.

Member

ebkalderon commented Feb 23, 2016

@bneil Uh oh! Thanks for reporting this. That's not at all supposed to happen. I'll take a look at this tomorrow.

@ebkalderon ebkalderon added this to the 1.0 milestone Feb 23, 2016

@ebkalderon ebkalderon self-assigned this Feb 23, 2016

@White-Oak

This comment has been minimized.

Show comment
Hide comment
@White-Oak

White-Oak Feb 23, 2016

Contributor

I was able to get this error using this particular nightly (2015-12-08) (I actually think it's from Rust Nightly 1.6, why does ubuntu uses packages so old?), but only once. Later on, no matter what I'd do, there is no error, unfortunately.

Contributor

White-Oak commented Feb 23, 2016

I was able to get this error using this particular nightly (2015-12-08) (I actually think it's from Rust Nightly 1.6, why does ubuntu uses packages so old?), but only once. Later on, no matter what I'd do, there is no error, unfortunately.

@ebkalderon

This comment has been minimized.

Show comment
Hide comment
@ebkalderon

ebkalderon Feb 23, 2016

Member

@White-Oak @bneil Have either of you been able to reproduce this bug since?

I tried it this morning on the latest nightly as of this writing, which is 1.8.0-nightly (c8fc4817d 2016-02-22). Everything worked fine.

Member

ebkalderon commented Feb 23, 2016

@White-Oak @bneil Have either of you been able to reproduce this bug since?

I tried it this morning on the latest nightly as of this writing, which is 1.8.0-nightly (c8fc4817d 2016-02-22). Everything worked fine.

@White-Oak

This comment has been minimized.

Show comment
Hide comment
@White-Oak

White-Oak Feb 23, 2016

Contributor

@ebkalderon booted to Linux and was able to get this error on nightly-2015-12-08, on current stable and beta channels, but not on the current nightly.
Maybe there was a fix or a change in cargo recently (after Jan 20)?

Contributor

White-Oak commented Feb 23, 2016

@ebkalderon booted to Linux and was able to get this error on nightly-2015-12-08, on current stable and beta channels, but not on the current nightly.
Maybe there was a fix or a change in cargo recently (after Jan 20)?

@White-Oak

This comment has been minimized.

Show comment
Hide comment
@White-Oak

White-Oak Feb 23, 2016

Contributor

Ah, found it rust-lang/cargo#2326.
@ebkalderon you need to republish a crate for it to be opened with cargos compiled prior to 2016-01-25.

Contributor

White-Oak commented Feb 23, 2016

Ah, found it rust-lang/cargo#2326.
@ebkalderon you need to republish a crate for it to be opened with cargos compiled prior to 2016-01-25.

@ebkalderon

This comment has been minimized.

Show comment
Hide comment
@ebkalderon

ebkalderon Feb 23, 2016

Member

@White-Oak I was unaware of this. Thanks! I'll take care of that now.

Member

ebkalderon commented Feb 23, 2016

@White-Oak I was unaware of this. Thanks! I'll take care of that now.

@ebkalderon

This comment has been minimized.

Show comment
Hide comment
@ebkalderon

ebkalderon Feb 23, 2016

Member

Commits 1c836b6, dce8366, and afb1db5 should hopefully fix this. Since we have merged several pull requests since 0.2.4, I've updated the crate version to 0.3.0 and pushed it to Crates.io. If this crate unpacks correctly for you, let me know and I'll close this issue.

Member

ebkalderon commented Feb 23, 2016

Commits 1c836b6, dce8366, and afb1db5 should hopefully fix this. Since we have merged several pull requests since 0.2.4, I've updated the crate version to 0.3.0 and pushed it to Crates.io. If this crate unpacks correctly for you, let me know and I'll close this issue.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Feb 23, 2016

Works for me now, had the same issues.

ghost commented Feb 23, 2016

Works for me now, had the same issues.

@ebkalderon

This comment has been minimized.

Show comment
Hide comment
@ebkalderon

ebkalderon Feb 23, 2016

Member

@Krummer Great! I'm glad it works for you. Is anyone else still having issues?

Member

ebkalderon commented Feb 23, 2016

@Krummer Great! I'm glad it works for you. Is anyone else still having issues?

@ebkalderon

This comment has been minimized.

Show comment
Hide comment
@ebkalderon

ebkalderon Feb 23, 2016

Member

Looks like this issue is resolved. I'll be closing this, but if anyone runs into this problem, feel free to reopen it.

Member

ebkalderon commented Feb 23, 2016

Looks like this issue is resolved. I'll be closing this, but if anyone runs into this problem, feel free to reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment