Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1ff02f894779a6ada9e9ba9af82fc8d916adbc08
      
https://github.com/NixOS/nixpkgs/commit/1ff02f894779a6ada9e9ba9af82fc8d916adbc08
  Author: Tuomas Tynkkynen <tuo...@tuxera.com>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M pkgs/shells/bash/4.4.nix

  Log Message:
  -----------
  bash: Set bash_cv_getcwd_malloc=yes when cross compiling

Because if you don't, the configure script assumes that your getcwd()
function is broken. Which then makes bash use it's own getcwd()
implementation, which doesn't work if the path to the current directory
contains bind mounts in its paths. This shows up as:

shell-init: error retrieving current directory: getcwd: cannot access parent 
directories: Bad file descriptor

... and fails the aarch64 glibc build with sandboxes enabled.

Sigh.

(cherry picked from commit dff0ba38a243603534c99f2cf1af81c793cad98e)


  Commit: a98a83523a7ad123b03b054c4f8925842464f703
      
https://github.com/NixOS/nixpkgs/commit/a98a83523a7ad123b03b054c4f8925842464f703
  Author: Tuomas Tynkkynen <tuo...@tuxera.com>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M pkgs/stdenv/linux/bootstrap-files/aarch64.nix

  Log Message:
  -----------
  stdenv: aarch64: Update bootstrap tarballs

Hopefully fixes sandboxed build of glibc on aarch64, as discussed on
https://github.com/NixOS/nixpkgs/commit/8bfa9f528c88243578246798c7c2ddde045e0de0.

Picked from the following cross-trunk evaluation:
http://hydra.nixos.org/eval/1341395 based on nixpkgs
commit bb3ef8a95c9659596b8a34d27881cd30ffea2f9f.

build job: http://hydra.nixos.org/build/50125932

(busybox's hash not changing is not a bug!)

(cherry picked from commit 20d9edff1723363b0df1d7f44301cefffd8b3881)


Compare: https://github.com/NixOS/nixpkgs/compare/27cc9237fd2a...a98a83523a7a
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to