{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41935","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41935/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41935/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41935/events","html_url":"https://github.com/NixOS/nixpkgs/pull/41935","id":332075235,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NjQ3ODA0","number":41935,"title":"[wip] multiple-outputs: always build static libraries","user":{"login":"matthewbauer","id":19036,"node_id":"MDQ6VXNlcjE5MDM2","avatar_url":"https://avatars0.githubusercontent.com/u/19036?v=4","gravatar_id":"","url":"https://api.github.com/users/matthewbauer","html_url":"https://github.com/matthewbauer","followers_url":"https://api.github.com/users/matthewbauer/followers","following_url":"https://api.github.com/users/matthewbauer/following{/other_user}","gists_url":"https://api.github.com/users/matthewbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewbauer/subscriptions","organizations_url":"https://api.github.com/users/matthewbauer/orgs","repos_url":"https://api.github.com/users/matthewbauer/repos","events_url":"https://api.github.com/users/matthewbauer/events{/privacy}","received_events_url":"https://api.github.com/users/matthewbauer/received_events","type":"User","site_admin":false},"labels":[{"id":737692408,"node_id":"MDU6TGFiZWw3Mzc2OTI0MDg=","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-darwin-stdenv","name":"10.rebuild-darwin-stdenv","color":"b60205","default":false},{"id":731735740,"node_id":"MDU6TGFiZWw3MzE3MzU3NDA=","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-darwin:%20501+","name":"10.rebuild-darwin: 501+","color":"b60205","default":false},{"id":737692313,"node_id":"MDU6TGFiZWw3Mzc2OTIzMTM=","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-linux-stdenv","name":"10.rebuild-linux-stdenv","color":"b60205","default":false},{"id":731734523,"node_id":"MDU6TGFiZWw3MzE3MzQ1MjM=","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-linux:%20501+","name":"10.rebuild-linux: 501+","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"vcunat","id":1785925,"node_id":"MDQ6VXNlcjE3ODU5MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/1785925?v=4","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},"assignees":[{"login":"vcunat","id":1785925,"node_id":"MDQ6VXNlcjE3ODU5MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/1785925?v=4","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}],"milestone":null,"comments":5,"created_at":"2018-06-13T16:38:47Z","updated_at":"2018-06-15T13:21:39Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/41935","html_url":"https://github.com/NixOS/nixpkgs/pull/41935","diff_url":"https://github.com/NixOS/nixpkgs/pull/41935.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/41935.patch"},"body":"Using multiple outputs we can easily build static libraries. This is a proposal to always statically link things. Needs testing & discussion before merging.\r\n\r\n/cc @orivej @nlewo @xeji"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/397618055","html_url":"https://github.com/NixOS/nixpkgs/pull/41935#issuecomment-397618055","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41935","id":397618055,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzYxODA1NQ==","user":{"login":"dezgeg","id":579369,"node_id":"MDQ6VXNlcjU3OTM2OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/579369?v=4","gravatar_id":"","url":"https://api.github.com/users/dezgeg","html_url":"https://github.com/dezgeg","followers_url":"https://api.github.com/users/dezgeg/followers","following_url":"https://api.github.com/users/dezgeg/following{/other_user}","gists_url":"https://api.github.com/users/dezgeg/gists{/gist_id}","starred_url":"https://api.github.com/users/dezgeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dezgeg/subscriptions","organizations_url":"https://api.github.com/users/dezgeg/orgs","repos_url":"https://api.github.com/users/dezgeg/repos","events_url":"https://api.github.com/users/dezgeg/events{/privacy}","received_events_url":"https://api.github.com/users/dezgeg/received_events","type":"User","site_admin":false},"created_at":"2018-06-15T13:21:39Z","updated_at":"2018-06-15T13:21:39Z","author_association":"CONTRIBUTOR","body":"Another problem is that the `static` outputs aren't included by default, so anything wanting to build statically needs to add their entire dependency closure manually (see e.g. `git grep '\\<glibc.static\\>' ` for the gore).\r\n\r\nOn a side note, in this age where executables are PIE anyway for hardening reasons, what is actually different (with regards to code generation) in shared objects compared to static objects? There's a project (https://github.com/endrazine/wcc) which claims to be able to \"[...] to 'unlink' (undo the work of a linker) ELF binaries, either executables or shared libraries, back into relocatable shared objects.\". I wonder if that would work as a modern day replacement of getting each and every build system of every single package build both static and dynamic libs correctly?"}}
{"actor":{"display_login":"dezgeg"}}