Bug 1106951 - jline1: FTBFS in rawhide
Summary: jline1: FTBFS in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: jline1
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F21FTBFS
TreeView+ depends on / blocked
 
Reported: 2014-06-09 18:43 UTC by Dennis Gilmore
Modified: 2014-06-23 06:27 UTC (History)
4 users (show)

Fixed In Version: jline1-1.0-10.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-23 06:27:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (20.19 KB, text/plain)
2014-06-09 18:43 UTC, Dennis Gilmore
no flags Details
root.log (132.08 KB, text/plain)
2014-06-09 18:43 UTC, Dennis Gilmore
no flags Details
state.log (1.05 KB, text/plain)
2014-06-09 18:43 UTC, Dennis Gilmore
no flags Details
Patch for rawhide (1.25 KB, patch)
2014-06-13 23:02 UTC, Yaakov Selkowitz
no flags Details | Diff

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!


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