{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/16048","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/16048/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/16048/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/16048/events","html_url":"https://github.com/NixOS/nixpkgs/issues/16048","id":158964244,"number":16048,"title":"binutils is broken","user":{"login":"dredozubov","id":131368,"avatar_url":"https://avatars.githubusercontent.com/u/131368?v=3","gravatar_id":"","url":"https://api.github.com/users/dredozubov","html_url":"https://github.com/dredozubov","followers_url":"https://api.github.com/users/dredozubov/followers","following_url":"https://api.github.com/users/dredozubov/following{/other_user}","gists_url":"https://api.github.com/users/dredozubov/gists{/gist_id}","starred_url":"https://api.github.com/users/dredozubov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dredozubov/subscriptions","organizations_url":"https://api.github.com/users/dredozubov/orgs","repos_url":"https://api.github.com/users/dredozubov/repos","events_url":"https://api.github.com/users/dredozubov/events{/privacy}","received_events_url":"https://api.github.com/users/dredozubov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20darwin","name":"6.topic: darwin","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-07T16:13:32Z","updated_at":"2016-06-09T12:30:42Z","closed_at":null,"body":"## Issue description\r\n\r\nWhen i try to install binutils, this happens:\r\n```\r\n% nix-env -f \"<nixpkgs>\" -iA binutils --show-trace\r\ninstalling ‘cctools-binutils-darwin’\r\nbuilding path(s) ‘/nix/store/r6dq1hy9a9kzmrz36cscyjy05frm36nw-user-environment’\r\nWide character in die at /nix/store/64jc9gd2rkbgdb4yjx3nrgc91bpjj5ky-buildenv.pl line 87.\r\nerror creating link ‘/nix/store/r6dq1hy9a9kzmrz36cscyjy05frm36nw-user-environment/share’: File exists at /nix/store/64jc9gd2rkbgdb4yjx3nrgc91bpjj5ky-buildenv.pl line 87.\r\nbuilder for ‘/nix/store/hbwm86gy1911viszpab0d03n6zdpsy2m-user-environment.drv’ failed with exit code 17\r\nerror: build of ‘/nix/store/hbwm86gy1911viszpab0d03n6zdpsy2m-user-environment.drv’ failed\r\n```\r\n\r\n### Steps to reproduce\r\n\r\n`nix-env -f \"<nixpkgs>\" -iA binutils`\r\n\r\n## Technical details\r\n\r\n* System: OS X 10.10.5\r\n* Nix version: 1.11.2\r\n* Nixpkgs version: 16.09pre83147.df89584"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/224880333","html_url":"https://github.com/NixOS/nixpkgs/issues/16048#issuecomment-224880333","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/16048","id":224880333,"user":{"login":"vcunat","id":1785925,"avatar_url":"https://avatars.githubusercontent.com/u/1785925?v=3","gravatar_id":"","url":"https://api.github.com/users/vcunat","html_url":"https://github.com/vcunat","followers_url":"https://api.github.com/users/vcunat/followers","following_url":"https://api.github.com/users/vcunat/following{/other_user}","gists_url":"https://api.github.com/users/vcunat/gists{/gist_id}","starred_url":"https://api.github.com/users/vcunat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcunat/subscriptions","organizations_url":"https://api.github.com/users/vcunat/orgs","repos_url":"https://api.github.com/users/vcunat/repos","events_url":"https://api.github.com/users/vcunat/events{/privacy}","received_events_url":"https://api.github.com/users/vcunat/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T12:30:42Z","updated_at":"2016-06-09T12:30:42Z","body":"The error is *not* during building binutils. It's during `buildEnv`: probably some bug in it triggered by the combination you've installed by `nix-env`. The bug is probably \"portable\". IIRC there were problems if there's a symlink-directory collision. Note that `buildEnv` is about to [get rewritten](https://github.com/NixOS/nix/issues/341) soonish and you're affected by the copy living in a different repository."}}
{"actor":{"display_login":"vcunat"}}