Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1106951

Summary: jline1: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: jline1Assignee: Michal Srb <msrb>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mgoldman, mizdebsk, msrb, yselkowi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: jline1-1.0-10.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-23 06:27:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1105908    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
Patch for rawhide none

Description Dennis Gilmore 2014-06-09 18:43:23 UTC
Your package jline1 failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=6992761

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

Comment 1 Dennis Gilmore 2014-06-09 18:43:26 UTC
Created attachment 905693 [details]
build.log

Comment 2 Dennis Gilmore 2014-06-09 18:43:28 UTC
Created attachment 905694 [details]
root.log

Comment 3 Dennis Gilmore 2014-06-09 18:43:30 UTC
Created attachment 905695 [details]
state.log

Comment 4 Yaakov Selkowitz 2014-06-13 23:02:27 UTC
Created attachment 908714 [details]
Patch for rawhide

Apparently, xmvn now automatically detects jars with native code and installs them to %_jnidir instead of %_javadir, in accordance with our packaging policies.  This one is actually a false-positive (and is correctly noarch); the native code in the sources is only for Windows, but xmvn can't detect that.

Now, IMHO the .mfiles generator should also add the necessary %dir bits, otherwise one could easily end up with unowned directories[1], but I'll have to leave that to the Java folks.  In the meantime, patch for rawhide attached.

[1] https://fedoraproject.org/wiki/Packaging:UnownedDirectories

Comment 5 Michal Srb 2014-06-23 06:27:35 UTC
Thanks for the patch Yaakov. Good catch. Maybe we should force installation to %{_javadir} in cases like this. However, I've applied your patch for now. Thanks!