{"action":"created","issue":{"url":"https://api.github.com/repos/bincrafters/community/issues/277","repository_url":"https://api.github.com/repos/bincrafters/community","labels_url":"https://api.github.com/repos/bincrafters/community/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/bincrafters/community/issues/277/comments","events_url":"https://api.github.com/repos/bincrafters/community/issues/277/events","html_url":"https://github.com/bincrafters/community/issues/277","id":323203618,"node_id":"MDU6SXNzdWUzMjMyMDM2MTg=","number":277,"title":"[Qt] error when trying to build with openssl","user":{"login":"Blubbz0r","id":11735226,"node_id":"MDQ6VXNlcjExNzM1MjI2","avatar_url":"https://avatars1.githubusercontent.com/u/11735226?v=4","gravatar_id":"","url":"https://api.github.com/users/Blubbz0r","html_url":"https://github.com/Blubbz0r","followers_url":"https://api.github.com/users/Blubbz0r/followers","following_url":"https://api.github.com/users/Blubbz0r/following{/other_user}","gists_url":"https://api.github.com/users/Blubbz0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Blubbz0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blubbz0r/subscriptions","organizations_url":"https://api.github.com/users/Blubbz0r/orgs","repos_url":"https://api.github.com/users/Blubbz0r/repos","events_url":"https://api.github.com/users/Blubbz0r/events{/privacy}","received_events_url":"https://api.github.com/users/Blubbz0r/received_events","type":"User","site_admin":false},"labels":[{"id":760639719,"node_id":"MDU6TGFiZWw3NjA2Mzk3MTk=","url":"https://api.github.com/repos/bincrafters/community/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"lucienboillod","id":3273925,"node_id":"MDQ6VXNlcjMyNzM5MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/3273925?v=4","gravatar_id":"","url":"https://api.github.com/users/lucienboillod","html_url":"https://github.com/lucienboillod","followers_url":"https://api.github.com/users/lucienboillod/followers","following_url":"https://api.github.com/users/lucienboillod/following{/other_user}","gists_url":"https://api.github.com/users/lucienboillod/gists{/gist_id}","starred_url":"https://api.github.com/users/lucienboillod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucienboillod/subscriptions","organizations_url":"https://api.github.com/users/lucienboillod/orgs","repos_url":"https://api.github.com/users/lucienboillod/repos","events_url":"https://api.github.com/users/lucienboillod/events{/privacy}","received_events_url":"https://api.github.com/users/lucienboillod/received_events","type":"User","site_admin":false},"assignees":[{"login":"lucienboillod","id":3273925,"node_id":"MDQ6VXNlcjMyNzM5MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/3273925?v=4","gravatar_id":"","url":"https://api.github.com/users/lucienboillod","html_url":"https://github.com/lucienboillod","followers_url":"https://api.github.com/users/lucienboillod/followers","following_url":"https://api.github.com/users/lucienboillod/following{/other_user}","gists_url":"https://api.github.com/users/lucienboillod/gists{/gist_id}","starred_url":"https://api.github.com/users/lucienboillod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucienboillod/subscriptions","organizations_url":"https://api.github.com/users/lucienboillod/orgs","repos_url":"https://api.github.com/users/lucienboillod/repos","events_url":"https://api.github.com/users/lucienboillod/events{/privacy}","received_events_url":"https://api.github.com/users/lucienboillod/received_events","type":"User","site_admin":false}],"milestone":null,"comments":16,"created_at":"2018-05-15T12:50:54Z","updated_at":"2019-03-11T22:11:27Z","closed_at":"2018-06-19T15:15:38Z","author_association":"NONE","body":"### Description of Problem, Request, or Question\r\n\r\nWhen setting option \"openssl\" to \"yes\", the build fails with the following error:\r\n\r\n```\r\n**********************************************************************\r\n** Visual Studio 2017 Developer Command Prompt v15.6.4\r\n** Copyright (c) 2017 Microsoft Corporation\r\n**********************************************************************\r\n[vcvarsall.bat] Environment initialized for: 'x64'\r\n+ cd qtbase\r\n+ C:\\.conan\\gy99n1kz\\1\\qt5\\qtbase\\configure.bat -top-level -opensource -confirm-license -nomake examples -nomake tests -prefix C:/.conan\\cole4tpq\\1 -debug -opengl desktop -openssl\r\nPerl not found in PATH. Aborting.\r\nQt/5.11@bincrafters/stable:\r\nQt/5.11@bincrafters/stable: ERROR: Package '6aee9b08c159348af6fa3ce2111ab7da204c5134' build failed\r\nQt/5.11@bincrafters/stable: WARN: Build folder C:/.conan\\gy99n1kz\\1\r\nERROR: Qt/5.11@bincrafters/stable: Error in build() method, line 130\r\n        self._build_msvc(args)\r\nwhile calling '_build_msvc', line 166\r\n        self.run(\"%s && configure %s\" % (vcvars, \" \".join(args)))\r\n        ConanException: Error 1 while executing set \"VSCMD_START_DIR=%CD%\" && call \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\VC/Auxiliary/Build/vcvarsall.bat\" amd64 && configure -opensource -confirm-license -nomake examples -nomake tests -prefix C:/.conan\\cole4tpq\\1 -debug -opengl desktop -openssl\r\n```\r\n\r\n### Package Details (Include if Applicable)\r\n* Package Name/Version: **qt/5.11**\r\n* Operating System: **Windows 10**\r\n* Compiler+version: **Visual Studio 2017**\r\n* Docker image: **lasote/conangcc72**\r\n\r\n### Steps to reproduce (Include if Applicable)\r\n\r\n1. Clone https://github.com/bincrafters/conan-qt\r\n1. Apply the fix from [this](https://github.com/bincrafters/conan-qt/pull/2) MR (otherwise, building with Visual Studio will not be possible)\r\n1. run `conan create . user/channel -o Qt:openssl=yes`"},"comment":{"url":"https://api.github.com/repos/bincrafters/community/issues/comments/471759413","html_url":"https://github.com/bincrafters/community/issues/277#issuecomment-471759413","issue_url":"https://api.github.com/repos/bincrafters/community/issues/277","id":471759413,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MTc1OTQxMw==","user":{"login":"Blubbz0r","id":11735226,"node_id":"MDQ6VXNlcjExNzM1MjI2","avatar_url":"https://avatars1.githubusercontent.com/u/11735226?v=4","gravatar_id":"","url":"https://api.github.com/users/Blubbz0r","html_url":"https://github.com/Blubbz0r","followers_url":"https://api.github.com/users/Blubbz0r/followers","following_url":"https://api.github.com/users/Blubbz0r/following{/other_user}","gists_url":"https://api.github.com/users/Blubbz0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Blubbz0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blubbz0r/subscriptions","organizations_url":"https://api.github.com/users/Blubbz0r/orgs","repos_url":"https://api.github.com/users/Blubbz0r/repos","events_url":"https://api.github.com/users/Blubbz0r/events{/privacy}","received_events_url":"https://api.github.com/users/Blubbz0r/received_events","type":"User","site_admin":false},"created_at":"2019-03-11T22:11:27Z","updated_at":"2019-03-11T22:11:27Z","author_association":"NONE","body":"The instructions above should not be needed anymore. It should only be necessary to do the following:\r\n\r\n1. In conanfile add qt/5.12.1@bincrafters/stable as requirement\r\n2. In conanfile add qt:openssl=True as option\r\n3. Add the bincrafters remote to conan (https://bincrafters.readthedocs.io/en/latest/using_packages.html#adding-the-bincrafters-repository-as-a-conan-remote)\r\n4. Run conan install\r\n\r\nThat works fine for me with visual studio 2017 x86."}}
{"actor":{"display_login":"Blubbz0r"}}