| Summary: | jna: FTBFS in rawhide | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikolaj Izdebski <mizdebsk> | ||||
| Component: | jna | Assignee: | Colin Walters <walters> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | dbhole, lfarkas, mizdebsk, pbrobinson, walters | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-01-14 21:18:40 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
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)
|
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