Bug 1015121 - jna: FTBFS in rawhide
Summary: jna: FTBFS in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: jna
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-03 13:26 UTC by Mikolaj Izdebski
Modified: 2014-01-14 21:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-14 21:18:40 UTC
Type: ---


Attachments (Terms of Use)
Patch (3.58 KB, patch)
2014-01-10 21:10 UTC, Roland Grunberg
no flags Details | Diff

Description Mikolaj Izdebski 2013-10-03 13:26:28 UTC
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

Comment 1 Roland Grunberg 2014-01-10 21:10:23 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.