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

Build bat on AIX #3212

Open
arozehnal opened this issue Feb 22, 2025 · 0 comments
Open

Build bat on AIX #3212

arozehnal opened this issue Feb 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@arozehnal
Copy link

cargo install --locked bat
Updating crates.io index
Downloaded bat v0.25.0
Downloaded 1 crate (2.0 MB) in 1.44s
Installing bat v0.25.0
Updating crates.io index
warning: package rgb v0.8.34 in Cargo.lock is yanked in registry crates-io, consider running without --locked
Updating crates.io index
Downloaded num-conv v0.1.0
Downloaded shell-escape v0.1.5
Downloaded ident_case v1.0.1

....
...
Compiling quote v1.0.35
Compiling jobserver v0.1.25
Compiling syn v2.0.93
Compiling errno v0.3.3
error[E0609]: no field sa_sigaction on type sigaction
--> /root/.cargo/registry/src/index.crates.io-d11c229612889eed/jobserver-0.1.25/src/unix.rs:246:13
|
246 | new.sa_sigaction = sigusr1_handler as usize;
| ^^^^^^^^^^^^ unknown field
|
= note: available fields are: sa_union, sa_mask, sa_flags

Compiling hashbrown v0.14.1
For more information about this error, try rustc --explain E0609.
error: could not compile jobserver (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile bat v0.25.0, intermediate artifacts can be found at /tmp/cargo-install1GaWRH.

I am not a programmer, I just wanted to compile bt for AIX.
The compilation ended up with errors see attachment.
Am I making a mistake somewhere? Is there any way to fix it?

AIX 7.2

rustc -V
rustc 1.84.1 (e98916a71 2025-02-05) (IBM Open SDK for Rust on AIX 1.84 (5900-BND, 5765-J24))
Community Edition.

cargo -V
cargo 1.84.1 (66221abde 2024-11-19)

@arozehnal arozehnal added the bug Something isn't working label Feb 22, 2025
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

1 participant