{"action":"created","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/722","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/722/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/722/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/722/events","html_url":"https://github.com/mesonbuild/meson/issues/722","id":173266976,"number":722,"title":"[regression] Error computing .def files location when using subprojects","user":{"login":"thiblahute","id":83553,"avatar_url":"https://avatars.githubusercontent.com/u/83553?v=3","gravatar_id":"","url":"https://api.github.com/users/thiblahute","html_url":"https://github.com/thiblahute","followers_url":"https://api.github.com/users/thiblahute/followers","following_url":"https://api.github.com/users/thiblahute/following{/other_user}","gists_url":"https://api.github.com/users/thiblahute/gists{/gist_id}","starred_url":"https://api.github.com/users/thiblahute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiblahute/subscriptions","organizations_url":"https://api.github.com/users/thiblahute/orgs","repos_url":"https://api.github.com/users/thiblahute/repos","events_url":"https://api.github.com/users/thiblahute/events{/privacy}","received_events_url":"https://api.github.com/users/thiblahute/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-25T17:45:31Z","updated_at":"2016-09-06T20:29:31Z","closed_at":null,"body":"Since:\r\n\r\n```\r\ncommit 88037c43858c600d5004ede1ab01378cb110c8af\r\nAuthor: Nirbheek Chauhan <nirbheek@centricular.com>\r\nDate:   Thu Aug 18 20:52:22 2016 +0530\r\n\r\n    shared_library: Add vs_module_defs to link_depends\r\n    \r\n    With this, if the module definitions file is edited, the shared library\r\n    and all reverse-dependencies will be re-linked.\r\n    \r\n    Fixes #643\r\n\r\n:040000 040000 84e77a840d469fc4e4821733e18542e92f0dfaa5 c7ea8aca66e8e4150e23966e75ae525375f8f330 M\tmesonbuild\r\n```\r\n\r\nI am getting the following error:\r\n```\r\nninja: Entering directory `mesonbuild'\r\nninja: error: '/home/thiblahute/devel/gstreamer/master/gst-all/win32/common/libgstreamer.def', needed by 'subprojects/gstreamer/gst/libgstreamer-1.0.so.0.901.0', missing and no known rule to make it\r\nninja: Entering directory `mesonbuild'\r\nninja: error: '/home/thiblahute/devel/gstreamer/master/gst-all/win32/common/libgstreamer.def', needed by 'subprojects/gstreamer/gst/libgstreamer-1.0.so.0.901.0', missing and no known rule to make it\r\n```\r\n\r\nTrying to build [gst-all](https://github.com/thiblahute/gst-all)"},"comment":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/comments/245080369","html_url":"https://github.com/mesonbuild/meson/issues/722#issuecomment-245080369","issue_url":"https://api.github.com/repos/mesonbuild/meson/issues/722","id":245080369,"user":{"login":"jpakkane","id":4079821,"avatar_url":"https://avatars.githubusercontent.com/u/4079821?v=3","gravatar_id":"","url":"https://api.github.com/users/jpakkane","html_url":"https://github.com/jpakkane","followers_url":"https://api.github.com/users/jpakkane/followers","following_url":"https://api.github.com/users/jpakkane/following{/other_user}","gists_url":"https://api.github.com/users/jpakkane/gists{/gist_id}","starred_url":"https://api.github.com/users/jpakkane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpakkane/subscriptions","organizations_url":"https://api.github.com/users/jpakkane/orgs","repos_url":"https://api.github.com/users/jpakkane/repos","events_url":"https://api.github.com/users/jpakkane/events{/privacy}","received_events_url":"https://api.github.com/users/jpakkane/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T20:29:31Z","updated_at":"2016-09-06T20:29:31Z","body":"The core of this issue seems to be whether `meson.source_root()` resolve to the toplevel root directory or the top level of the current subproject. If we want to keep the semantic meaning of subprojects, roughly behave-as-a-chroot, then the latter makes sense.\r\n\r\nThe question then becomes whether subprojects ever need to know where the topmost source dir is. I can't think of a use case for this and if there is one we can add a method like `meson.get_global_source_root()` or equivalent."}}
{"actor":{"display_login":"jpakkane"}}