{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/20355","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/20355/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/20355/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/20355/events","html_url":"https://github.com/NixOS/nixpkgs/pull/20355","id":188889326,"number":20355,"title":"fix proxychains ld flags","user":{"login":"roxma","id":4538941,"avatar_url":"https://avatars.githubusercontent.com/u/4538941?v=3","gravatar_id":"","url":"https://api.github.com/users/roxma","html_url":"https://github.com/roxma","followers_url":"https://api.github.com/users/roxma/followers","following_url":"https://api.github.com/users/roxma/following{/other_user}","gists_url":"https://api.github.com/users/roxma/gists{/gist_id}","starred_url":"https://api.github.com/users/roxma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roxma/subscriptions","organizations_url":"https://api.github.com/users/roxma/orgs","repos_url":"https://api.github.com/users/roxma/repos","events_url":"https://api.github.com/users/roxma/events{/privacy}","received_events_url":"https://api.github.com/users/roxma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-12T03:23:30Z","updated_at":"2016-11-12T06:39:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/20355","html_url":"https://github.com/NixOS/nixpkgs/pull/20355","diff_url":"https://github.com/NixOS/nixpkgs/pull/20355.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/20355.patch"},"body":"Withou the patch, I got an error with `proxychains4 git submodule add ...`\r\n\r\n```\r\n[roxma@nixos:~/test]$ nix-env -i proxychains\r\nreplacing old ‘proxychains-4.2.0’\r\ninstalling ‘proxychains-4.2.0’\r\n\r\n[roxma@nixos:~/test]$ proxychains4 git submodule add git@github.com:haad/proxychains.git\r\n[proxychains] config file found: /home/roxma/test/proxychains.conf\r\n[proxychains] preloading /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\nsedbasename: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\n: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\nsed: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\nbasename: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\n/nix/store/dilcmbv8rlvv5l9vkig7y6rx0jbs0f0z-gettext-0.19.8/bin/gettext: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\n/nix/store/dilcmbv8rlvv5l9vkig7y6rx0jbs0f0z-gettext-0.19.8/bin/envsubst: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\n/nix/store/dilcmbv8rlvv5l9vkig7y6rx0jbs0f0z-gettext-0.19.8/bin/envsubst: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\nuname: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\nsed: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\n/nix/store/dilcmbv8rlvv5l9vkig7y6rx0jbs0f0z-gettext-0.19.8/bin/gettext: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\n/nix/store/dilcmbv8rlvv5l9vkig7y6rx0jbs0f0z-gettext-0.19.8/bin/envsubst: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\n/nix/store/dilcmbv8rlvv5l9vkig7y6rx0jbs0f0z-gettext-0.19.8/bin/envsubst: symbol lookup error: /nix/store/vq6lvswd1qq6119c96b767axilil88i7-proxychains-4.2.0/lib/libproxychains4.so: undefined symbol: dlerror\r\n```\r\n\r\nUsing the patch:\r\n\r\n```\r\n\r\n[roxma@nixos:~/test]$ nix-env -f ~/nixpkgs -i proxychains\r\nreplacing old ‘proxychains-4.2.0’\r\ninstalling ‘proxychains-4.2.0’\r\n\r\n[roxma@nixos:~/test]$ proxychains4 git submodule add git@github.com:haad/proxychains.git\r\n[proxychains] config file found: /home/roxma/test/proxychains.conf\r\n[proxychains] preloading /nix/store/sna49dpbb34gp7hgdkj5y1d4clrzffys-proxychains-4.2.0/lib/libproxychains4.so\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\nCloning into '/home/roxma/test/proxychains'...\r\n[proxychains] DLL init\r\n[proxychains] Strict chain  ...  10.0.2.2:1080  ...  192.30.253.112:22  ...  OK\r\nremote: Counting objects: 794, done.\r\n[proxychains] DLL init\r\nremote: Total 794 (delta 0), reused 0 (delta 0), pack-reused 794\r\nReceiving objects: 100% (794/794), 457.87 KiB | 130.00 KiB/s, done.\r\nResolving deltas: 100% (471/471), done.\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n[proxychains] DLL init\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/260105529","html_url":"https://github.com/NixOS/nixpkgs/pull/20355#issuecomment-260105529","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/20355","id":260105529,"user":{"login":"roxma","id":4538941,"avatar_url":"https://avatars.githubusercontent.com/u/4538941?v=3","gravatar_id":"","url":"https://api.github.com/users/roxma","html_url":"https://github.com/roxma","followers_url":"https://api.github.com/users/roxma/followers","following_url":"https://api.github.com/users/roxma/following{/other_user}","gists_url":"https://api.github.com/users/roxma/gists{/gist_id}","starred_url":"https://api.github.com/users/roxma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roxma/subscriptions","organizations_url":"https://api.github.com/users/roxma/orgs","repos_url":"https://api.github.com/users/roxma/repos","events_url":"https://api.github.com/users/roxma/events{/privacy}","received_events_url":"https://api.github.com/users/roxma/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T06:39:24Z","updated_at":"2016-11-12T06:39:24Z","body":"Thiis issue is fixed in [proxychains](https://github.com/haad/proxychains) with [this commit](https://github.com/haad/proxychains/commit/dcbafb0279a5e0e4dc1055afb533d3909327b6bb) 4 years ago.\r\n\r\nBut there's no release since then. I'm not sure this is the right way to do this, anyway, I offer a simple patch here.\r\n"}}
{"actor":{"display_login":"roxma"}}