Installed R-devel 3.2.3 on a vanilla F23 box. Installing any package with C code fails with: gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory This parameter originates from R's CFLAGS: $ R CMD config CFLAGS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
redhat-hardened in CFLAGS
5 messages · Jeroen Ooms, Michael Smith, Milan Bouchet-Valat +1 more
If I recall correctly: dnf install redhat-rpm-config
On 01/15/2016 08:50 PM, Jeroen Ooms wrote:
Installed R-devel 3.2.3 on a vanilla F23 box. Installing any package with C code fails with: gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory This parameter originates from R's CFLAGS: $ R CMD config CFLAGS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
_______________________________________________ R-SIG-Fedora mailing list R-SIG-Fedora at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-fedora
On Fri, Jan 15, 2016 at 2:45 PM, Michael Smith <my.r.help at gmail.com> wrote:
dnf install redhat-rpm-config
I used: yum install /usr/lib/rpm/redhat/redhat-hardened-cc1 And that did the job, however it seems to me this should be a formal dependency of the R-base rpm package.
Le vendredi 15 janvier 2016 ? 14:48 +0100, Jeroen Ooms a ?crit?:
On Fri, Jan 15, 2016 at 2:45 PM, Michael Smith <my.r.help at gmail.com> wrote:
dnf install redhat-rpm-config
I used: ?yum install /usr/lib/rpm/redhat/redhat-hardened-cc1 And that did the job, however it seems to me this should be a formal dependency of the R-base rpm package.
Indeed, installing packages is quite an essential operation in R... Regards
On 01/15/2016 11:14 AM, Milan Bouchet-Valat wrote:
Le vendredi 15 janvier 2016 ? 14:48 +0100, Jeroen Ooms a ?crit :
On Fri, Jan 15, 2016 at 2:45 PM, Michael Smith <my.r.help at gmail.com> wrote:
dnf install redhat-rpm-config
I used: yum install /usr/lib/rpm/redhat/redhat-hardened-cc1 And that did the job, however it seems to me this should be a formal dependency of the R-base rpm package.
Indeed, installing packages is quite an essential operation in R...
Agreed. I'm doing builds with Requires: redhat-rpm-config now (it isn't needed for EL5/EL6 builds because they aren't hardened). ~tom == Red Hat