Hi Alexander
At present, we use the source code of the dogtag (10.6.8-2) to be recompiled under jdk8,
but the compiled deb package does not match the wrong jar package version. The error
message is as follows. I want to know if I can modify the build script to cancel this
version check. At the moment we contacted the debian freeipa team and did not get a reply.
So take the liberty to find you. Thank you.
root@debian:~/pki/dogtag-pki-10.6.8# dpkg-buildpackage -rfakeroot -uc -b
com/netscape/cmsutil/ocsp/OCSPProcessor.java:32: warning: [deprecation] DefaultHttpClient
in org.apache.http.impl.client has been deprecated
import org.apache.http.impl.client.DefaultHttpClient;
^
com/netscape/cmsutil/password/NuxwdogPasswordStore.java:15: error: cannot access
WatchdogClient
import com.redhat.nuxwdog.WatchdogClient;
^
bad class file: /usr/share/java/nuxwdog.jar(com/redhat/nuxwdog/WatchdogClient.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
make[4]: *** [base/util/src/CMakeFiles/pki-cmsutil-classes.dir/build.make:62:
pki-cmsutil-classes] Error 1
make[4]: Leaving directory '/root/pki/dogtag-pki-10.6.8/build/core'
make[3]: *** [CMakeFiles/Makefile2:628:
base/util/src/CMakeFiles/pki-cmsutil-classes.dir/all] Error 2
make[3]: Leaving directory '/root/pki/dogtag-pki-10.6.8/build/core'
make[2]: *** [Makefile:152: all] Error 2
make[2]: Leaving directory '/root/pki/dogtag-pki-10.6.8/build/core'
make[1]: *** [debian/rules:63: debian/stamp/x86_64-linux-gnu-build-core] Error 2
make[1]: Leaving directory '/root/pki/dogtag-pki-10.6.8'
make: *** [debian/rules:48: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
root@debian:~/pki/dogtag-pki-10.6.8#
root@debian:~/pki/dogtag-pki-10.6.8#