Bug 1119258 - libdb fails to build with Java8
Summary: libdb fails to build with Java8
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libdb
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Staněk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-14 11:42 UTC by Jakub Čajka
Modified: 2014-07-14 14:29 UTC (History)
4 users (show)

Fixed In Version: libdb-5.3.28-7.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-14 14:29:17 UTC


Attachments (Terms of Use)
Possible solution to this bug (3.16 KB, patch)
2014-07-14 11:42 UTC, Jakub Čajka
no flags Details | Diff

Description Jakub Čajka 2014-07-14 11:42:44 UTC
Created attachment 917768 [details]
Possible solution to this bug

Description of problem:
Package fails to build using Java 8. I have first discovered this on ppc. I have tried to build package using mock locally(on x86_64) to rawhide, as rawhide ships jdk8 build fails same way as on ppc.

How reproducible:
Always

Steps to Reproduce:
1.build package 

Additional info:
I have made bit of digging to this, and I have found fix for this. Patch in attachment defines constant in Optcodes.java for Java 8 and modifies ClassReader.java to use it. This change makes build with jdk8 finish successfully. 

Please verify this patch.

Successful scratch builds:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1953522
http://koji.fedoraproject.org/koji/taskinfo?taskID=7136529

Failing build:
http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=252177

Comment 1 Honza Horak 2014-07-14 14:29:17 UTC
Thanks, Jakub, for the patch, it is now in F21+.


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