Nikita Karetnikov <nik...@karetnikov.org> skribis: > So I ran this command: > > $ ./pre-inst-env guix build bootstrap-tarballs > --target=mips64el-linux-gnuabi64 > > but it failed due to the already known problem: > > /tmp/nix-build-glibc-cross-mips64el-linux-gnuabi64-2.18.drv-0/build/libc_pic.a: > could not read symbols: Archive has no index; run ranlib to add one
That’s when cross-building from i686-linux, and that’s really a glibc issue. > Then I tried this one: > > $ ./pre-inst-env guix build bootstrap-tarballs -s x86_64-linux > --target=mips64el-linux-gnuabi64 > > which returned > > guix build: error: build failed: a `x86_64-linux' is required to build > `/nix/store/v68c12la3xlxii4risamhmh1fic04jq4-gcc-4.7.3.drv', but I am a > `i686-linux' > > How long will it take for Hydra to catch up? There is a percentage on > hydra.gnu.org (under the word “Success”). Is it the thing I’m looking > for? > > Also, how can I check whether this particular package [1] was built or > not? Like this: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (use-modules (guix store)(guix derivations)(guix packages)(gnu packages compression)) scheme@(guile-user)> (define s (open-connection)) scheme@(guile-user)> (package-cross-derivation s bzip2 "mips64el-linux-gnuabi64") $2 = #<derivation /nix/store/zk41hhbyfw88vzch4cnillvmgjwv9wn6-bzip2-1.0.6.drv => /nix/store/bh6xbykpjgwsn0cfzq3zzcbs9cih154k-bzip2-1.0.6 4ba0500> scheme@(guile-user)> (has-substitutes? s (derivation->output-path $2)) $3 = #f --8<---------------cut here---------------end--------------->8--- However: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (use-modules (gnu packages make-bootstrap)) scheme@(guile-user)> (package-cross-derivation s %bootstrap-tarballs "mips64el-linux-gnuabi64") $4 = #<derivation /nix/store/2ng9gri40z4l1ql0r72aqvslal2fl22w-bootstrap-tarballs-0.drv => /nix/store/46s2jwp95dfqh0yv6gyww6hhnsdxd4d7-bootstrap-tarballs-0 4a77fa0> scheme@(guile-user)> (has-substitutes? s (derivation->output-path $4)) $5 = #t --8<---------------cut here---------------end--------------->8--- So the bootstrap tarballs, which include the fixed bzip2, should be substitutable at this time. HTH, Ludo’.