{"action":"created","issue":{"url":"https://api.github.com/repos/trustin/os-maven-plugin/issues/24","repository_url":"https://api.github.com/repos/trustin/os-maven-plugin","labels_url":"https://api.github.com/repos/trustin/os-maven-plugin/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/trustin/os-maven-plugin/issues/24/comments","events_url":"https://api.github.com/repos/trustin/os-maven-plugin/issues/24/events","html_url":"https://github.com/trustin/os-maven-plugin/issues/24","id":182685970,"number":24,"title":"os.dected.arch=unknown from mips64el when buid grpc-java","user":{"login":"vans88","id":5213814,"avatar_url":"https://avatars.githubusercontent.com/u/5213814?v=3","gravatar_id":"","url":"https://api.github.com/users/vans88","html_url":"https://github.com/vans88","followers_url":"https://api.github.com/users/vans88/followers","following_url":"https://api.github.com/users/vans88/following{/other_user}","gists_url":"https://api.github.com/users/vans88/gists{/gist_id}","starred_url":"https://api.github.com/users/vans88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vans88/subscriptions","organizations_url":"https://api.github.com/users/vans88/orgs","repos_url":"https://api.github.com/users/vans88/repos","events_url":"https://api.github.com/users/vans88/events{/privacy}","received_events_url":"https://api.github.com/users/vans88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-13T03:21:04Z","updated_at":"2016-10-19T01:26:02Z","closed_at":null,"body":"Firstly shou you my platform info:\r\nkennel:4.4.21\r\nArch: mips64el\r\nOS:Fedora21 \r\ngradle:3.0.2\r\n\r\nI have build os-maven-plugin from successfully, source code from github, when I  run \"mvn install -X \" with os-maven-plugin, it dispaly as follows:\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 01:15 min\r\n[INFO] Finished at: 2016-10-13T10:56:16+08:00\r\n[INFO] Final Memory: 90M/3441M\r\n[INFO] ------------------------------------------------------------------------\r\n\r\nThough os-maven-plugin has built done, when I build grpc-java( source from github) I am getting the following errors, why the \"os.detected.arch\" is \"unknown\"\r\n------------------------------------------------------------------------\r\nDetecting the operating system and CPU architecture\r\n------------------------------------------------------------------------\r\nos.detected.name=linux\r\nos.detected.arch=unknown\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* Where:\r\nBuild file '/usr/local/TenFlow/grpc-java/build.gradle' line: 60\r\n\r\n* What went wrong:\r\nA problem occurred evaluating root project 'grpc'.\r\n> unknown os.arch: mips64el\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --debug option to get more log output.\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 44.949 secs\r\nStopped 0 compiler daemon(s).\r\n"},"comment":{"url":"https://api.github.com/repos/trustin/os-maven-plugin/issues/comments/254685425","html_url":"https://github.com/trustin/os-maven-plugin/issues/24#issuecomment-254685425","issue_url":"https://api.github.com/repos/trustin/os-maven-plugin/issues/24","id":254685425,"user":{"login":"vans88","id":5213814,"avatar_url":"https://avatars.githubusercontent.com/u/5213814?v=3","gravatar_id":"","url":"https://api.github.com/users/vans88","html_url":"https://github.com/vans88","followers_url":"https://api.github.com/users/vans88/followers","following_url":"https://api.github.com/users/vans88/following{/other_user}","gists_url":"https://api.github.com/users/vans88/gists{/gist_id}","starred_url":"https://api.github.com/users/vans88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vans88/subscriptions","organizations_url":"https://api.github.com/users/vans88/orgs","repos_url":"https://api.github.com/users/vans88/repos","events_url":"https://api.github.com/users/vans88/events{/privacy}","received_events_url":"https://api.github.com/users/vans88/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T01:26:02Z","updated_at":"2016-10-19T01:26:02Z","body":"I modified the file Detector.java and added the following line to support my platform. then I have build and test(mvn test) successfully .but,when I run \"./gradlew test --info\" in top dir of osdetector-gradle-plugin,it doesn't work. Can you tell me the reason?\r\n**Add the following lines:**\r\n if (value.matches(\"^(mips|mips64|mips64el)$\")) {\r\n             return \"mips64el\";\r\n        }\r\nif (\"mips64el\".equals(value)) {\r\n            return \"mips64el\";\r\n        }\r\n**osdetector gradle tests results:**\r\ncom.google.gradle.osdetector.OsDetectorPluginTest > pluginAddsExtensionToProject STANDARD_OUT\r\n    08:32:21.896 [Test worker] DEBUG o.g.i.n.f.s.FileSystemServices - Native-platform file system integration is not available. Continuing with fallback.\r\n    08:32:21.927 [Test worker] DEBUG o.g.i.n.f.s.FileSystemServices - Using UnsupportedSymlink implementation.\r\n    08:32:21.938 [Test worker] DEBUG o.g.i.n.f.s.FileSystemServices - Unable to load org.gradle.internal.nativeintegration.filesystem.jdk7.PosixJdk7FilePermissionHandler. Continuing with fallback org.gradle.internal.nativeintegration.filesystem.services.UnsupportedFilePermissions.\r\n    08:32:24.187 [Test worker] DEBUG o.g.i.n.services.NativeServices - Native-platform process integration is not available. Continuing with fallback.\r\n    08:32:27.029 [Test worker] INFO  c.g.gradle.osdetector.OsDetector - ------------------------------------------------------------------------\r\n    08:32:27.035 [Test worker] INFO  c.g.gradle.osdetector.OsDetector - Detecting the operating system and CPU architecture\r\n    08:32:27.036 [Test worker] INFO  c.g.gradle.osdetector.OsDetector - ------------------------------------------------------------------------\r\n    08:32:27.042 [Test worker] INFO  c.g.gradle.osdetector.OsDetector - os.detected.name=linux\r\n    08:32:27.043 [Test worker] INFO  c.g.gradle.osdetector.OsDetector - os.detected.arch=unknown\r\n\r\ncom.google.gradle.osdetector.OsDetectorPluginTest > pluginAddsExtensionToProject FAILED\r\n    kr.motd.maven.os.DetectionException: unknown os.arch: mips64el\r\n        at kr.motd.maven.os.Detector.detect(Detector.java:73)\r\n        at com.google.gradle.osdetector.OsDetector$Impl.<init>(OsDetector.java:117)\r\n        at com.google.gradle.osdetector.OsDetector.getImpl(OsDetector.java:64)\r\n        at com.google.gradle.osdetector.OsDetector.getOs(OsDetector.java:34)\r\n        at com.google.gradle.osdetector.OsDetector_Decorated.getOs(Unknown Source)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:483)\r\n        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)\r\n        at groovy.lang.MetaBeanProperty.getProperty(MetaBeanProperty.java:60)\r\n        at org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.getProperty(BeanDynamicObject.java:153)\r\n        at org.gradle.api.internal.BeanDynamicObject.getProperty(BeanDynamicObject.java:107)\r\n        at org.gradle.api.internal.CompositeDynamicObject.getProperty(CompositeDynamicObject.java:78)\r\n        at com.google.gradle.osdetector.OsDetector_Decorated.getProperty(Unknown Source)\r\n        at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:47)\r\n        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)\r\n        at com.google.gradle.osdetector.OsDetectorPluginTest.pluginAddsExtensionToProject(OsDetectorPluginTest.groovy:31)\r\n\r\nat the top of software stack, I found the file Detecotr.java:73 which come from os-maven-plugin, and in the \"build.gradle\" from osdetector-gradle-plugin, I foud the following dependencies.\r\n**dependencies:**\r\ndependencies {\r\n  compile gradleApi(),\r\n          localGroovy(),\r\n          'kr.motd.maven:os-maven-plugin:1.4.1.Final'\r\n}\r\n\r\n\r\n"}}
{"actor":{"display_login":"vans88"}}