0 Replies Latest reply on Nov 27, 2019 1:13 PM by rashmi_sakhalkar

    Getting Sigar error while building Rhq repo on linux_ppc64le system

    rashmi_sakhalkar

      Error Logs:

       

      OpenJDK 64-Bit Server VM warning: You have loaded library /root/.m2/repository/org/hyperic/sigar/1.6.5.132-6/sigar-1.6.5.132-6.jar which might have disabled stack guard. The VM will try to fix the stack guard now.

      It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

      WARN  27-11 03:54:24,870 (SystemInfoFactory.java:initialize:311)  -Native library not available on this platform: java.lang.reflect.InvocationTargetException:null -> org.hyperic.sigar.SigarException:/root/.m2/repository/org/hyperic/sigar/1.6.5.132-6/sigar-1.6.5.132-6.jar: /root/.m2/repository/org/hyperic/sigar/1.6.5.132-6/sigar-1.6.5.132-6.jar: invalid ELF header (Possible cause: endianness mismatch)

      Tests run: 176, Failures: 1, Errors: 0, Skipped: 175, Time elapsed: 1.339 sec <<< FAILURE!

      setup(org.rhq.core.system.DeadProcessInfoRefreshTest)  Time elapsed: 0.71 sec  <<< FAILURE!

      org.rhq.core.system.SystemInfoException: Native layer is not available or has been disabled

              at org.rhq.core.system.SigarAccess.getSigar(SigarAccess.java:55)

              at org.rhq.core.system.NativeSystemInfo.<init>(NativeSystemInfo.java:383)

              at org.rhq.core.system.DeadProcessInfoRefreshTest.setup(DeadProcessInfoRefreshTest.java:65)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)