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

rustbuild: Fix no output generated error for next bootstrap cargo. #45496

Merged
merged 1 commit into from
Oct 26, 2017

Conversation

kennytm
Copy link
Member

@kennytm kennytm commented Oct 24, 2017

Due to rust-lang/cargo#4570, a *.dll.lib file is uplifted when building dynamic libraries on Windows. The current bootstrap code does not understand files with multiple extensions, and will instead assume xxxx.dll is the file name. This caused a no output generated error because it tries to search for xxxx.dll-hash.lib inside the deps/ folder, while it should check for xxxx-hash.dll.lib instead.

This PR is blocking #45285, see #45285 (comment) and the rest of the comments for detail.

Due to rust-lang/cargo#4570, a `*.dll.lib` file is uplifted when building
dynamic libraries on Windows. The current bootstrap code does not
understand files with multiple extensions, and will instead assume
`xxxx.dll` is the file name. This caused a `no output generated` error
because it tries to search for `xxxx.dll-hash.lib` inside the `deps/`
folder, while it should check for `xxxx-hash.dll.lib` instead.

This PR is blocking rust-lang#45285 (Bump to 1.23 and update bootstrap).
@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@kennytm kennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 24, 2017
@Mark-Simulacrum
Copy link
Member

Seems fine to me but I'm not really experienced with Cargo's output enough to r+ this.

r? @alexcrichton

@alexcrichton
Copy link
Member

@bors: r+

Thanks!

@bors
Copy link
Contributor

bors commented Oct 25, 2017

📌 Commit 3b81573 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Oct 25, 2017

⌛ Testing commit 3b81573 with merge 86754211c7323b188efb71e7e156968cc2383f4d...

@bors
Copy link
Contributor

bors commented Oct 25, 2017

💔 Test failed - status-appveyor

@kennytm
Copy link
Member Author

kennytm commented Oct 25, 2017

@bors retry 3 hour timed out.

@nikomatsakis
Copy link
Contributor

r? @alexcrichton

@kennytm kennytm added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 25, 2017
kennytm added a commit to kennytm/rust that referenced this pull request Oct 25, 2017
…ck, r=alexcrichton

rustbuild: Fix `no output generated` error for next bootstrap cargo.

Due to rust-lang/cargo#4570, a `*.dll.lib` file is uplifted when building dynamic libraries on Windows. The current bootstrap code does not understand files with multiple extensions, and will instead assume `xxxx.dll` is the file name. This caused a `no output generated` error because it tries to search for `xxxx.dll-hash.lib` inside the `deps/` folder, while it should check for `xxxx-hash.dll.lib` instead.

This PR is blocking rust-lang#45285, see rust-lang#45285 (comment) and the rest of the comments for detail.
bors added a commit that referenced this pull request Oct 25, 2017
Rollup of 7 pull requests

- Successful merges: #45059, #45212, #45398, #45483, #45496, #45508, #45526
- Failed merges:
@bors bors merged commit 3b81573 into rust-lang:master Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants