{"action":"created","issue":{"url":"https://api.github.com/repos/ldc-developers/ldc/issues/1621","repository_url":"https://api.github.com/repos/ldc-developers/ldc","labels_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1621/labels{/name}","comments_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1621/comments","events_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1621/events","html_url":"https://github.com/ldc-developers/ldc/issues/1621","id":165869451,"number":1621,"title":"LDC+DUB on Windows: folder separator is ignored","user":{"login":"redstar","id":827859,"avatar_url":"https://avatars.githubusercontent.com/u/827859?v=3","gravatar_id":"","url":"https://api.github.com/users/redstar","html_url":"https://github.com/redstar","followers_url":"https://api.github.com/users/redstar/followers","following_url":"https://api.github.com/users/redstar/following{/other_user}","gists_url":"https://api.github.com/users/redstar/gists{/gist_id}","starred_url":"https://api.github.com/users/redstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redstar/subscriptions","organizations_url":"https://api.github.com/users/redstar/orgs","repos_url":"https://api.github.com/users/redstar/repos","events_url":"https://api.github.com/users/redstar/events{/privacy}","received_events_url":"https://api.github.com/users/redstar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"redstar","id":827859,"avatar_url":"https://avatars.githubusercontent.com/u/827859?v=3","gravatar_id":"","url":"https://api.github.com/users/redstar","html_url":"https://github.com/redstar","followers_url":"https://api.github.com/users/redstar/followers","following_url":"https://api.github.com/users/redstar/following{/other_user}","gists_url":"https://api.github.com/users/redstar/gists{/gist_id}","starred_url":"https://api.github.com/users/redstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redstar/subscriptions","organizations_url":"https://api.github.com/users/redstar/orgs","repos_url":"https://api.github.com/users/redstar/repos","events_url":"https://api.github.com/users/redstar/events{/privacy}","received_events_url":"https://api.github.com/users/redstar/received_events","type":"User","site_admin":false},"assignees":[{"login":"redstar","id":827859,"avatar_url":"https://avatars.githubusercontent.com/u/827859?v=3","gravatar_id":"","url":"https://api.github.com/users/redstar","html_url":"https://github.com/redstar","followers_url":"https://api.github.com/users/redstar/followers","following_url":"https://api.github.com/users/redstar/following{/other_user}","gists_url":"https://api.github.com/users/redstar/gists{/gist_id}","starred_url":"https://api.github.com/users/redstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redstar/subscriptions","organizations_url":"https://api.github.com/users/redstar/orgs","repos_url":"https://api.github.com/users/redstar/repos","events_url":"https://api.github.com/users/redstar/events{/privacy}","received_events_url":"https://api.github.com/users/redstar/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ldc-developers/ldc/milestones/8","html_url":"https://github.com/ldc-developers/ldc/milestones/1.1.0","labels_url":"https://api.github.com/repos/ldc-developers/ldc/milestones/8/labels","id":1874196,"number":8,"title":"1.1.0","description":null,"creator":{"login":"redstar","id":827859,"avatar_url":"https://avatars.githubusercontent.com/u/827859?v=3","gravatar_id":"","url":"https://api.github.com/users/redstar","html_url":"https://github.com/redstar","followers_url":"https://api.github.com/users/redstar/followers","following_url":"https://api.github.com/users/redstar/following{/other_user}","gists_url":"https://api.github.com/users/redstar/gists{/gist_id}","starred_url":"https://api.github.com/users/redstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redstar/subscriptions","organizations_url":"https://api.github.com/users/redstar/orgs","repos_url":"https://api.github.com/users/redstar/repos","events_url":"https://api.github.com/users/redstar/events{/privacy}","received_events_url":"https://api.github.com/users/redstar/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-07-10T12:27:30Z","updated_at":"2016-07-15T20:19:08Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-07-15T20:18:57Z","updated_at":"2016-07-15T21:20:29Z","closed_at":null,"body":"Executing DUB with LDC2 1.1.0-alpha1 on Windows results in:\r\n\r\n    C:\\OpenSource\\cpuid>dub\r\n    Performing \"debug\" build using ldc2 for x86_64.\r\n    cpuid 0.2.4+commit.4.g36ec8b4: building configuration \"library\"...\r\n    Error: module sourcecpuidamd is in file 'sourcecpuidamd.d' which cannot be read\r\n    import path[0] = C:/Temp/ldc2-1.1.0-alpha1-win64-msvc/bin/../include/d/ldc\r\n    import path[1] = C:/Temp/ldc2-1.1.0-alpha1-win64-msvc/bin/../include/d\r\n    import path[2] = source\r\n    ldc2 failed with exit code 1.\r\n\r\nObviously the path is `source\\cpuid\\amd.d`. DUB display the right path with `-v`:\r\n\r\n    Generate target cpuid (staticLibrary C:\\OpenSource\\cpuid cpuid)\r\n    Performing \"debug\" build using ldc2 for x86_64.\r\n    Target 'C:\\OpenSource\\cpuid\\.dub\\build\\library-debug-windows-x86_64-ldc_0-B933F7C743324C2F06A81BFB0EDA156F\\cpuid.lib' doesn't exist, need rebuild.\r\n    cpuid 0.2.4+commit.4.g36ec8b4: building configuration \"library\"...\r\n    ldc2 -lib -of.dub\\build\\library-debug-windows-x86_64-ldc_0-B933F7C743324C2F06A81BFB0EDA156F\\cpuid.lib -d-debug -g -w -oq -od=.dub/obj -d-version=Have_cpuid -Isource source\\cpuid\\amd.d source\\cpuid\\common.d source\\cpuid\\intel.d source\\cpuid\\report.d source\\cpuid\\unified.d source\\cpuid\\x86_any.d\r\n    Error: module sourcecpuidamd is in file 'sourcecpuidamd.d' which cannot be read\r\n    import path[0] = C:/Temp/ldc2-1.1.0-alpha1-win64-msvc/bin/../include/d/ldc\r\n    import path[1] = C:/Temp/ldc2-1.1.0-alpha1-win64-msvc/bin/../include/d\r\n    import path[2] = source\r\n    FAIL .dub\\build\\library-debug-windows-x86_64-ldc_0-B933F7C743324C2F06A81BFB0EDA156F\\ cpuid staticLibrary\r\n    ldc2 failed with exit code 1.\r\n\r\nIt is yet unclear if this is an DUB or an LDC problem."},"comment":{"url":"https://api.github.com/repos/ldc-developers/ldc/issues/comments/233072731","html_url":"https://github.com/ldc-developers/ldc/issues/1621#issuecomment-233072731","issue_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1621","id":233072731,"user":{"login":"redstar","id":827859,"avatar_url":"https://avatars.githubusercontent.com/u/827859?v=3","gravatar_id":"","url":"https://api.github.com/users/redstar","html_url":"https://github.com/redstar","followers_url":"https://api.github.com/users/redstar/followers","following_url":"https://api.github.com/users/redstar/following{/other_user}","gists_url":"https://api.github.com/users/redstar/gists{/gist_id}","starred_url":"https://api.github.com/users/redstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redstar/subscriptions","organizations_url":"https://api.github.com/users/redstar/orgs","repos_url":"https://api.github.com/users/redstar/repos","events_url":"https://api.github.com/users/redstar/events{/privacy}","received_events_url":"https://api.github.com/users/redstar/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T21:20:29Z","updated_at":"2016-07-15T21:20:29Z","body":"... and the error goes away if all `\\` are replaced by `/` in the response file."}}
{"actor":{"display_login":"redstar"}}