{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/4033","repository_url":"https://api.github.com/repos/haskell/cabal","labels_url":"https://api.github.com/repos/haskell/cabal/issues/4033/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/4033/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/4033/events","html_url":"https://github.com/haskell/cabal/pull/4033","id":185031533,"number":4033,"title":"Don't use installedPkgs for internal library library dirs.","user":{"login":"ezyang","id":13564,"avatar_url":"https://avatars.githubusercontent.com/u/13564?v=3","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ezyang","id":13564,"avatar_url":"https://avatars.githubusercontent.com/u/13564?v=3","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"assignees":[{"login":"ezyang","id":13564,"avatar_url":"https://avatars.githubusercontent.com/u/13564?v=3","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/haskell/cabal/milestones/39","html_url":"https://github.com/haskell/cabal/milestones/2.0","labels_url":"https://api.github.com/repos/haskell/cabal/milestones/39/labels","id":1985792,"number":39,"title":"2.0","description":"A contributor has agreed to steward this feature for the current feature-release cycle.","creator":{"login":"ezyang","id":13564,"avatar_url":"https://avatars.githubusercontent.com/u/13564?v=3","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":144,"state":"open","created_at":"2016-09-06T09:51:52Z","updated_at":"2016-10-27T09:03:10Z","due_on":"2016-11-30T00:00:00Z","closed_at":null},"comments":7,"created_at":"2016-10-25T06:42:43Z","updated_at":"2016-10-27T09:12:45Z","closed_at":"2016-10-27T09:03:09Z","pull_request":{"url":"https://api.github.com/repos/haskell/cabal/pulls/4033","html_url":"https://github.com/haskell/cabal/pull/4033","diff_url":"https://github.com/haskell/cabal/pull/4033.diff","patch_url":"https://github.com/haskell/cabal/pull/4033.patch"},"body":"In 1.24, installedPkgs contained only references to the external package\r\ndatabase, not any internal libraries. In particular, when we built a\r\ndynamically linked executable, installedPkgs did NOT have a reference to\r\nthe internal library; instead, depLibraryPaths has a special case\r\n(hasInternalDeps) to add the final libdir to the RPATH.\r\n\r\nIn HEAD, after 0d15ede, we started adding internal libraries (with the\r\nINPLACE registrations) to installedPkgs to fix #2971.  But depLibraryPaths\r\nwas not updated, which means that the inplace registrations got picked\r\nup and added to the RPATH, resulting in bad temporary directories\r\nshowing up in RPATHs.\r\n\r\nIn this commit, we just filter out internal entries from installedPkgs\r\nand compute the library dirs for them from scratch (this code already\r\nexisted, so no loss!)\r\n\r\nFixes #4025.\r\n\r\nSigned-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>"},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/256589086","html_url":"https://github.com/haskell/cabal/pull/4033#issuecomment-256589086","issue_url":"https://api.github.com/repos/haskell/cabal/issues/4033","id":256589086,"user":{"login":"trofi","id":226650,"avatar_url":"https://avatars.githubusercontent.com/u/226650?v=3","gravatar_id":"","url":"https://api.github.com/users/trofi","html_url":"https://github.com/trofi","followers_url":"https://api.github.com/users/trofi/followers","following_url":"https://api.github.com/users/trofi/following{/other_user}","gists_url":"https://api.github.com/users/trofi/gists{/gist_id}","starred_url":"https://api.github.com/users/trofi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trofi/subscriptions","organizations_url":"https://api.github.com/users/trofi/orgs","repos_url":"https://api.github.com/users/trofi/repos","events_url":"https://api.github.com/users/trofi/events{/privacy}","received_events_url":"https://api.github.com/users/trofi/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T09:12:45Z","updated_at":"2016-10-27T09:12:45Z","body":"Filed #4046"}}
{"actor":{"display_login":"trofi"}}