{"action":"created","issue":{"url":"https://api.github.com/repos/eProsima/Fast-RTPS/issues/206","repository_url":"https://api.github.com/repos/eProsima/Fast-RTPS","labels_url":"https://api.github.com/repos/eProsima/Fast-RTPS/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/eProsima/Fast-RTPS/issues/206/comments","events_url":"https://api.github.com/repos/eProsima/Fast-RTPS/issues/206/events","html_url":"https://github.com/eProsima/Fast-RTPS/issues/206","id":314970873,"number":206,"title":"Error: Reference to Module is ambiguous","user":{"login":"flemic","id":3844300,"avatar_url":"https://avatars1.githubusercontent.com/u/3844300?v=4","gravatar_id":"","url":"https://api.github.com/users/flemic","html_url":"https://github.com/flemic","followers_url":"https://api.github.com/users/flemic/followers","following_url":"https://api.github.com/users/flemic/following{/other_user}","gists_url":"https://api.github.com/users/flemic/gists{/gist_id}","starred_url":"https://api.github.com/users/flemic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flemic/subscriptions","organizations_url":"https://api.github.com/users/flemic/orgs","repos_url":"https://api.github.com/users/flemic/repos","events_url":"https://api.github.com/users/flemic/events{/privacy}","received_events_url":"https://api.github.com/users/flemic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-17T09:10:27Z","updated_at":"2018-04-23T11:30:51Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm trying to install Fast-RTPS on Mac OS X (High Sierra). I am following the instructions:\r\n\r\ngit clone --recurse-submodules https://github.com/eProsima/Fast-RTPS.git\r\ncd Fast-RTPS && mkdir build && cd build\r\ncmake -DTHIRDPARTY=ON -DBUILD_JAVA=ON ..\r\nmake \r\n\r\nAfter make I get the following error:\r\n\r\n\r\n\r\nScanning dependencies of target git_submodule_update_fastcdr\r\n[  1%] Updating Git module fastcdr\r\n[  1%] Built target git_submodule_update_fastcdr\r\nScanning dependencies of target git_submodule_update_idl\r\n[  2%] Updating Git module idl\r\n[  2%] Built target git_submodule_update_idl\r\nScanning dependencies of target java\r\n[  3%] Generating Java application\r\n\r\n> Task :idl:compileJava FAILED\r\nwarning: [options] source value 6 is obsolete and will be removed in a future release\r\nwarning: [options] target value 1.6 is obsolete and will be removed in a future release\r\nwarning: [options] To suppress warnings about obsolete options, use -Xlint:-options.\r\n/Users/flemic/Fast-RTPS/thirdparty/idl/build/generated-src/IDLParser.java:544: error: reference to Module is ambiguous\r\n                public Pair<Module, TemplateGroup> returnPair = null;\r\n                            ^\r\n  both class com.eprosima.idl.parser.tree.Module in com.eprosima.idl.parser.tree and class java.lang.Module in java.lang match\r\n1 error\r\n3 warnings\r\n\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':idl:compileJava'.\r\n> Compilation failed; see the compiler error output for details.\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nDeprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.\r\nSee https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings\r\n\r\nBUILD FAILED in 4s\r\n1 actionable task: 1 executed\r\nmake[2]: *** [CMakeFiles/java] Error 1\r\nmake[1]: *** [CMakeFiles/java.dir/all] Error 2\r\nmake: *** [all] Error 2 \r\n\r\n\r\nCan you please help me? Cheers!"},"comment":{"url":"https://api.github.com/repos/eProsima/Fast-RTPS/issues/comments/383543638","html_url":"https://github.com/eProsima/Fast-RTPS/issues/206#issuecomment-383543638","issue_url":"https://api.github.com/repos/eProsima/Fast-RTPS/issues/206","id":383543638,"user":{"login":"flemic","id":3844300,"avatar_url":"https://avatars1.githubusercontent.com/u/3844300?v=4","gravatar_id":"","url":"https://api.github.com/users/flemic","html_url":"https://github.com/flemic","followers_url":"https://api.github.com/users/flemic/followers","following_url":"https://api.github.com/users/flemic/following{/other_user}","gists_url":"https://api.github.com/users/flemic/gists{/gist_id}","starred_url":"https://api.github.com/users/flemic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flemic/subscriptions","organizations_url":"https://api.github.com/users/flemic/orgs","repos_url":"https://api.github.com/users/flemic/repos","events_url":"https://api.github.com/users/flemic/events{/privacy}","received_events_url":"https://api.github.com/users/flemic/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T11:30:50Z","updated_at":"2018-04-23T11:30:50Z","author_association":"NONE","body":"Hi @BorjaOuterelo ,\r\n\r\nMy version was indeed not JDK8. But even now, I get the same error.\r\n\r\nflemic$ javac -version\r\njavac 1.8.0_172\r\n\r\nBest,\r\nFilip\r\n"}}
{"actor":{"display_login":"flemic"}}