{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4662","repository_url":"https://api.github.com/repos/Microsoft/vcpkg","labels_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4662/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4662/comments","events_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4662/events","html_url":"https://github.com/Microsoft/vcpkg/issues/4662","id":377914775,"node_id":"MDU6SXNzdWUzNzc5MTQ3NzU=","number":4662,"title":"cannot add 'xerces-c' in Build-Depends due to invalid character","user":{"login":"jepessen","id":13927767,"node_id":"MDQ6VXNlcjEzOTI3NzY3","avatar_url":"https://avatars0.githubusercontent.com/u/13927767?v=4","gravatar_id":"","url":"https://api.github.com/users/jepessen","html_url":"https://github.com/jepessen","followers_url":"https://api.github.com/users/jepessen/followers","following_url":"https://api.github.com/users/jepessen/following{/other_user}","gists_url":"https://api.github.com/users/jepessen/gists{/gist_id}","starred_url":"https://api.github.com/users/jepessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jepessen/subscriptions","organizations_url":"https://api.github.com/users/jepessen/orgs","repos_url":"https://api.github.com/users/jepessen/repos","events_url":"https://api.github.com/users/jepessen/events{/privacy}","received_events_url":"https://api.github.com/users/jepessen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-06T16:01:45Z","updated_at":"2018-11-06T22:59:51Z","closed_at":null,"author_association":"NONE","body":"I'm trying to create a new port. This is the CONTROL file:\r\n\r\n```\r\nSource: opendds3\r\nVersion: 3.13\r\nDescription: OpenDDS is an open source C++ implementation of the Object Management Group (OMG) Data Distribution Service (DDS).\r\nBuild-Depends: ace xerces-c\r\n```\r\n\r\nIf I run it I obtain the following error:\r\n\r\n```\r\nFailed at [d:\\vcpkg\\toolsrc\\src\\vcpkg\\packagespec.cpp(37)] with message:\r\nContains invalid characters. Only alphanumeric lowercase ASCII characters and dashes are allowed\r\n```\r\n\r\nIf I remove `xerces-c` from CONTROL the error does not appear. I suppose that the error is caused by the `-` character but since it's in the `xerces-c` name I cannot remove it. Is there a way to handle with it or it's necessary to inspect the `packagespec.cpp` file in order to resolve the bug?"},"comment":{"url":"https://api.github.com/repos/Microsoft/vcpkg/issues/comments/436440622","html_url":"https://github.com/Microsoft/vcpkg/issues/4662#issuecomment-436440622","issue_url":"https://api.github.com/repos/Microsoft/vcpkg/issues/4662","id":436440622,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjQ0MDYyMg==","user":{"login":"ras0219-msft","id":12301622,"node_id":"MDQ6VXNlcjEyMzAxNjIy","avatar_url":"https://avatars2.githubusercontent.com/u/12301622?v=4","gravatar_id":"","url":"https://api.github.com/users/ras0219-msft","html_url":"https://github.com/ras0219-msft","followers_url":"https://api.github.com/users/ras0219-msft/followers","following_url":"https://api.github.com/users/ras0219-msft/following{/other_user}","gists_url":"https://api.github.com/users/ras0219-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/ras0219-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ras0219-msft/subscriptions","organizations_url":"https://api.github.com/users/ras0219-msft/orgs","repos_url":"https://api.github.com/users/ras0219-msft/repos","events_url":"https://api.github.com/users/ras0219-msft/events{/privacy}","received_events_url":"https://api.github.com/users/ras0219-msft/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T22:59:51Z","updated_at":"2018-11-06T22:59:51Z","author_association":"CONTRIBUTOR","body":"Thanks for pointing out the really bad error message here!\r\n\r\nThe actual issue is that we comma separate dependencies :). So the fix is just:\r\n```\r\nBuild-Depends: ace, xerces-c\r\n```\r\nThe \"invalid character\" in this case was the space character."}}
{"actor":{"display_login":"ras0219-msft"}}