I had a user working on a new recipe that ran across the following issue: agentdir = "/usr/scopetools-6.1/" FILES_${PN}-dbg += "${agentdir}/.debug/*" When the recipe was built the following message appeared: WARNING: For recipe wr-opagent, the following files/directories were installed but not shipped in any package: WARNING: /usr/scopetools-6.1/.debug/ProfileAgent Needless to say this turned out to be very tricky to resolve, as it was unclear why it did not work. Removing the '/' at the end of 'agentdir' fixed the problem. Either we should detect the // case and resolve it for the end user automatically, or we should have a sanity check that verified that '//' does not appear in the FILES_split variables.
Fixed in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b3e76b33f354c7747f86514abd3844afba64d8bb