Bug 757122 - scala does not build with java-1.7.0-openjdk
Summary: scala does not build with java-1.7.0-openjdk
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: scala
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Geoff Reedy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 914504 (view as bug list)
Depends On:
Blocks: F19FTBFS
TreeView+ depends on / blocked
 
Reported: 2011-11-25 14:13 UTC by Alexandre Mazari
Modified: 2014-03-19 01:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-19 01:19:20 UTC


Attachments (Terms of Use)
Enfore jd6 usage for build (1.50 KB, patch)
2011-11-25 14:15 UTC, Alexandre Mazari
no flags Details | Diff

Description Alexandre Mazari 2011-11-25 14:13:50 UTC
Description of problem:

Latest scala version (2.9.1) build fails on Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=272164

Cause:
- scala-2.9.1 do not build on JDK7 because of the update to swing introducing types arguments (generics) to some classes.
- the scala package do not enforce building with the compatible jdk6

The attached patch hopefully fix the build issue by enforcing usage of jdk6 by getting stricter on the build requirements.

Comment 1 Alexandre Mazari 2011-11-25 14:15:29 UTC
Created attachment 536339 [details]
Enfore jd6 usage for build

Comment 2 gil cattaneo 2012-11-23 15:29:10 UTC
hi
take a look here https://github.com/scala/scala/compare/java7

Comment 3 Fedora End Of Life 2013-04-03 14:57:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 4 Jens Petersen 2013-06-14 01:26:06 UTC
openjdk 1.6 is no longer available in Fedora.

Comment 5 Jens Petersen 2013-06-14 01:39:13 UTC
*** Bug 914504 has been marked as a duplicate of this bug. ***

Comment 6 Filipe Rosset 2014-03-19 01:19:20 UTC
Closing this one because scala is building fine in rawhide against openjdk-1.7

http://koji.fedoraproject.org/koji/packageinfo?packageID=6830


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