Re: Libvirt java build problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 22, 2013 at 04:34:19PM +0100, Claudio Bley wrote:
> 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?

Yep, that's what F19 rawhide has got now.

> See commit 307ba7a1974bf7fdd920b85c73015887873a4502
> 
> (http://libvirt.org/git/?p=libvirt-java.git;a=commit;h=307ba7a1974bf7fdd920b85c73015887873a4502)

Any timeline for the next libvirt-java release ? Otherwise we'll cherry
pick the patch into Fedora RPMs


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]