-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Open
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on
Description
Describe the bug
At current master, this fails:
nix build pkgsCross.gnu64.bash --system x86_64-linux
Screenshots
$ git rev-parse HEAD
ba448b056b5dcd97eb875596a0962912771a2bdf
$ nix build -f . -L pkgsCross.gnu64.bash
bash> configure flags: --disable-static --prefix=/nix/store/cygrphwqmv7lmcgdk53m76sw4zp8c5f0-bash-5.2-p15-x86_64-unknown-linux-gnu --bindir=/nix/store/cygrphwqmv7lmcgdk53m76sw4zp8c5f0-bash-5.2-p15-x86_64-unknown-linux-gnu/bin --sbindir=/nix/store/cygrphwqmv7lmcgdk53m76sw4zp8c5f0-bash-5.2-p15-x86_64-unknown-linux-gnu/sbin --includedir=/nix/store/fq5ifn83r9y7qzfrabj2pcsqj8i5mri2-bash-5.2-p15-x86_64-unknown-linux-gnu-dev/include --oldincludedir=/nix/store/fq5ifn83r9y7qzfrabj2pcsqj8i5mri2-bash-5.2-p15-x86_64-unknown-linux-gnu-dev/include --mandir=/nix/store/bbvqpyzvxf92spv70ds2dah3fjkaxwi5-bash-5.2-p15-x86_64-unknown-linux-gnu-man/share/man --infodir=/nix/store/j957krj8qlfzawp30i45w99lr0jrxzm9-bash-5.2-p15-x86_64-unknown-linux-gnu-info/share/info --docdir=/nix/store/rwmvr3pc2r7hfhzny28yhdr0vaq2zamx-bash-5.2-p15-x86_64-unknown-linux-gnu-doc/share/doc/bash --libdir=/nix/store/cygrphwqmv7lmcgdk53m76sw4zp8c5f0-bash-5.2-p15-x86_64-unknown-linux-gnu/lib --libexecdir=/nix/store/cygrphwqmv7lmcgdk53m76sw4zp8c5f0-bash-5.2-p15-x86_64-unknown-linux-gnu/libexec --localedir=/nix/store/cygrphwqmv7lmcgdk53m76sw4zp8c5f0-bash-5.2-p15-x86_64-unknown-linux-gnu/share/locale --disable-readline bash_cv_job_control_missing=nomissing bash_cv_sys_named_pipes=nomissing bash_cv_getcwd_malloc=yes --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu
bash> configure: WARNING: unrecognized options: --disable-static
bash> checking build system type... x86_64-unknown-linux-gnu
bash> checking host system type... x86_64-unknown-linux-gnu
bash> Beginning configuration for bash-5.2-release for x86_64-unknown-linux-gnu
bash> checking for x86_64-unknown-linux-gnu-gcc... x86_64-unknown-linux-gnu-gcc
bash> checking whether the C compiler works... no
bash> configure: error: in `/build/bash-5.2':
bash> configure: error: C compiler cannot create executables
bash> See `config.log' for more details
From config.log:
configure:4363: $? = 1
configure:4383: checking whether the C compiler works
configure:4405: x86_64-unknown-linux-gnu-gcc conftest.c >&5
/nix/store/zsvpmlddl2i5mpzm031a99xfpn410m5b-binutils-2.40/bin/ld: cannot find crt1.o: No such file or directory
/nix/store/zsvpmlddl2i5mpzm031a99xfpn410m5b-binutils-2.40/bin/ld: cannot find crti.o: No such file or directory
/nix/store/zsvpmlddl2i5mpzm031a99xfpn410m5b-binutils-2.40/bin/ld: cannot find -lgcc_s: No such file or directory
collect2: error: ld returned 1 exit status
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on