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

rustpkg: workcache causes problems for "rustpkg install" #9112

Closed
MicahChalmer opened this issue Sep 11, 2013 · 2 comments
Closed

rustpkg: workcache causes problems for "rustpkg install" #9112

MicahChalmer opened this issue Sep 11, 2013 · 2 comments

Comments

@MicahChalmer
Copy link
Contributor

There are some problems with workcache and rustpkg install, which I'm guessing stem from the same underlying problem:

  1. If you do a successful rustpkg build, then a subsequent rustpkg install won't install anything (nothing is copied to bin, and bin is not created if it doesn't exist) but rustpkg will return a successful exit status, and print a few messages about files being fresh.

  2. If you do a successful rustpkg install (one which actually installs--not one that exhibits the problem above) and then remove the binary from bin, a subsequent rustpkg install or rustpkg build will fail with something like this:

    task failed at 'Unhandled condition: bad_stat: (std::path::PosixPath{is_absolute: true, components: ["home", ~"micah", ~"progs", ~"rustpkg-wc-bug", ~"bin", ~"myapp"]}, ~"Couldn't get file access time")'

Removing .rust/rustpkg_db.json from the workspace fixes both problems (temporarily, until the next rustpkg build or install puts it back.)

@ghost ghost assigned catamorphism Sep 12, 2013
@catamorphism
Copy link
Contributor

Yes, I see why this is true. Good catch, I'll look into it.

@catamorphism
Copy link
Contributor

I have a patch fixing this bug, but it's blocked on #9263 landing.

bors added a commit that referenced this issue Sep 20, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Jul 18, 2022
Correct `[clippy::version]` for 1.62 lints and add note to docs

closes: rust-lang/rust-clippy#9088

changelog: none

---

It feels weird to have such a short PR description. So, what should I add to this one... Yes, art:

```txt
 ,-----.,--.,--.
'  .--./|  |`--' ,---.  ,---.,--. ,--.
|  |    |  |,--.| .-. || .-. |\  '  /
'  '--'\|  ||  || '-' '| '-' ' \   '
 `-----'`--'`--'|  |-' |  |-'.-'  /
                `--'   `--'  `---'
```

```txt
 ,-----.,--.   ,--.,------. ,------.,--.   ,--.
'  .--./|  |   |  ||  .--. '|  .--. '\  `.'  /
|  |    |  |   |  ||  '--' ||  '--' | '.    /
'  '--'\|  '--.|  ||  | --' |  | --'    |  |
 `-----'`-----'`--'`--'     `--'        `--'
```

```txt
   _____ _      _____ _____  _______     __
  / ____| |    |_   _|  __ \|  __ \ \   / /
 | |    | |      | | | |__) | |__) \ \_/ /
 | |    | |      | | |  ___/|  ___/ \   /
 | |____| |____ _| |_| |    | |      | |
  \_____|______|_____|_|    |_|      |_|
```
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

Successfully merging a pull request may close this issue.

2 participants