{"action":"opened","issue":{"url":"https://api.github.com/repos/scala-native/scala-native/issues/911","repository_url":"https://api.github.com/repos/scala-native/scala-native","labels_url":"https://api.github.com/repos/scala-native/scala-native/issues/911/labels{/name}","comments_url":"https://api.github.com/repos/scala-native/scala-native/issues/911/comments","events_url":"https://api.github.com/repos/scala-native/scala-native/issues/911/events","html_url":"https://github.com/scala-native/scala-native/issues/911","id":244055356,"number":911,"title":"Build fails if there are no sources in `src/main/scala`","user":{"login":"ekrich","id":933058,"avatar_url":"https://avatars1.githubusercontent.com/u/933058?v=4","gravatar_id":"","url":"https://api.github.com/users/ekrich","html_url":"https://github.com/ekrich","followers_url":"https://api.github.com/users/ekrich/followers","following_url":"https://api.github.com/users/ekrich/following{/other_user}","gists_url":"https://api.github.com/users/ekrich/gists{/gist_id}","starred_url":"https://api.github.com/users/ekrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekrich/subscriptions","organizations_url":"https://api.github.com/users/ekrich/orgs","repos_url":"https://api.github.com/users/ekrich/repos","events_url":"https://api.github.com/users/ekrich/events{/privacy}","received_events_url":"https://api.github.com/users/ekrich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-19T14:13:05Z","updated_at":"2017-07-19T14:13:05Z","closed_at":null,"body":"If you have a pure testing project with source only in `src/test/scala` then the linking phase fails. Work around is to just add a source file in `src/main/scala`.\r\n```\r\n[debug] running\r\n[debug] /usr/bin/clang\r\n[debug] \t-S\r\n[debug] \t-xc\r\n[debug] \t-emit-llvm\r\n[debug] \t-o\r\n[debug] \t/Users/eric/workspace/scala-native-ml/unit-tests/target/scala-2.11/native/target/ll.probe\r\n[debug] \t/Users/eric/workspace/scala-native-ml/unit-tests/target/scala-2.11/native/target/c.probe\r\n[trace] Stack trace suppressed: run last tests/nativetest:nativeLinkNIR for the full output.\r\n[error] (tests/nativetest:nativeLinkNIR) java.lang.UnsupportedOperationException: Neither a jar, nor a directory: /Users/eric/workspace/scala-native-ml/unit-tests/target/scala-2.11/classes\r\n[error] Total time: 5 s, completed Jul 19, 2017 9:58:44 AM\r\n```"}}
{"actor":{"display_login":"ekrich"}}