Bug 1288717
Summary: | Build of R packages with gcc and gfortran fails with redhat-hardened-cc1 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | traderbeckola |
Component: | R | Assignee: | Tom "spot" Callaway <tcallawa> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | davejohansen, ffesti, jakub, jonathan, jwakely, law, mpolacek, pmatilai, praiskup, tcallawa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-09 13:07:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1192183 | ||
Bug Blocks: |
Description
traderbeckola
2015-12-05 14:41:46 UTC
GCC itself does not add -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 , so it must come either from the rpm configuration, or some other tool like libtool or pkgconfig. You probably know, but '%undefine _hardened_build' should work-around this issue. Reassigning to R, if it sets -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 on builds then it needs to require it too. BTW see also bug 1218294, there appears to be a common theme here. I'm not sure how you managed this. From the R.spec: %if 0%{?fedora} %global modern 1 %global hardening 1 %endif %package core Summary: The minimal R components necessary for a functional runtime Group: Applications/Engineering Requires: xdg-utils, cups # R inherits the compiler flags it was built with, hence we need this on hardened systems %if 0%{hardening} Requires: redhat-rpm-config %endif ***** Looking at the R-core-3.3.2-2.fc23 package: http://koji.fedoraproject.org/koji/rpminfo?rpmID=8470725 redhat-rpm-config shows up under Requires. |