This is the error: <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition /var/tmp/paludis/sci-mathematics-rstudio-1.0.153/work/rstudio-1.0.153/src/cpp/r/RRoutines.cpp: In function 'void rstudio::r::routines::registerAll()': /var/tmp/paludis/sci-mathematics-rstudio-1.0.153/work/rstudio-1.0.153/src/cpp/r/RRoutines.cpp:62:21: error: 'struct R_CMethodDef' has no member named 'styles'; did you mean 'types'? nullMethodDef.styles = NULL;
Thank you for the report. Please attach the logfiles https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29 and reopen this ticket (Status:unconfirmed).
Created attachment 486718 [details] build long
Google found this thread related to the error message: https://forums.gentoo.org/viewtopic-p-8083852.html (You have to scroll down to the end.) Apparently, rstudio-1.0.x is not compatible with R>3.4. For R 3.4, rstudio 1.1.x seems to be needed.
See https://bugs.gentoo.org/show_bug.cgi?id=622254 if you want to try RStudio-1.1.
i can confirm that this happens...
This happened to me. I just created patch that removes line "nullMethodDef.styles = NULL;@" in src/cpp/r/RRoutines.cpp because it seems that 'styles' is not used anywhere in the sources. Rstudio works now. There was one more bug when I was installing Rstudio - "‘cerr’ is not a member of ‘std’" in src/cpp/core/Trace.cpp. It was solved by adding "#include <iostream>".
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9c2dbc923a64ce929596357f22f9d04c16250ac commit d9c2dbc923a64ce929596357f22f9d04c16250ac Author: Mark Wright <gienah@gentoo.org> AuthorDate: 2018-07-03 02:37:21 +0000 Commit: Mark Wright <gienah@gentoo.org> CommitDate: 2018-07-03 02:38:45 +0000 sci-mathematics/rstudio: Add USE libressl Thanks to Fernando Canales for the fix for 655408. Thanks Harris Landgarten, Volkmar Glauche, sobham and yuri.from.spb@gmail.com for reporting that 1.0.153 failed to build with R 3.4.1, this should be fixed in 1.1383 and later. Closes: https://bugs.gentoo.org/655408 Closes: https://bugs.gentoo.org/626062 Package-Manager: Portage-2.3.41, Repoman-2.3.9 sci-mathematics/rstudio/rstudio-1.1.453.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)