Hide Forgot
For opendaylight packaging (specifically, to solve one embedded-DSO-in-JAR issue and enable use of the upstream-supported data-persistence), we need leveldbjni. This is available currently in Fedora but not in any OSP-applicable channel. The package build-requirements are as follows: autoconf automake libtool maven-local mvn(junit:junit) junit, in Brew mvn(org.apache.felix:maven-bundle-plugin) felix, in Brew mvn(org.apache.maven.plugins:maven-source-plugin) maven, in RHEL mvn(org.apache.maven.plugin-tools:maven-plugin-tools-javadoc) maven, in RHEL mvn(org.fusesource:fusesource-pom:pom:) fusesource-pom, in RHEL mvn(org.fusesource.hawtjni:hawtjni-runtime) hawtjni, in RHEL mvn(org.fusesource.hawtjni:maven-hawtjni-plugin) maven-hawtjni-plugin, in RHEL mvn(org.iq80.leveldb:leveldb-api) leveldb, in Brew pkgconfig(leveldb) leveldb, in Brew snappy-devel snappy, in RHEL xmvn xmvn, in RHEL I'll file separate bugs for junit, felix, and leveldb which I think need to be imported too.
The Fedora package is https://koji.fedoraproject.org/koji/packageinfo?packageID=18435 and there's already a Brew project at https://brewweb.engineering.redhat.com/brew/packageinfo?packageID=59652
junit is already in RHEL so that's dealt with already.
This is the correct build-dependency tree: leveldbjni autoconf, in RHEL automake, in RHEL libtool, in RHEL maven-local javapackages-tools, in Brew mvn(junit:junit) junit, in RHEL mvn(org.apache.felix:maven-bundle-plugin) maven-plugin-bundle, in RHEL (but too old) mvn(org.apache.maven.plugins:maven-source-plugin) maven, in RHEL mvn(org.apache.maven.plugin-tools:maven-plugin-tools-javadoc) maven, in RHEL mvn(org.fusesource:fusesource-pom:pom:) fusesource-pom, in RHEL mvn(org.fusesource.hawtjni:hawtjni-runtime) hawtjni, in RHEL mvn(org.fusesource.hawtjni:maven-hawtjni-plugin) maven-hawtjni-plugin, in RHEL mvn(org.iq80.leveldb:leveldb-api) leveldb-java, in Brew pkgconfig(leveldb) leveldb, in Brew snappy-devel snappy, in RHEL xmvn xmvn, in RHEL
leveldbjni-1.8-15.5.el7ost simplifies the dependencies by introducing a leveldbjni-all package which is used by opendaylight.
Verified that leveldbjni-all-1.8-15.5.el7ost.x86_64 is present
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:3462