Skip to content

failed to build binary for mipsel musl #472

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

Closed
1715173329 opened this issue Mar 30, 2021 · 2 comments
Closed

failed to build binary for mipsel musl #472

1715173329 opened this issue Mar 30, 2021 · 2 comments

Comments

@1715173329
Copy link
Contributor

1715173329 commented Mar 30, 2021

Same error could be seen on:

mips-unknown-linux-musl
mipsel-unknown-linux-musl
i686-unknown-linux-musl

Version: 1.10.0+

Error log:

error[E0425]: cannot find value `SO_INCOMING_CPU` in crate `libc`
    --> /cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.0/src/sys/unix.rs:1201:69
     |
1201 |             getsockopt::<c_int>(self.inner, libc::SOL_SOCKET, libc::SO_INCOMING_CPU)
     |                                                                     ^^^^^^^^^^^^^^^ not found in `libc`

error[E0425]: cannot find value `SO_INCOMING_CPU` in crate `libc`
    --> /cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.0/src/sys/unix.rs:1217:23
     |
1217 |                 libc::SO_INCOMING_CPU,
     |                       ^^^^^^^^^^^^^^^ not found in `libc`

   Compiling thread-id v3.3.0
   Compiling atty v0.2.14
error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0425`.
error: could not compile `socket2`

See also: https://github.com/shadowsocks/shadowsocks-rust/runs/2210928621?check_suite_focus=true#step:4:371

@zonyitoo
Copy link
Collaborator

rust-lang/socket2#213

@zonyitoo
Copy link
Collaborator

zonyitoo commented Apr 6, 2021

Fixed in libc's master branch.

@zonyitoo zonyitoo closed this as completed Apr 6, 2021
zonyitoo added a commit that referenced this issue Apr 7, 2021
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

No branches or pull requests

2 participants