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

aarch64-unknown-linux-gnu build broken #28

Closed
andir opened this issue Sep 17, 2023 · 1 comment
Closed

aarch64-unknown-linux-gnu build broken #28

andir opened this issue Sep 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@andir
Copy link

andir commented Sep 17, 2023

I've just ran make in the ci folder while on 094c8c7 and was greeted with this:

$ make
cross build --target  aarch64-unknown-linux-gnu
info: downloading component 'rust-std' for 'aarch64-unknown-linux-gnu'
info: installing component 'rust-std' for 'aarch64-unknown-linux-gnu'
 32.3 MiB /  32.3 MiB (100 %)  15.1 MiB/s in  2s ETA:  0s
Unable to find image 'ghcr.io/cross-rs/aarch64-unknown-linux-gnu:0.2.5' locally
0.2.5: Pulling from cross-rs/aarch64-unknown-linux-gnu
58690f9b18fc: Pull complete 
b51569e7c507: Pull complete 
da8ef40b9eca: Pull complete 
fb15d46c38dc: Pull complete 
9d5962c83f5f: Pull complete 
9cccf86b8f43: Pull complete 
4c6d73517e75: Pull complete 
4afe128e6862: Pull complete 
2765f54cfdee: Pull complete 
40c841a9d0e8: Pull complete 
70c492706cd4: Pull complete 
b376264cc3c9: Pull complete 
f94a42110e99: Pull complete 
29835156cc05: Pull complete 
d48b139772fe: Pull complete 
55ba4d0a0c25: Pull complete 
5f4fa2c62d4d: Pull complete 
6bc43a1e4611: Pull complete 
Digest: sha256:7f8308a8734d9fcd2ebbe9a3e4bdea74af293f0799d80c3cc341e340cda49a4c
Status: Downloaded newer image for ghcr.io/cross-rs/aarch64-unknown-linux-gnu:0.2.5
   Compiling libc v0.2.148
   Compiling cc v1.0.83
   Compiling nc v0.8.17 (/project)
error: ambiguous glob re-exports
   --> src/platform/linux-types/mod.rs:14:9
    |
14  | pub use arch::*;
    |         ^^^^^^^ the name `MINSIGSTKSZ` in the value namespace is first re-exported here
...
66  | pub use uapi::*;
    |         ------- but the name `MINSIGSTKSZ` in the value namespace is also re-exported here
    |
note: the lint level is defined here
   --> src/lib.rs:126:5
    |
126 |     warnings,
    |     ^^^^^^^^
    = note: `#[deny(ambiguous_glob_reexports)]` implied by `#[deny(warnings)]`

error: ambiguous glob re-exports
  --> src/platform/linux-types/mod.rs:14:9
   |
14 | pub use arch::*;
   |         ^^^^^^^ the name `SIGSTKSZ` in the value namespace is first re-exported here
...
66 | pub use uapi::*;
   |         ------- but the name `SIGSTKSZ` in the value namespace is also re-exported here

error: could not compile `nc` (lib) due to 2 previous errors
make: *** [Makefile:16: cross-aarch64] Error 101

I've also tried to test for the mips target (as that is what I am actually using) but there it fails with a ton of errors about my rustup setup.

@XuShaohua XuShaohua added the bug Something isn't working label Sep 19, 2023
@XuShaohua
Copy link
Owner

@andir Hi Andreas, please check that everything is ok now in your dev environment. A new version will be released by the end of this week.

By the way, rust-lang/rust#115218 might be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants