Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

nix dependency fails to compile for AIX targets

Chiusa
#15,083 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
build-system

Direzione di ricerca

Start by checking how the repository resolves the nix and libc versions, then reproduce the AIX target build with libc 0.2.190 and 0.2.189. The reported failure is in nix's src/sys/statvfs.rs at filesystem_id; compare that code with the libc change linked in the issue. Done means the affected AIX target builds successfully with the newer libc.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

awaiting upstream dependencies

nix does not build successfully for AIX targets with libc 0.2.190, but does with libc 0.2.189.

error[E0308]: mismatched types
   --> ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.31.3/src/sys/statvfs.rs:109:9
    |
108 |     pub fn filesystem_id(&self) -> c_ulong {
    |                                    ------- expected `u64` because of return type
109 |         self.0.f_fsid
    |         ^^^^^^^^^^^^^ expected `u64`, found `fsid_t`

failure first occurs with https://github.com/rust-lang/libc/commit/061f61b2344cb0513436f6839d31933f61387de0 from https://github.com/rust-lang/libc/pull/5380

Lingua principale
Rust
Stelle
24.3k
Fork
2.1k
Merge medio
2g 1h
PR unite (30g)
313

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di uutils/coreutils

Tutte le issue di uutils/coreutils

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.