Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
1.18 doesn't build with 1.17 #42543
Comments
sanxiyn
added
the
A-build
label
Jun 8, 2017
chneukirchen
commented
Jun 9, 2017
|
Same on Void Linux, |
steveklabnik
added
T-compiler
T-infra
labels
Jun 9, 2017
|
tagging with both infra and compiler because i don't know whose fault it is here. |
chneukirchen
commented
Jun 10, 2017
|
src/bootstrap/bootstrap.py reads |
aclemons
commented
Jun 15, 2017
|
Same on Slackware linux. Our build was using |
chneukirchen
commented
Jun 16, 2017
|
FWIW, we currently use this hack to make it use the cargo from $PATH, which then works fine: https://github.com/voidlinux/void-packages/blob/master/srcpkgs/rust/patches/cargo-hack.patch |
|
I suspect at least some of the problem here is from #41779, which will hopefully be fixed soon. I plan to look into it more today, though I wasn't able to reproduce yet. |
This was referenced Jun 16, 2017
added a commit
that referenced
this issue
Jun 17, 2017
added a commit
to Mark-Simulacrum/rust
that referenced
this issue
Jun 18, 2017
added a commit
to frewsxcv/rust
that referenced
this issue
Jun 18, 2017
|
1.18 doesn't build using 1.17 with #42695 applied either. |
|
@kyrias With the same error? Are you using a custom cargo/rustc path? |
Mark-Simulacrum
removed
the
T-compiler
label
Jun 20, 2017
|
Same error, yes. And building without the
|
|
The problem comes from this piece of code, from
Perhaps it is getting run before the stage0 stuff is copied. |
brson
added
P-high
I-nominated
regression-from-stable-to-stable
labels
Jun 20, 2017
|
I know what the problem is, but I haven't figured out how to fix it yet. |
|
Seems like our CI should be running an |
This was referenced Jun 21, 2017
|
@Mark-Simulacrum does that patch backport to 1.18? At minimum we need to provide a patch for packagers, and we should discuss whether this is worth a point release. |
brson
added
I-nominated
and removed
I-nominated
labels
Jun 21, 2017
|
I can confirm that backporting both does fix the build for me. It would also be useful if we could set up a system where a few days before the actual release, what's supposed to become the release tarballs would be released to package maintainers so that we could report back if there's any fairly big problems like this, so it could either be fixed or at the very least noted clearly in the release notes. Especially since I've hit build-breaking bugs in 3 of the last 4 rust releases. It's one of the things I rather like about the way SaltStack does releases, there's a private mailing list for package maintainers were we can test the releases first, and also make the built packages available to the SaltStack people so that they can run their tests on our built packages. |
chneukirchen
commented
Jun 21, 2017
|
This does not fix the bug for me. |
|
And you applied both patches? |
chneukirchen
commented
Jun 21, 2017
|
Duh, missed the first one. Works fine! |
kyrias commentedJun 8, 2017
Trying to build 1.18.0 with the Arch Linux 1.17.0 package results in the following error:
(It's built in a clean chroot.)