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

Re: RFS: libgstreamer-java



> 1 test (and the whole build process) fails for me:
>
>    [junit] ------------- Standard Output ---------------
>    [junit] PlayBin factory name=playbin
>    [junit] ------------- ---------------- ---------------
>    [junit] Testcase:
> getStaticPadTemplates(org.gstreamer.ElementFactoryTest):  Caused an
> ERROR
>    [junit] No known Enum mapping for org.gstreamer.PadPresence value=89
>    [junit] java.lang.IllegalArgumentException: No known Enum mapping
> for org.gstreamer.PadPresence value=89
>    [junit]     at org.gstreamer.lowlevel.EnumMapper.valueOf(EnumMapper.java:74)
>    [junit]     at
> org.gstreamer.lowlevel.GTypeMapper$4.fromNative(GTypeMapper.java:147)
>    [junit]     at com.sun.jna.Structure.readField(Structure.java:494)
>    [junit]     at com.sun.jna.Structure.read(Structure.java:392)
>    [junit]     at
> org.gstreamer.lowlevel.GstPadTemplateAPI$GstStaticPadTemplate.<init>(GstPadTemplateAPI.java:63)
>    [junit]     at
> org.gstreamer.ElementFactory.getStaticPadTemplates(ElementFactory.java:132)
>    [junit]     at
> org.gstreamer.ElementFactoryTest.getStaticPadTemplates(ElementFactoryTest.java:174)
>
> It would be okay to ignore the test failure if it can't be fixed easily.

Hi Torsten,

For me it builds fine, probably there is some requirement not mapped
in build-depends.

Are you using gcj or openjdk? which version?
Can you send also the versions of junit, libjna-java,
libgstreamer0.10-0 and gstreamer0.10-plugins-base ?

Thanks,

 - Samuel


Reply to: