Re: [libvirt] Libvirt java build problems

2013-02-22 Thread Claudio Bley
At Fri, 22 Feb 2013 15:43:58 +,
Daniel P. Berrange wrote:
> 
> On Fri, Feb 22, 2013 at 04:34:19PM +0100, Claudio Bley wrote:
> > At Fri, 22 Feb 2013 15:20:03 +,
> > Daniel P. Berrange wrote:
> > > 
> > 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

Not as far as I know. Besides, I think the memory leak fixes in git by
itself would justify for preparing a new release.

But, I also have some things on my to-do list which I'd like to fix
before a new release is out.

If you cherry pick 307ba7a you might also want to take 1731b72 into
consideration. It's mechanical and has the advantage of not creating
temporary objects on every struct instantiation.

Claudio
-- 
AV-Test GmbH, Henricistraße 20, 04155 Leipzig, Germany
Phone: +49 341 265 310 19
Web:

Eingetragen am / Registered at: Amtsgericht Stendal (HRB 114076)
Geschaeftsfuehrer (CEO): Andreas Marx, Guido Habicht, Maik Morgenstern

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

Re: [libvirt] Libvirt java build problems

2013-02-22 Thread Daniel P. Berrange
On Fri, Feb 22, 2013 at 04:34:19PM +0100, Claudio Bley wrote:
> At Fri, 22 Feb 2013 15:20:03 +,
> 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@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Libvirt java build problems

2013-02-22 Thread Claudio Bley
At Fri, 22 Feb 2013 15:20:03 +,
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=307ba7a1974bf7fdd920b85c73015887873a4502)

-- 
AV-Test GmbH, Henricistraße 20, 04155 Leipzig, Germany
Phone: +49 341 265 310 19
Web:

Eingetragen am / Registered at: Amtsgericht Stendal (HRB 114076)
Geschaeftsfuehrer (CEO): Andreas Marx, Guido Habicht, Maik Morgenstern

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