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

Compilation failure on DragonFlyBSD #124

Closed
paragw opened this issue Dec 30, 2019 · 1 comment · Fixed by #129
Closed

Compilation failure on DragonFlyBSD #124

paragw opened this issue Dec 30, 2019 · 1 comment · Fixed by #129

Comments

@paragw
Copy link

paragw commented Dec 30, 2019

error[E0432]: unresolved import libc::__error
--> /home/vmuser/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/getrandom-0.1.13/src/util_libc.rs:22:13
|
22 | use libc::__error as errno_location;
| ^^^^^^-------^^^^^^^^^^^^^^^^^^
| | |
| | help: a similar name exists in the module: ferror
| no __error in the root

error: aborting due to previous error

For more information about this error, try rustc --explain E0432.
error: Could not compile getrandom.

@josephlr
Copy link
Member

josephlr commented Jan 6, 2020

I was able to reproduce this with cargo xbuild --target x86_64-unknown-dragonfly. For context, we attempted to get errno working correctly on DragonFlyBSD via rust-lang/libc#1432 but that only allows it to work when libc is a dep of libstd. The is because:

So we will probably just not bother with getting errno information on Dragonfly, which should fix the issue.

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