[Pkg-freeipa-devel] Problem when building 10.2.6-2 on Jessie

marcin kowalski yoshi314 at gmail.com
Mon Oct 5 11:16:08 UTC 2015


Hi all, this might be an unsupported setup, but i am hitting a build error
with dogtag 10.2.6-2 on that environment. The build error is as follows :


(....)
Scanning dependencies of target pki-tomcat7-classes
make[4]: Leaving directory '/root/src/dogtag/dogtag-pki-10.2.6/build/core'
make -f
base/server/tomcat7/src/CMakeFiles/pki-tomcat7-classes.dir/build.make
base/server/tomcat7/src/CMakeFiles/pki-tomcat7-classes.dir/build
make[4]: Entering directory '/root/src/dogtag/dogtag-pki-10.2.6/build/core'
cd /root/src/dogtag/dogtag-pki-10.2.6/base/server/tomcat7/src &&
/usr/bin/cmake
-Doutput=/root/src/dogtag/dogtag-pki-10.2.6/build/core/base/server/tomcat7/src/pki-tomcat7-classes.files
-Dinput_dir=/root/src/dogtag/dogtag-pki-10.2.6/base/server/tomcat7/src
-Dfiles="com/netscape/cms/tomcat/*.java" -Dexclude="" -P
/root/src/dogtag/dogtag-pki-10.2.6/cmake/Modules/JavaFileList.cmake
cd /root/src/dogtag/dogtag-pki-10.2.6/base/server/tomcat7/src &&
/usr/bin/javac -encoding UTF-8 -cp
:/usr/share/java/servlet-api-3.0.jar:/usr/share/java/tomcat-catalina.jar:TOMCAT_UTIL_SCAN_JAR-NOTFOUND
-d /root/src/dogtag/dogtag-pki-10.2.6/build/core/../../tomcat
@/root/src/dogtag/dogtag-pki-10.2.6/build/core/base/server/tomcat7/src/pki-tomcat7-classes.files
com/netscape/cms/tomcat/ProxyRealm.java:142: error: no suitable method
found for authenticate(String)
        return realm.authenticate(username);
                    ^
    method Realm.authenticate(X509Certificate[]) is not applicable
      (actual argument String cannot be converted to X509Certificate[] by
method invocation conversion)
    method Realm.authenticate(GSSContext,boolean) is not applicable
      (actual and formal argument lists differ in length)
    method
Realm.authenticate(String,String,String,String,String,String,String,String)
is not applicable
      (actual and formal argument lists differ in length)
    method Realm.authenticate(String,String) is not applicable
      (actual and formal argument lists differ in length)
com/netscape/cms/tomcat/ProxyRealm.java:140: error: method does not
override or implement a method from a supertype
    @Override
    ^
2 errors
base/server/tomcat7/src/CMakeFiles/pki-tomcat7-classes.dir/build.make:52:
recipe for target 'pki-tomcat7-classes' failed
make[4]: *** [pki-tomcat7-classes] Error 1
make[4]: Leaving directory '/root/src/dogtag/dogtag-pki-10.2.6/build/core'
CMakeFiles/Makefile2:1427: recipe for target
'base/server/tomcat7/src/CMakeFiles/pki-tomcat7-classes.dir/all' failed
make[3]: ***
[base/server/tomcat7/src/CMakeFiles/pki-tomcat7-classes.dir/all] Error 2
make[3]: Leaving directory '/root/src/dogtag/dogtag-pki-10.2.6/build/core'
Makefile:137: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/root/src/dogtag/dogtag-pki-10.2.6/build/core'
debian/rules:79: recipe for target
'debian/stamp/x86_64-linux-gnu-build-core' failed
make[1]: *** [debian/stamp/x86_64-linux-gnu-build-core] Error 2
make[1]: Leaving directory '/root/src/dogtag/dogtag-pki-10.2.6'
debian/rules:68: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2




I have backported a couple of dependencies that were missing in jessie such
as libnuxwdog and tomcatjss, and those went ok. Last version of dogtag i
can build correctly is 10.2.0 which is fairly old. Is that a known issue
with a potential fix?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-freeipa-devel/attachments/20151005/8e27bcd9/attachment.html>


More information about the Pkg-freeipa-devel mailing list