Bug 912802 - R-devel requires R-java-devel
Summary: R-devel requires R-java-devel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: R
Version: 18
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-19 17:26 UTC by wrobell
Modified: 2014-10-17 23:07 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-16 01:32:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description wrobell 2013-02-19 17:26:23 UTC
User-Agent:       Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.91 Safari/537.11
Build Identifier: 

R-java-devel is pulled when installing R-devel. This adds Java to the system, which is unnecessary to build R packages.

Reproducible: Always

Actual Results:  
R-devel causes installation of Java.

Expected Results:  
R-devel should install without Java.

N/A

Comment 1 Tom "spot" Callaway 2013-02-27 19:52:20 UTC
Yes, perhaps, but R assumes an "all or nothing" approach to development. Either the Java files are there, or it puts them there when you do a local R component build that uses them. Which tends to break things, and has broken things in the recent past, so now we just pull in all the devel files, with their appropriate dependencies, and that includes Java.

If you really don't want Java, just --nodeps in R-devel. R-java-devel is an empty metapackage to just pull in the Java deps.

Comment 2 wrobell 2013-02-28 13:45:29 UTC
Before closing the bug, do you mind if I ask you to be bit more specific?

1. I have compiled several packages (i.e. ggplot2) and they compiled fine without Java.
2. What do you mean by broken things? If anyone compiles a package with R's "install.packages", then I believe he/she will be smart enough to determine if Java is needed for the package.

The Java itself is quite heavy, why to impose it on those who do not need it?

Also, --nodeps for R-devel will not help in long term. Java will be pulled again due to unnecessary dependency on any R update.

Comment 3 Tom "spot" Callaway 2013-02-28 15:30:12 UTC
There are numerous R modules which depend on Java, and they assume that Java is present, because R was built with Java support, and when they try to build, they fail. It was not obvious to end-users why this was happening, and I was getting bugs where people were reporting that Java wasn't enabled, when all they were missing was R-java-devel (and its dependencies and scriptlets). So, I made R-devel pull in R-java-devel, and that problem went away.

The only way I can see around this is to create an R-core-devel, which owns the files that R-devel used to own, then remake R-devel as metapackage that pulls in both R-core-devel and R-java-devel.

Then, you could just install R-core-devel if you don't want Java. 

Since this is keeping with how R/R-core works now, I'll go ahead and do that.

Comment 4 Fedora Update System 2013-02-28 21:56:24 UTC
R-2.15.2-7.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/R-2.15.2-7.fc17

Comment 5 Fedora Update System 2013-02-28 21:56:48 UTC
R-2.15.2-7.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/R-2.15.2-7.fc18

Comment 6 wrobell 2013-03-01 16:01:20 UTC
thank you

Comment 7 Fedora Update System 2013-03-02 19:53:59 UTC
Package R-2.15.2-7.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing R-2.15.2-7.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3214/R-2.15.2-7.fc18
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-03-16 01:32:08 UTC
R-2.15.2-7.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-03-16 01:43:27 UTC
R-2.15.2-7.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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