Hide Forgot
Description of problem: In EPEL 5 and 6 the pkg-config returns: $ pkg-config --libs libR -Wl,--export-dynamic -fopenmp -L/usr/lib64/R/lib -ldl -lpthread -lc -lcurl -lidn -lssh2 -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lldap -lz -lrt -lR But the R-core-devel package does not depend on libcurl-devel, libssh2-devel, openldap-devel. Building R addons fails due to the missing deps. Also, EPEL 5 and 6 uses bundled curl, so linking against the system curl doesnät seem to be a good idea. Compare with EPEL 7 and Fedora, where the pkg-config output does not contain these: $ pkg-config --libs libR -L/usr/lib64/R/lib -Wl,--export-dynamic -fopenmp -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lR Version-Release number of selected component (if applicable): R-3.3.0-3.el5 R-3.3.0-3.el6 How reproducible: Always
Have you considered updating to EL7? :) Seriously. The amount of hacking I had to do to get R 3.3.0 to even _build_ for EL5/6 was disgusting. ... alright. I guess I can short-circuit the libR.pc file to refer to the bundled bits.
R-3.3.0-4.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-6529014854
R-3.3.0-4.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-a7de38e355
Please, please, test this update for me.
Created attachment 1164339 [details] Improved fix The pkg-config command cleans up its output by removing multiple spaces and removing duplicate flags, so using the output in the sed replacement argument will not match what is in the .pc file. The original string before the cleanup must be used. In addition, the same removal must also be done in the R/etc/Makeconf file where these flags appear in the LDFLAGS variable. The attached patch implements these changes.
R-3.3.0-4.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-6529014854
R-3.3.0-4.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-a7de38e355
-5 is building now with your fix, thanks.
R-3.3.0-5.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-93778a4eeb
R-3.3.0-5.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-ea9aef57fc
R-3.3.0-5.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-93778a4eeb
R-3.3.0-5.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-ea9aef57fc
R-3.3.0-6.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-050c4e8af7
R-3.3.0-5.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
R-3.3.0-6.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-050c4e8af7
R-3.3.0-8.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-09c8007e64
R-3.3.0-8.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-09c8007e64
R-3.3.0-10.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-367d157bc6
R-3.3.0-10.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-367d157bc6
R-3.3.0-10.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.