{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/18015","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/18015/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/18015/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/18015/events","html_url":"https://github.com/NixOS/nixpkgs/issues/18015","id":173457214,"number":18015,"title":"glibc-2.24 build failure: /bin/sh: bad interpreter: No such file or directory -- due to wrong input glibc in the build chroot","user":{"login":"deepfire","id":452652,"avatar_url":"https://avatars.githubusercontent.com/u/452652?v=3","gravatar_id":"","url":"https://api.github.com/users/deepfire","html_url":"https://github.com/deepfire","followers_url":"https://api.github.com/users/deepfire/followers","following_url":"https://api.github.com/users/deepfire/following{/other_user}","gists_url":"https://api.github.com/users/deepfire/gists{/gist_id}","starred_url":"https://api.github.com/users/deepfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepfire/subscriptions","organizations_url":"https://api.github.com/users/deepfire/orgs","repos_url":"https://api.github.com/users/deepfire/repos","events_url":"https://api.github.com/users/deepfire/events{/privacy}","received_events_url":"https://api.github.com/users/deepfire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-26T13:48:19Z","updated_at":"2016-08-26T21:24:47Z","closed_at":null,"body":"## Issue description\r\nGlibc fails to build during a rebuild-switch due to:\r\n```\r\n/nix/store/0p18wvjfcxq3n9s4bawvglj53iwhmpr9-stdenv-linux-boot/setup: /tmp/nix-build-glibc-2.24.drv-0/build/../glibc-2.24/configure: /bin/sh: bad interpreter: No such file or directory\r\n```\r\nFull log attached below.\r\n\r\n### Steps to reproduce\r\n\r\nsudo _NIXOS_REBUILD_REEXEC=1 nixos-rebuild switch -I nixpkgs=${NIXPKGS} --max-jobs 8 --cores 8\r\n\r\n## Technical details\r\n\r\n* System: NixOS unstable\r\n* Nix version: 1.11.2\r\n* Nixpkgs version: \"16.09.git.3de68a3\"\r\n\r\n```\r\n[deepfire@andromedae:~]$ nix-store --realise /nix/store/1yzzfs5fpyjgakvxxndwindgwrdq7lzc-glibc-2.24.drv\r\nthese derivations will be built:\r\n  /nix/store/1yzzfs5fpyjgakvxxndwindgwrdq7lzc-glibc-2.24.drv\r\nbuilding path(s) ‘/nix/store/qk3rg7ny30shbx7y3y442j0mq43ax6cf-glibc-2.24-static’, ‘/nix/store/v\r\nh1an9an8chfbld1b6r0xcwi9wl6p7j7-glibc-2.24-debug’\r\nunpacking sources\r\nunpacking source archive /nix/store/qqsrh7jkwdywp4hj0wicf2541g9kdy0v-glibc-2.24.tar.gz\r\nsource root is glibc-2.24\r\nsetting SOURCE_DATE_EPOCH to timestamp 1470103296 of file glibc-2.24/wctype/wctype_l.c\r\npatching sources\r\napplying patch /nix/store/r0rc2prwi70hgw4jray5a8sd41fhvjm7-rpcgen-path.patch\r\npatching file sunrpc/rpc_main.c\r\napplying patch /nix/store/svkayyzppy2ncmax2m4klgqkya61ln83-nix-locale-archive.patch\r\npatching file locale/loadarchive.c\r\nHunk #1 succeeded at 124 (offset 1 line).\r\nHunk #2 succeeded at 222 (offset 1 line).\r\nHunk #3 succeeded at 417 (offset 5 lines).\r\npatching file locale/programs/locale.c\r\nHunk #1 succeeded at 635 (offset 7 lines).\r\nHunk #2 succeeded at 662 (offset 7 lines).\r\npatching file locale/programs/locarchive.c\r\nHunk #1 succeeded at 553 (offset 44 lines).\r\nHunk #2 succeeded at 592 with fuzz 1 (offset 50 lines).\r\napplying patch /nix/store/5vbd382jzryfwsa30fmaci5z1x6g4sgj-dont-use-system-ld-so-cache.patch\r\npatching file elf/ldconfig.c\r\nHunk #1 succeeded at 51 (offset 1 line).\r\npatching file elf/Makefile\r\nHunk #1 succeeded at 470 with fuzz 1 (offset 55 lines).\r\npatching file sysdeps/generic/dl-cache.h\r\napplying patch /nix/store/mnglr8rr7nl444h7p50ysyq8qd0fm1lm-dont-use-system-ld-so-preload.patch\r\npatching file elf/rtld.c\r\nHunk #1 succeeded at 1509 (offset -4 lines).\r\napplying patch /nix/store/29g1iy1lyc1qgg5mjjjlbjz5z2gzv384-glibc-crypt-blowfish.patch\r\npatching file crypt/crypt_blowfish.c\r\npatching file crypt/crypt-entry.c\r\nHunk #1 succeeded at 51 (offset -10 lines).\r\nHunk #2 succeeded at 65 (offset -10 lines).\r\nHunk #3 succeeded at 106 (offset -12 lines).\r\npatching file crypt/Makefile\r\nHunk #1 succeeded at 28 (offset 2 lines).\r\napplying patch /nix/store/za0pg7fmysrcwrqcal26fnmzw6vycgdn-fix_path_attribute_in_getconf.patch\r\npatching file sysdeps/unix/confstr.h\r\npatching file nscd/nscd_stat.c\r\nconfiguring\r\nconfigure flags: --disable-static --prefix=/nix/store/i0jphfihyndhv9lh1bgi1vlzygc1w8n1-glibc-2.24         --bindir=/nix/store/lras6zr1hs72yvv1ny04wpj022bxzfvg-glibc-2.24-bin/bin --sbindir=/nix/store/lras6zr1hs72yvv1ny04wpj022bxzfvg-glibc-2.24-bin/sbin         --includedir=/nix/store/8ic0jwg3p5vcwx52k4781n987hmv0bks-glibc-2.24-dev/include --oldincludedir=/nix/store/8ic0jwg3p5vcwx52k4781n987hmv0bks-glibc-2.24-dev/include         --mandir=/nix/store/lras6zr1hs72yvv1ny04wpj022bxzfvg-glibc-2.24-bin/share/man --infodir=/nix/store/lras6zr1hs72yvv1ny04wpj022bxzfvg-glibc-2.24-bin/share/info         --docdir=/nix/store/i0jphfihyndhv9lh1bgi1vlzygc1w8n1-glibc-2.24/share/doc/glibc         --libdir=/nix/store/i0jphfihyndhv9lh1bgi1vlzygc1w8n1-glibc-2.24/lib --libexecdir=/nix/store/i0jphfihyndhv9lh1bgi1vlzygc1w8n1-glibc-2.24/libexec         --localedir=/nix/store/i0jphfihyndhv9lh1bgi1vlzygc1w8n1-glibc-2.24/share/locale         -C --enable-add-ons --enable-obsolete-rpc --sysconfdir=/etc libc_cv_ssp=no --with-headers=/nix/store/4a2p416gjhwriy94wkvwmgsbsdg1ywdz-linux-headers-4.4.10/include --disable-profile --enable-kernel=2.6.32\r\n/nix/store/0p18wvjfcxq3n9s4bawvglj53iwhmpr9-stdenv-linux-boot/setup: /tmp/nix-build-glibc-2.24.drv-0/build/../glibc-2.24/configure: /bin/sh: bad interpreter: No such file or directory\r\nnote: keeping build directory ‘/tmp/nix-build-glibc-2.24.drv-0’\r\nbuilder for ‘/nix/store/1yzzfs5fpyjgakvxxndwindgwrdq7lzc-glibc-2.24.drv’ failed with exit code 126\r\nerror: build of ‘/nix/store/1yzzfs5fpyjgakvxxndwindgwrdq7lzc-glibc-2.24.drv’ failed\r\n```"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/242855659","html_url":"https://github.com/NixOS/nixpkgs/issues/18015#issuecomment-242855659","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/18015","id":242855659,"user":{"login":"deepfire","id":452652,"avatar_url":"https://avatars.githubusercontent.com/u/452652?v=3","gravatar_id":"","url":"https://api.github.com/users/deepfire","html_url":"https://github.com/deepfire","followers_url":"https://api.github.com/users/deepfire/followers","following_url":"https://api.github.com/users/deepfire/following{/other_user}","gists_url":"https://api.github.com/users/deepfire/gists{/gist_id}","starred_url":"https://api.github.com/users/deepfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepfire/subscriptions","organizations_url":"https://api.github.com/users/deepfire/orgs","repos_url":"https://api.github.com/users/deepfire/repos","events_url":"https://api.github.com/users/deepfire/events{/privacy}","received_events_url":"https://api.github.com/users/deepfire/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T21:24:47Z","updated_at":"2016-08-26T21:24:47Z","body":"@joachifm, what are the factors in the decision of what to put inside the glibc bootstrap chroot?   Are you sure it isn't just luck on your end?"}}
{"actor":{"display_login":"deepfire"}}