Hide Forgot
Description of problem: Package jna fails to build from source in rawhide. Version-Release number of selected component (if applicable): 3.5.2-2 Probable cause of build failure: [javac] /builddir/build/BUILD/jna-4.0/test/com/sun/jna/NativeTest.java:413: error: no suitable method found for run(Class<CAP#1>) [javac] junit.textui.TestRunner.run(Class.forName(args[i])); [javac] ^ [javac] method TestRunner.run(Test) is not applicable [javac] (actual argument Class<CAP#1> cannot be converted to Test by method invocation conversion) [javac] method TestRunner.run(Class<? extends TestCase>) is not applicable [javac] (actual argument Class<CAP#1> cannot be converted to Class<? extends TestCase> by method invocation conversion) [javac] where CAP#1 is a fresh type-variable: [javac] CAP#1 extends Object from capture of ? Full build logs from Koji: Package jna (6019796): i686 (6019868): root.log : http://kojipkgs.fedoraproject.org/work/tasks/9868/6019868/root.log build.log : http://kojipkgs.fedoraproject.org/work/tasks/9868/6019868/build.log state.log : http://kojipkgs.fedoraproject.org/work/tasks/9868/6019868/state.log mock_output.log : http://kojipkgs.fedoraproject.org/work/tasks/9868/6019868/mock_output.log x86_64 (6019867): root.log : http://kojipkgs.fedoraproject.org/work/tasks/9867/6019867/root.log build.log : http://kojipkgs.fedoraproject.org/work/tasks/9867/6019867/build.log state.log : http://kojipkgs.fedoraproject.org/work/tasks/9867/6019867/state.log mock_output.log : http://kojipkgs.fedoraproject.org/work/tasks/9867/6019867/mock_output.log Additional info: [1] http://fedoraproject.org/wiki/Packaging:Java [2] http://fedoraproject.org/wiki/Packaging:Guidelines
Created attachment 848394 [details] Patch I was able to get things building on rawhide with the following patch. I confirmed that the test cases are runnable. (they fail mid-way but aren't packaged and most seem to pass)