{"action":"created","issue":{"url":"https://api.github.com/repos/conan-io/conan/issues/2981","repository_url":"https://api.github.com/repos/conan-io/conan","labels_url":"https://api.github.com/repos/conan-io/conan/issues/2981/labels{/name}","comments_url":"https://api.github.com/repos/conan-io/conan/issues/2981/comments","events_url":"https://api.github.com/repos/conan-io/conan/issues/2981/events","html_url":"https://github.com/conan-io/conan/issues/2981","id":328545504,"node_id":"MDU6SXNzdWUzMjg1NDU1MDQ=","number":2981,"title":"Conan >=1.3 breaks multi-package support","user":{"login":"bschindler","id":2241296,"node_id":"MDQ6VXNlcjIyNDEyOTY=","avatar_url":"https://avatars0.githubusercontent.com/u/2241296?v=4","gravatar_id":"","url":"https://api.github.com/users/bschindler","html_url":"https://github.com/bschindler","followers_url":"https://api.github.com/users/bschindler/followers","following_url":"https://api.github.com/users/bschindler/following{/other_user}","gists_url":"https://api.github.com/users/bschindler/gists{/gist_id}","starred_url":"https://api.github.com/users/bschindler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bschindler/subscriptions","organizations_url":"https://api.github.com/users/bschindler/orgs","repos_url":"https://api.github.com/users/bschindler/repos","events_url":"https://api.github.com/users/bschindler/events{/privacy}","received_events_url":"https://api.github.com/users/bschindler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-01T14:38:59Z","updated_at":"2018-06-01T16:14:19Z","closed_at":null,"author_association":"NONE","body":"We use the N configs -> 1 package approach (still, we didn't manage to switch to a 1 config 1 package approach due to technical difficulties). So a typical package_info looks as follows:\r\n\r\n```\r\ndef package_info(self):\r\n        if self.settings.os != \"Linux\":\r\n            self.cpp_info.debug.libs = ['benchmarkd']\r\n            self.cpp_info.release.libs = ['benchmark']\r\n        else:\r\n            self.cpp_info.libs =  ['benchmark']\r\n```\r\nHowever, conan is not able to locate the libraries at all, I get the output: \r\n\r\nLibrary benchmarkd not found in package, might be system one\r\nLibrary benchmark not found in package, might be system one\r\n\r\nI looked at the generated conanbuildinfo.cmake, and noted that starting with conan 1.3, the following call is made: \r\n\r\n```\r\nconan_package_library_targets(\"${CONAN_LIBS_GBENCHMARK_DEBUG}\" \"${CONAN_LIB_DIRS_GBENCHMARK_DEBUG}\"\r\n                                  CONAN_PACKAGE_TARGETS_GBENCHMARK_DEBUG \"\" \"debug\" GBenchmark)\r\n```\r\nBut the variable CONAN_LIB_DIRS_GBENCHMARK_DEBUG is not set (but used to be set on conan 1.2). \r\n\r\nI have the following: \r\n\r\nset(CONAN_LIB_DIRS_GBENCHMARK \"C:/Users/benjamin.schindler/.conan/data/GBenchmark/1.4.0/virtamed/testing/package/98aaa1d6a87f0b802f745a8ec2e8347f131e031c/lib\")\r\nset(CONAN_LIB_DIRS_GBENCHMARK_DEBUG )\r\nset(CONAN_LIB_DIRS_GBENCHMARK_RELEASE )\r\n\r\nWith using 1.2.3, those variables are set: \r\n\r\nset(CONAN_LIB_DIRS_GBENCHMARK \"C:/Users/benjamin.schindler/.conan/data/GBenchmark/1.4.0/virtamed/testing/package/98aaa1d6a87f0b802f745a8ec2e8347f131e031c/lib\")\r\nset(CONAN_LIB_DIRS_GBENCHMARK_DEBUG \"C:/Users/benjamin.schindler/.conan/data/GBenchmark/1.4.0/virtamed/testing/package/98aaa1d6a87f0b802f745a8ec2e8347f131e031c/lib\")\r\nset(CONAN_LIB_DIRS_GBENCHMARK_RELEASE \"C:/Users/benjamin.schindler/.conan/data/GBenchmark/1.4.0/virtamed/testing/package/98aaa1d6a87f0b802f745a8ec2e8347f131e031c/lib\")\r\n\r\n\r\nThis issue currently blocks us from going beyond 1.2.3 (looks like a regression issue to me)"},"comment":{"url":"https://api.github.com/repos/conan-io/conan/issues/comments/393930012","html_url":"https://github.com/conan-io/conan/issues/2981#issuecomment-393930012","issue_url":"https://api.github.com/repos/conan-io/conan/issues/2981","id":393930012,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzkzMDAxMg==","user":{"login":"memsharded","id":15367152,"node_id":"MDQ6VXNlcjE1MzY3MTUy","avatar_url":"https://avatars2.githubusercontent.com/u/15367152?v=4","gravatar_id":"","url":"https://api.github.com/users/memsharded","html_url":"https://github.com/memsharded","followers_url":"https://api.github.com/users/memsharded/followers","following_url":"https://api.github.com/users/memsharded/following{/other_user}","gists_url":"https://api.github.com/users/memsharded/gists{/gist_id}","starred_url":"https://api.github.com/users/memsharded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/memsharded/subscriptions","organizations_url":"https://api.github.com/users/memsharded/orgs","repos_url":"https://api.github.com/users/memsharded/repos","events_url":"https://api.github.com/users/memsharded/events{/privacy}","received_events_url":"https://api.github.com/users/memsharded/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T16:14:19Z","updated_at":"2018-06-01T16:14:19Z","author_association":"CONTRIBUTOR","body":"Could you post your full ``package_info()`` method. There was a bug that was corrected related to this, it would be useful to check if you are also settings other paths. Thanks!"}}
{"actor":{"display_login":"memsharded"}}