Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1389

Leveldbjni not available on ARM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • None
    • clustering
    • None
    • Operating System: All
      Platform: All

    • 3973

      odl-akka-leveldb pulls in leveldb which pulls in

      mvn:org.fusesource.leveldbjni/leveldbjni-all/1.8

      This dependency fails with:
      Error executing command: Can't install feature odl-l2switch-switch/0.0.0:
      Could not start bundle mvn:org.fusesource.leveldbjni/leveldbjni-all/1.8 in feature(s) odl-akka-leveldb-0.7: The bundle "org.fusesource.leveldbjni.leveldbjni-all_1.8.0 [355]" could not be resolved. Reason: No match found for native code: META-INF/native/windows32/leveldbjni.dll; processor=x86; osname=Win32, META-INF/native/windows64/leveldbjni.dll; processor=x86-64; osname=Win32, META-INF/native/osx/libleveldbjni.jnilib; processor=x86; osname=macosx, META-INF/native/osx/libleveldbjni.jnilib; processor=x86-64; osname=macosx, META-INF/native/linux32/libleveldbjni.so; processor=x86; osname=Linux, META-INF/native/linux64/libleveldbjni.so; processor=x86-64; osname=Linux

      As there is no nativ build for arm 32 and 64 bit available. This blocks deployment on non x86 machines like ARM 64 bit servers.

      See this entry:
      https://ask.opendaylight.org/question/4114/lithium-rc2-feature-install-error-on-armv8-platform/

      And this ML post:
      https://lists.opendaylight.org/pipermail/controller-dev/2015-June/009797.html

      It is possible to compile for arm as this page shows:
      http://arm.koji.fedoraproject.org/koji/rpminfo?rpmID=1282603

      Its a feature request in the end - and for a external dependency. But it shows that we need to be careful with our dependencies!

            Unassigned Unassigned
            jsmoeller@linuxfoundation.org Jan-Simon Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: