At Fri, 22 Feb 2013 15:20:03 +0000,
Daniel P. Berrange wrote:
The Fedora build of libvirt-java is currently broken with a strange
error:
http://kojipkgs.fedoraproject.org//work/tasks/4719/4994719/build.log
Buildfile: /builddir/build/BUILD/libvirt-java-0.4.9/build.xml
init:
[mkdir] Created dir: /builddir/build/BUILD/libvirt-java-0.4.9/target/classes
[mkdir] Created dir: /builddir/build/BUILD/libvirt-java-0.4.9/target/testclasses
[copy] Copying 1 file to /builddir/build/BUILD/libvirt-java-0.4.9
build:
[javac] /builddir/build/BUILD/libvirt-java-0.4.9/build.xml:42: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to
false for repeatable builds
[javac] Compiling 63 source files to
/builddir/build/BUILD/libvirt-java-0.4.9/target/classes
[javac]
/builddir/build/BUILD/libvirt-java-0.4.9/src/main/java/org/libvirt/jna/virError.java:9:
error: virError is not abstract and does not override abstract method getFieldOrder() in
Structure
[javac] public class virError extends Structure {
[javac] ^
[javac]
/builddir/build/BUILD/libvirt-java-0.4.9/src/main/java/org/libvirt/jna/virConnectAuth.java:9:
error: virConnectAuth is not abstract and does not override abstract method
getFieldOrder() in Structure
[javac] public class virConnectAuth extends Structure {
...
[javac] public class virStorageVolInfo extends Structure {
[javac] ^
[javac]
/builddir/build/BUILD/libvirt-java-0.4.9/src/main/java/org/libvirt/jna/virConnectCredential.java:8:
error: virConnectCredential is not abstract and does not override abstract method
getFieldOrder() in Structure
[javac] public class virConnectCredential extends Structure implements
Structure.ByReference {
[javac] ^
[javac] 14 errors
BUILD FAILED
/builddir/build/BUILD/libvirt-java-0.4.9/build.xml:42: Compile failed; see the compiler
error output for details.
You're using JNA >= 3.5.0, right?
See commit 307ba7a1974bf7fdd920b85c73015887873a4502
(
http://libvirt.org/git/?p=libvirt-java.git;a=commit;h=307ba7a1974bf7fdd92...)
--
AV-Test GmbH, Henricistraße 20, 04155 Leipzig, Germany
Phone: +49 341 265 310 19
Web:<http://www.av-test.org>
Eingetragen am / Registered at: Amtsgericht Stendal (HRB 114076)
Geschaeftsfuehrer (CEO): Andreas Marx, Guido Habicht, Maik Morgenstern