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

error: failed to compile bat v0.12.1, intermediate artifacts can be found at /tmp/cargo-installsQOPWY #7747

Closed
lgd8069465 opened this issue Dec 27, 2019 · 3 comments
Labels
C-bug Category: bug

Comments

@lgd8069465
Copy link

Problem

error: failed to compile `bat v0.12.1`, intermediate artifacts can be found at `/tmp/cargo-installsQOPWY`

Caused by:
  cannot produce proc-macro for `failure_derive v0.1.6` as the target `x86_64-unknown-linux-musl` does not support these crate types

Steps

[root@docker opt]# cat Dockerfile 
FROM rust:alpine
MAINTAINER 1071858797@qq.com
RUN cargo -V  && cargo install bat
[root@docker opt]# docker build -t lgd/rust:alpine -f Dockerfile .

Notes

Output of cargo version:

cargo 1.40.0 (bc8e4c8be 2019-11-22)
@lgd8069465 lgd8069465 added the C-bug Category: bug label Dec 27, 2019
@ehuss
Copy link
Contributor

ehuss commented Dec 27, 2019

Thanks, this is a known issue. Closing as a duplicate of #7563.

@ehuss ehuss closed this as completed Dec 27, 2019
@lgd8069465
Copy link
Author

it is a problem with glibc from alpine , i solved it, for reference only, plaese see here

@sandy125vn
Copy link

tks po

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

3 participants