Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Rstudio failed linking at the very end
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Skirmitch
Apprentice
Apprentice


Joined: 15 Jun 2013
Posts: 189

PostPosted: Fri Apr 28, 2017 2:22 am    Post subject: [SOLVED]Rstudio failed linking at the very end Reply with quote

Hey guys, compiling a masked version of Rstudio, it went awesomely but failed at the very end when linking. These are the last lines it output:

Code:
[100%] Linking CXX executable rsession
cd /var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44_build/src/cpp/session && /usr/bin/cmake -E cmake_link_script CMakeFiles/rsession.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++   -march=native -O2 -pipe  -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--as-needed CMakeFiles/rsession.dir/SessionAsyncRProcess.cpp.o CMakeFiles/rsession.dir/SessionClientEvent.cpp.o CMakeFiles/rsession.dir/SessionClientEventQueue.cpp.o CMakeFiles/rsession.dir/SessionClientEventService.cpp.o CMakeFiles/rsession.dir/SessionConsoleProcess.cpp.o CMakeFiles/rsession.dir/SessionContentUrls.cpp.o CMakeFiles/rsession.dir/SessionSSH.cpp.o CMakeFiles/rsession.dir/SessionMain.cpp.o CMakeFiles/rsession.dir/SessionMainOverlay.cpp.o CMakeFiles/rsession.dir/SessionModuleContext.cpp.o CMakeFiles/rsession.dir/SessionOptions.cpp.o CMakeFiles/rsession.dir/SessionOptionsOverlay.cpp.o CMakeFiles/rsession.dir/SessionPersistentState.cpp.o CMakeFiles/rsession.dir/SessionPostback.cpp.o CMakeFiles/rsession.dir/SessionRUtil.cpp.o CMakeFiles/rsession.dir/SessionSourceDatabase.cpp.o CMakeFiles/rsession.dir/SessionSourceDatabaseSupervisor.cpp.o CMakeFiles/rsession.dir/SessionUserSettings.cpp.o CMakeFiles/rsession.dir/SessionWorkerContext.cpp.o CMakeFiles/rsession.dir/http/SessionHttpConnectionQueue.cpp.o CMakeFiles/rsession.dir/http/SessionHttpConnectionUtils.cpp.o CMakeFiles/rsession.dir/modules/SessionAbout.cpp.o CMakeFiles/rsession.dir/modules/SessionAgreement.cpp.o CMakeFiles/rsession.dir/modules/SessionAskPass.cpp.o CMakeFiles/rsession.dir/modules/SessionAsyncPackageInformation.cpp.o CMakeFiles/rsession.dir/modules/SessionAuthoring.cpp.o CMakeFiles/rsession.dir/modules/SessionBreakpoints.cpp.o CMakeFiles/rsession.dir/modules/SessionCodeSearch.cpp.o CMakeFiles/rsession.dir/modules/SessionUserCommands.cpp.o CMakeFiles/rsession.dir/modules/SessionConsole.cpp.o CMakeFiles/rsession.dir/modules/SessionDependencies.cpp.o CMakeFiles/rsession.dir/modules/SessionDiagnostics.cpp.o CMakeFiles/rsession.dir/modules/SessionDirty.cpp.o CMakeFiles/rsession.dir/modules/SessionErrors.cpp.o CMakeFiles/rsession.dir/modules/SessionFiles.cpp.o CMakeFiles/rsession.dir/modules/SessionFilesListingMonitor.cpp.o CMakeFiles/rsession.dir/modules/SessionFilesQuotas.cpp.o CMakeFiles/rsession.dir/modules/SessionFind.cpp.o CMakeFiles/rsession.dir/modules/SessionGit.cpp.o CMakeFiles/rsession.dir/modules/SessionHelp.cpp.o CMakeFiles/rsession.dir/modules/SessionHelpHome.cpp.o CMakeFiles/rsession.dir/modules/SessionHistory.cpp.o CMakeFiles/rsession.dir/modules/SessionHistoryArchive.cpp.o CMakeFiles/rsession.dir/modules/SessionHTMLPreview.cpp.o CMakeFiles/rsession.dir/modules/SessionLimits.cpp.o CMakeFiles/rsession.dir/modules/SessionLists.cpp.o CMakeFiles/rsession.dir/modules/SessionMarkers.cpp.o CMakeFiles/rsession.dir/modules/SessionPackages.cpp.o CMakeFiles/rsession.dir/modules/SessionPackrat.cpp.o CMakeFiles/rsession.dir/modules/SessionPath.cpp.o CMakeFiles/rsession.dir/modules/SessionPlots.cpp.o CMakeFiles/rsession.dir/modules/SessionProfiler.cpp.o CMakeFiles/rsession.dir/modules/SessionRAddins.cpp.o CMakeFiles/rsession.dir/modules/SessionRCompletions.cpp.o CMakeFiles/rsession.dir/modules/SessionRHooks.cpp.o CMakeFiles/rsession.dir/modules/SessionRParser.cpp.o CMakeFiles/rsession.dir/modules/SessionRPubs.cpp.o CMakeFiles/rsession.dir/modules/SessionRSConnect.cpp.o CMakeFiles/rsession.dir/modules/SessionShinyViewer.cpp.o CMakeFiles/rsession.dir/modules/SessionSnippets.cpp.o CMakeFiles/rsession.dir/modules/SessionSource.cpp.o CMakeFiles/rsession.dir/modules/SessionSpelling.cpp.o CMakeFiles/rsession.dir/modules/SessionSVN.cpp.o CMakeFiles/rsession.dir/modules/SessionUpdates.cpp.o CMakeFiles/rsession.dir/modules/SessionVCS.cpp.o CMakeFiles/rsession.dir/modules/SessionWorkbench.cpp.o CMakeFiles/rsession.dir/modules/build/SessionBuild.cpp.o CMakeFiles/rsession.dir/modules/build/SessionBuildEnvironment.cpp.o CMakeFiles/rsession.dir/modules/build/SessionBuildErrors.cpp.o CMakeFiles/rsession.dir/modules/build/SessionSourceCpp.cpp.o CMakeFiles/rsession.dir/modules/clang/CodeCompletion.cpp.o CMakeFiles/rsession.dir/modules/clang/DefinitionIndex.cpp.o CMakeFiles/rsession.dir/modules/clang/Diagnostics.cpp.o CMakeFiles/rsession.dir/modules/clang/FindReferences.cpp.o CMakeFiles/rsession.dir/modules/clang/GoToDefinition.cpp.o CMakeFiles/rsession.dir/modules/clang/RCompilationDatabase.cpp.o CMakeFiles/rsession.dir/modules/clang/RSourceIndex.cpp.o CMakeFiles/rsession.dir/modules/clang/SessionClang.cpp.o CMakeFiles/rsession.dir/modules/connections/ActiveConnections.cpp.o CMakeFiles/rsession.dir/modules/connections/Connection.cpp.o CMakeFiles/rsession.dir/modules/connections/ConnectionHistory.cpp.o CMakeFiles/rsession.dir/modules/connections/SessionConnections.cpp.o CMakeFiles/rsession.dir/modules/data/SessionData.cpp.o CMakeFiles/rsession.dir/modules/data/DataViewer.cpp.o CMakeFiles/rsession.dir/modules/environment/EnvironmentMonitor.cpp.o CMakeFiles/rsession.dir/modules/environment/EnvironmentUtils.cpp.o CMakeFiles/rsession.dir/modules/environment/SessionEnvironment.cpp.o CMakeFiles/rsession.dir/modules/mathjax/SessionMathJax.cpp.o CMakeFiles/rsession.dir/modules/overlay/SessionOverlay.cpp.o CMakeFiles/rsession.dir/modules/presentation/SessionPresentation.cpp.o CMakeFiles/rsession.dir/modules/presentation/PresentationLog.cpp.o CMakeFiles/rsession.dir/modules/presentation/PresentationState.cpp.o CMakeFiles/rsession.dir/modules/presentation/SlideMediaRenderer.cpp.o CMakeFiles/rsession.dir/modules/presentation/SlideNavigationList.cpp.o CMakeFiles/rsession.dir/modules/presentation/SlideParser.cpp.o CMakeFiles/rsession.dir/modules/presentation/SlideQuizRenderer.cpp.o CMakeFiles/rsession.dir/modules/presentation/SlideRenderer.cpp.o CMakeFiles/rsession.dir/modules/presentation/SlideRequestHandler.cpp.o CMakeFiles/rsession.dir/modules/presentation/Tutorial.cpp.o CMakeFiles/rsession.dir/modules/presentation/TutorialInstaller.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/SessionRMarkdown.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/SessionRmdNotebook.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/SessionExecuteChunkOperation.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookAlternateEngines.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookCache.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookCapture.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookChunkDefs.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookChunkOptions.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookConditions.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookData.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookDocQueue.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookErrors.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookExec.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookHtmlWidgets.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookOutput.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookPaths.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookPlotReplay.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookPlots.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookQueue.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookQueueUnit.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/NotebookWorkingDir.cpp.o CMakeFiles/rsession.dir/modules/rmarkdown/RMarkdownPresentation.cpp.o CMakeFiles/rsession.dir/modules/shiny/SessionShiny.cpp.o CMakeFiles/rsession.dir/modules/tex/SessionCompilePdf.cpp.o CMakeFiles/rsession.dir/modules/tex/SessionCompilePdfSupervisor.cpp.o CMakeFiles/rsession.dir/modules/tex/SessionPdfLatex.cpp.o CMakeFiles/rsession.dir/modules/tex/SessionRnwConcordance.cpp.o CMakeFiles/rsession.dir/modules/tex/SessionRnwWeave.cpp.o CMakeFiles/rsession.dir/modules/tex/SessionSynctex.cpp.o CMakeFiles/rsession.dir/modules/tex/SessionTexUtils.cpp.o CMakeFiles/rsession.dir/modules/tex/SessionViewPdf.cpp.o CMakeFiles/rsession.dir/modules/vcs/SessionVCSCore.cpp.o CMakeFiles/rsession.dir/modules/vcs/SessionVCSUtils.cpp.o CMakeFiles/rsession.dir/modules/viewer/SessionViewer.cpp.o CMakeFiles/rsession.dir/modules/viewer/ViewerHistory.cpp.o CMakeFiles/rsession.dir/projects/SessionProjects.cpp.o CMakeFiles/rsession.dir/projects/SessionProjectContext.cpp.o CMakeFiles/rsession.dir/projects/SessionProjectFirstRun.cpp.o CMakeFiles/rsession.dir/SessionAddins.cpp.o CMakeFiles/rsession.dir/http/SessionPosixHttpConnectionListener.cpp.o  -o rsession  -L/usr/lib64/R/lib -Wl,-rpath,/usr/lib64/R/lib: -rdynamic ../core/librstudio-core.a ../core/spelling/hunspell/librstudio-core-hunspell.a ../core/tex/synctex/librstudio-core-synctex.a ../monitor/librstudio-monitor.a ../r/librstudio-r.a workers/librstudio-session-workers.a -lR -ldl ../core/librstudio-core.a -lboost_date_time-mt -lboost_filesystem-mt -lboost_iostreams-mt -lboost_program_options-mt -lboost_regex-mt -lboost_signals-mt -lboost_system-mt -lboost_thread-mt -lboost_chrono-mt -lboost_atomic-mt -lpthread -lutil -luuid -lrt -lz
make[2]: Leaving directory '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44_build'
[100%] Built target rsession
make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44_build'
make: *** [Makefile:150: all] Error 2
 * ERROR: sci-mathematics/rstudio-1.0.44::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sci-mathematics/rstudio-1.0.44::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-mathematics/rstudio-1.0.44::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44_build'
 * S: '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44'
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.8  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.131"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
and of course, the output of emerge --info =rstudio-1.0.44

>>> Failed to emerge sci-mathematics/rstudio-1.0.44, Log file:

>>>  '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/temp/build.log'

 * Messages for package dev-lang/ghc-7.10.3:

 * Final mk/build.mk:

 * Messages for package sci-mathematics/rstudio-1.0.44:

 * ERROR: sci-mathematics/rstudio-1.0.44::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sci-mathematics/rstudio-1.0.44::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-mathematics/rstudio-1.0.44::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44_build'
 * S: '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44'

 * GNU info directory index is up-to-date.



And as it says in the code, this is the info it requests:

Code:
aranza skirmitch # emerge --info '=sci-mathematics/rstudio-1.0.44::gentoo'
Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.23-r3, 4.9.16-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700HQ_CPU_@_2.40GHz-with-gentoo-2.3
KiB Mem:    12195992 total,   6119148 free
KiB Swap:    4218872 total,   4186896 free
Timestamp of repository gentoo: Thu, 27 Apr 2017 16:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync24.us.gentoo.org/gentoo-portage/
    priority: -1000

MSP430
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 0

eclipse
    location: /var/lib/layman/eclipse
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 50

sublime-text
    location: /var/lib/layman/sublime-text
    masters: gentoo
    priority: 50

vaca
    location: /var/lib/layman/vaca
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 android apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cjk clang cli colord cracklib crypt cuda cups cxx dbus doc dri dts dvd dvdr eds emboss encode evo examples exif fam firefox flac fontconfig fortran freerdp gdal gdbm geos gif gimp glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk hpcups iconv icu immqt-bc introspection iodbc ipafont ipv6 java jpeg lcms ldap libass libnotify libsecret lm_sensors mad mmx mng modules mp3 mp4 mpeg multilib multislot mysql nautilus ncurses nls nptl nsplugin nvidia ogg opengl openmp pam pango pcre pdf php5 png policykit ppds proj pulseaudio python qt3support qt4 qt5 readline resolvconf samba sdl seccomp session snmp spell sse sse2 ssl startup-notification svg symlink systemd tcpd tidy tiff tinfo tracker truetype udev udisks unicode upower usb vorbis webstart wifi winbind wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ja es es_LA en" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python3_4 pypy" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON







Any help is welcomed. I thought it would be easy to fix since its so at the end but I couldnt figure out the problem since it didnt give any clues I could understand in the falure =(


Last edited by Skirmitch on Fri Apr 28, 2017 6:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24371
Location: here

PostPosted: Fri Apr 28, 2017 5:58 am    Post subject: Reply with quote

I don't see any errors on these lines, you should post full build.log with wgetpaste
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Skirmitch
Apprentice
Apprentice


Joined: 15 Jun 2013
Posts: 189

PostPosted: Fri Apr 28, 2017 6:41 am    Post subject: Reply with quote

fedeliallalinea wrote:
I don't see any errors on these lines, you should post full build.log with wgetpaste


Ah, I couldn't find any either but I thought I just couldn't see it, I didn't think it could be before those lines. Here is the full output

https://paste.pound-python.org/show/WFHSyYOxQMNLhj3WDz47/
Back to top
View user's profile Send private message
Skirmitch
Apprentice
Apprentice


Joined: 15 Jun 2013
Posts: 189

PostPosted: Fri Apr 28, 2017 6:44 am    Post subject: Reply with quote

Checking the whole build I found this error and some warnings about boost signal

Code:
cd /var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44_build/src/cpp/session && /usr/bin/x86_64-pc-linux-gnu-g++  -DBOOST_ASIO_DISABLE_KQUEUE -DBOOST_ENABLE_ASSERT_HANDLER -D_FORTIFY_SOURCE=2 -I/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44/src/cpp/session/include -I/usr/lib64/R/include -I/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44/src/cpp/core/include -I/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44/src/cpp/monitor/include -I/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44/src/cpp/r/include -I/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44_build/src/cpp/session -I/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44/src/cpp/tests/cpp   -DNDEBUG -march=native -O2 -pipe   -Wall -pthread -Wformat -Wformat-security -fstack-protector --param ssp-buffer-size=4 -pie -fPIE -o CMakeFiles/rsession.dir/SessionOptions.cpp.o -c /var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44/src/cpp/session/SessionOptions.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
/usr/lib64/libQt5WebKit.so.5.6.2: undefined reference to `leveldb::DestroyDB(std::string const&, leveldb::Options const&)'
/usr/lib64/libQt5WebKit.so.5.6.2: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/cpp/desktop/CMakeFiles/rstudio.dir/build.make:1853: src/cpp/desktop/rstudio] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-mathematics/rstudio-1.0.44/work/rstudio-1.0.44_build'
make[1]: *** [CMakeFiles/Makefile2:530: src/cpp/desktop/CMakeFiles/rstudio.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


But I still don't understand how to fix it. The only clue I find is to rebuild qt5webkit, will do that while u check the log
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24371
Location: here

PostPosted: Fri Apr 28, 2017 6:55 am    Post subject: Reply with quote

Try to rebuild leveldb (see here)
Code:
# emerge -1 leveldb

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Skirmitch
Apprentice
Apprentice


Joined: 15 Jun 2013
Posts: 189

PostPosted: Fri Apr 28, 2017 7:11 am    Post subject: Reply with quote

Did it and failed again tho I didnt rebuild qtwebkit, do u think it failed cuz I didnt rebuild the webkit? I didnt understand if it was necessary or not. Here is the new build log

https://paste.pound-python.org/show/ohekqWWmiEyCVgJNfV74/

(note: I compiled it inside a folder that doesnt exist, thats why the errors at the beginning)
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24371
Location: here

PostPosted: Fri Apr 28, 2017 7:14 am    Post subject: Reply with quote

At this point try also to rebuild qwebkit:5
Code:
# emerge -1 qtwebkit:5

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Skirmitch
Apprentice
Apprentice


Joined: 15 Jun 2013
Posts: 189

PostPosted: Fri Apr 28, 2017 6:26 pm    Post subject: Reply with quote

Rebuilding the webkit ended up solving everything. Thnks a lot for the help.
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Wed Jun 14, 2017 8:35 am    Post subject: Reply with quote

Identical problem as Skirmitch described here, rebuilding as fedeliallalinea advised above got everything to roll. Many thanks.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1440
Location: /uk/sheffield

PostPosted: Tue Jun 27, 2017 5:58 am    Post subject: Reply with quote

I've encountered errors building the newer =sci-mathematics/rstudio-1.0.143. I've tried emerge of leveldb and qtwebkit:5 as suggested and build seems to complete, but but still get the following fail.

Code:

[ 58%] Linking CXX executable rstudio
cd /var/tmp/portage/sci-mathematics/rstudio-1.0.143/work/rstudio-1.0.143_build/src/cpp/desktop && /usr/bin/cmake -E cmake_link_script CMakeFiles/rstudio.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -O2 -march=native -pipe 
-Wl,-z,relro,-z,now -Wl,-O1 -Wl,--as-needed -rdynamic
CMakeFiles/rstudio.dir/DesktopAboutDialog.cpp.o
CMakeFiles/rstudio.dir/DesktopBrowserWindow.cpp.o
CMakeFiles/rstudio.dir/DesktopCommandInvoker.cpp.o
CMakeFiles/rstudio.dir/DesktopDataUriNetworkReply.cpp.o
CMakeFiles/rstudio.dir/DesktopDownloadHelper.cpp.o
CMakeFiles/rstudio.dir/DesktopGwtCallback.cpp.o
CMakeFiles/rstudio.dir/DesktopGwtWindow.cpp.o
CMakeFiles/rstudio.dir/DesktopInputDialog.cpp.o
CMakeFiles/rstudio.dir/DesktopMain.cpp.o
CMakeFiles/rstudio.dir/DesktopMainWindow.cpp.o
CMakeFiles/rstudio.dir/DesktopMenuCallback.cpp.o
CMakeFiles/rstudio.dir/DesktopNetworkIOService.cpp.o
CMakeFiles/rstudio.dir/DesktopNetworkReply.cpp.o
CMakeFiles/rstudio.dir/DesktopNetworkProxyFactory.cpp.o
CMakeFiles/rstudio.dir/DesktopOptions.cpp.o
CMakeFiles/rstudio.dir/DesktopURLDownloader.cpp.o
CMakeFiles/rstudio.dir/DesktopUtils.cpp.o
CMakeFiles/rstudio.dir/DesktopWebPage.cpp.o
CMakeFiles/rstudio.dir/DesktopWebView.cpp.o
CMakeFiles/rstudio.dir/DesktopWindowTracker.cpp.o
CMakeFiles/rstudio.dir/DesktopSatelliteWindow.cpp.o
CMakeFiles/rstudio.dir/DesktopSecondaryWindow.cpp.o
CMakeFiles/rstudio.dir/DesktopSessionLauncher.cpp.o
CMakeFiles/rstudio.dir/DesktopSlotBinders.cpp.o
CMakeFiles/rstudio.dir/DesktopSubMenu.cpp.o
CMakeFiles/rstudio.dir/DesktopSynctex.cpp.o
CMakeFiles/rstudio.dir/DesktopNetworkAccessManager.cpp.o
CMakeFiles/rstudio.dir/DesktopPosixApplication.cpp.o
CMakeFiles/rstudio.dir/DesktopPosixApplicationLaunch.cpp.o
CMakeFiles/rstudio.dir/DesktopPosixDetectRHome.cpp.o
CMakeFiles/rstudio.dir/synctex/evince/EvinceDaemon.cpp.o
CMakeFiles/rstudio.dir/synctex/evince/EvinceSynctex.cpp.o
CMakeFiles/rstudio.dir/synctex/evince/EvinceWindow.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopAboutDialog.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopApplicationLaunch.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopBrowserWindow.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopCommandInvoker.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopDataUriNetworkReply.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopDownloadHelper.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopGwtCallback.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopGwtWindow.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopInputDialog.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopMainWindow.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopMenuCallback.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopNetworkAccessManager.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopNetworkReply.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopPosixApplication.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopSatelliteWindow.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopSecondaryWindow.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopSessionLauncher.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopSlotBinders.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopSubMenu.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopSynctex.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopURLDownloader.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopWebPage.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopWebView.cpp.o
CMakeFiles/rstudio.dir/moc_DesktopWindowTracker.cpp.o
CMakeFiles/rstudio.dir/qt-patch/mac-colorspace/moc_qpaintengine_mac_p
.cpp.o CMakeFiles/rstudio.dir/synctex/evince/moc_EvinceDaemon.cpp.o
CMakeFiles/rstudio.dir/synctex/evince/moc_EvinceSynctex.cpp.o
CMakeFiles/rstudio.dir/synctex/evince/moc_EvinceWindow.cpp.o
CMakeFiles/rstudio.dir/qrc_desktop.cpp.o  -o rstudio
/usr/lib64/libQt5WebKitWidgets.so.5.7.1
/usr/lib64/libQt5PrintSupport.so.5.7.1
/usr/lib64/libQt5Quick.so.5.7.1 /usr/lib64/libQt5Positioning.so.5.7.1
/usr/lib64/libQt5Sensors.so.5.7.1 /usr/lib64/libQt5Svg.so.5.7.1
/usr/lib64/libQt5Xml.so.5.7.1 /usr/lib64/libQt5XmlPatterns.so.5.7.1
/usr/lib64/libQt5Qml.so.5.7.1 /usr/lib64/libQt5Sql.so.5.7.1
/usr/lib64/libQt5OpenGL.so.5.7.1 /usr/lib64/libQt5DBus.so.5.7.1
-lQt5Solutions_SingleApplication-2.6 ../core/librstudio-core.a
/usr/lib64/libQt5WebKit.so.5.7.1 /usr/lib64/libQt5Network.so.5.7.1
/usr/lib64/libQt5Widgets.so.5.7.1 /usr/lib64/libQt5Gui.so.5.7.1
/usr/lib64/libQt5Core.so.5.7.1 -lboost_date_time-mt
-lboost_filesystem-mt -lboost_iostreams-mt -lboost_program_options-mt
-lboost_regex-mt -lboost_signals-mt -lboost_system-mt
-lboost_thread-mt -lboost_chrono-mt -lboost_atomic-mt -lpthread
-lutil -luuid -lrt -lz -lssl -lcrypto -lpam -ldl
make[2]: Leaving directory '/var/tmp/portage/sci-mathematics/rstudio-1.0.143/work/rstudio-1.0.143_build'
[ 58%] Built target rstudio
     [java]    Compiling 4 permutations
     [java]       Compiling permutation 0...
     [java]       Process output
     [java]          Compiling
     [java]             Compiling permutation 1...
     [java]          Compiling
     [java]             Compiling permutation 2...
     [java]       Compiling permutation 3...
     [java]    Compile of permutations succeeded
     [java]    Compilation succeeded -- 135.439s
     [java] Linking into
  /var/tmp/portage/sci-mathematics/rstudio-1.0.143/work/rstudio-1.0.143
  /src/gwt/www/rstudio; Writing extras to
  /var/tmp/portage/sci-mathematics/rstudio-1.0.143/work/rstudio-1.0.143
  /src/gwt/extras/rstudio
     [java]    Link succeeded
     [java]    Linking succeeded -- 0.952s

build:

BUILD SUCCESSFUL
Total time: 2 minutes 49 seconds
make[2]: Leaving directory '/var/tmp/portage/sci-mathematics/rstudio-1.0.143/work/rstudio-1.0.143_build'
[ 58%] Built target gwt_build
make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/rstudio-1.0.143/work/rstudio-1.0.143_build'
make: *** [Makefile:152: all] Error 2
 * ERROR: sci-mathematics/rstudio-1.0.143::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sci-mathematics/rstudio-1.0.143::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-mathematics/rstudio-1.0.143::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-mathematics/rstudio-1.0.143/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/rstudio-1.0.143/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-mathematics/rstudio-1.0.143/work/rstudio-1.0.143_build'
 * S: '/var/tmp/portage/sci-mathematics/rstudio-1.0.143/work/rstudio-1.0.143'
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.8  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.131"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
and of course, the output of emerge --info =rstudio-1.0.143



Requested emerge --info =rstudio-1.0.143...

Code:

# emerge --info =sci-mathematics/rstudio-1.0.143
Portage 2.3.6 (python 3.4.6-final-0, default/linux/amd64/13.0/no-multilib, gcc-6.3.0, glibc-2.24-r3, 4.11.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.11.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem:    32782832 total,  17648936 free
KiB Swap:    8000364 total,   8000364 free
Timestamp of repository gentoo: Tue, 27 Jun 2017 05:30:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.1) 2.27
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.6.1-r1::gentoo
dev-util/ccache:          3.3.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1::gentoo
sys-apps/openrc:          0.27.2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo
sys-devel/automake:       1.4_p6-r2::gentoo, 1.11.6-r2::gentoo, 1.15.1::gentoo
sys-devel/binutils:       2.27-r1::gentoo, 2.28-r2::gentoo
sys-devel/gcc:            6.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

Personal-overlay
    location: /usr/portage/local
    masters: gentoo
    priority: 0

andy
    location: /var/lib/layman/andy
    masters: gentoo
    priority: 50

emacs
    location: /var/lib/layman/emacs
    masters: gentoo
    priority: 50

fkmclane
    location: /var/lib/layman/fkmclane
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    masters: gentoo
    priority: 50

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_4 python_targets_python2_7 multilib"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
COLORTERM="truecolor"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3"
CXXFLAGS="-O2 -march=native -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-c1pIwXPRpm,guid=4400feebc6cebb7999865ad15951d331"
DCC_EMAILLOG_WHOM_TO_BLAME=""
DEFAULT_ABI="amd64"
DESKTOP_SESSION="xfce"
DISPLAY=":0.0"
DISTCC_ENABLE_DISCREPANCY_EMAIL=""
DISTCC_FALLBACK="1"
DISTCC_SAVE_TEMPS="0"
DISTCC_SSH=""
DISTCC_TCP_CORK=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--alphabetical --keep-going --quiet --verbose --with-bdeps=y"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://distfiles.gentoo.org/"
GLADE_CATALOG_PATH=":"
GLADE_MODULE_PATH=":"
GLADE_PIXMAP_PATH=":"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx"
GRUB_PLATFORMS=""
GSETTINGS_BACKEND="dconf"
GTK_MODULES="canberra-gtk-module"
HISTCONTROL="erasedups"
HOME="/root"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/6.3.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.27/info:/usr/share/info:/usr/share/info/emacs-24"
INPUT_DEVICES="keyboard mouse evdev virtualbox"
IPLAYER_OUTDIR="~/video/iplayer/"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-chain prefix-guest"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
L10N="en_GB"
LANG="en_GB.utf8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LINGUAS="en_GB"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd
=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43
:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31
:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01
;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.
zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=
01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.
bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:
*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;
31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=
01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.
jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=
01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.
tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;
35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv
=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:
*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35
:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01
;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=
01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*
.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;
32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=
00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.
ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36
:*.xspf=00;36:"
MAIL="/var/mail/neil"
MAKEOPTS="-j8"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/share/gcc-data
/x86_64-pc-linux-gnu/6.3.0/man:/usr/share/binutils-data/x86_64-pc-
linux-gnu/2.27/man:/usr/lib/llvm/4/share/man:/etc/java-config-2/
current-system-vm/man/:/usr/lib64/php7.1/man/:/usr/local/share/man:/
usr/share/man:/usr/share/rust-1.16.0/man"
MOZ_GMP_PATH="/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed"
MOZ_USE_OMTC="1"
MULTILIB_ABIS="amd64"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OFFICE_IMPLEMENTATION="libreoffice"
OPENCL_PROFILE="intel"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="~/bin/:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/stata/"
PHP_TARGETS="php5-6"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 arm64-linux hppa ia64 m68k m68k-mint mips nios2 ppc ppc-aix ppc-macos ppc64 ppc64-linux riscv s390 sh sparc sparc-fbsd sparc-solaris sparc64-solaris x64-cygwin x64-macos x64-solaris x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.4"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/python3.4/site-packages"
PORTAGE_PYTHONPATH="/usr/lib64/python3.4/site-packages"
PORTAGE_QUIET="1"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima    security.selinux system.nfs4_acl"
PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PRELINK_PATH_MASK="/usr/lib64/klibc"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/home/neil"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_4"
PYTHON_TARGETS="python2_7 python3_4"
QT_GRAPHICSSYSTEM="raster"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/6.3.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby24"
R_HOME="/usr/lib64/R"
SESSION_MANAGER="local/kimura:@/tmp/.ICE-unix/4683,unix/kimura:/tmp/.ICE-unix/4683"
SHELL="/bin/bash"
SHLVL="4"
SSH_AGENT_PID="4512"
SSH_ASKPASS="/usr/bin/ssh-askpass-fullscreen"
SSH_AUTH_SOCK="/tmp/ssh-R01vkmjCvaHY/agent.4511"
SYMLINK_LIB="yes"
TERM="xterm-256color"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNCACHED_ERR_FD=""
UNINSTALL_IGNORE="/lib/modules/* /var/run /var/lock"
USE="X a52 aac acl acpi alsa amd64 apm bash-completion berkdb branding bzip2 cdda cddb cdr cli cracklib crypt cups cxx dbus device-mapper dri dvd dvdr emacs exif ffmpeg flac fortran gdbm gif gimp glitz gtk gtk3 iconv icu id3tag ipv6 jpeg kpathsea lensfun libsexy lock modules mp3 mpeg ncurses nls nptl nsplugin ntp nvidia offensive ogg opengl openmp oss pam pcre pdf perl png policykit pulseaudio python qt5 raw readline scanner seccomp session spell sqlite3 ssh ssl svg tcpd thunar tiff truetype udev unicode usb vorbis win32codecs x264 xattr xcb xinetd xulrunner xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev virtualbox" KERNEL="linux" L10N="en_GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_EXPERIMENTAL_FEATURES CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_X86 CROSSCOMPILE_OPTS CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES LLVM_TARGETS MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 CPU_FLAGS_ARM CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 hppa ia64 m68k m68k-mint mips nios2 ppc ppc64 ppc64-linux ppc-aix ppc-macos riscv s390 sh sparc sparc64-solaris sparc-fbsd sparc-solaris x64-cygwin x64-macos x64-solaris x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX bionic Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VBOX_APP_HOME="/usr/lib64/virtualbox"
VIDEO_CARDS="intel"
VTE_VERSION="4602"
WINDOWID="29360131"
XAUTHORITY="/root/.xauthiJ9ibh"
XDG_CONFIG_DIRS="/etc/xdg:/etc/xdg"
XDG_CURRENT_DESKTOP="XFCE"
XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share"
XDG_MENU_PREFIX="xfce-"
XDG_SESSION_COOKIE="kimura-1498534676.763657-1277397738"
XSESSION="Xfce"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"



The full build log is here.

Filled a bug the other day, but advised to seek assistance here. =sci-mathematics/rstudio-1.0.136 builds and runs ok. I'm stumped and can't work out whats causing the error, any suggestions or ideas welcome.

Wrapped 'LS_COLORS' to make the forum layout behave.Chiitoo
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24371
Location: here

PostPosted: Tue Jun 27, 2017 6:28 am    Post subject: Reply with quote

@slackline
Your problem is different from Skirmitch.
What version of dev-lang/R you have?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1440
Location: /uk/sheffield

PostPosted: Tue Jun 27, 2017 6:33 am    Post subject: Reply with quote

Suspected it might be different, but since still rstudio opted for this thread rather than a fresh one.

I've bumped dev-lang/R locally to the most recent release of 3.4.0. Runs fine (99% of the time running via Emacs using Emacs Speaks Statistics which I have also bumped locally to the latest 16.10).

Code:

$ eix -I dev-lang/R
[I] dev-lang/R
     Available versions:  3.2.2^t (~)3.3.1^t (~)3.3.2^t (~)3.3.3^t[1] (~)3.4.0^t[1] {X cairo doc icu java jpeg lapack minimal nls openmp perl png prefix profile readline static-libs tiff tk}
     Installed versions:  3.4.0[?](05:46:59 11/05/17)(X cairo doc icu java jpeg lapack nls openmp perl png readline tiff tk -minimal -prefix -profile -static-libs)
     Homepage:            http://www.r-project.org/
     Description:         Language and environment for statistical computing and graphics

[1] "Personal overlay" /usr/portage/local
$ eix -I emacs/ess
[I] app-emacs/ess
     Available versions:  14.09 15.03.1 15.09.2 (~)16.04 (~)16.10[1]
     Installed versions:  16.10[?](00:41:33 29/12/16)
     Homepage:            http://ess.r-project.org/
     Description:         Emacs Speaks Statistics

[1] "Personal overlay" /usr/portage/local

_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24371
Location: here

PostPosted: Tue Jun 27, 2017 6:36 am    Post subject: Reply with quote

You need R <3.4 for this version of rstudio, or upgrade rstudio to 1.1.x (not in portage)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1772

PostPosted: Tue Jun 27, 2017 6:43 am    Post subject: Reply with quote

Here's the actual error message...
Quote:
/var/tmp/portage/sci-mathematics/rstudio-1.0.143/work/rstudio-1.0.143/src/cpp/r/RRoutines.cpp:62:21: error: ‘struct R_CMethodDef’ has no member named ‘styles’; did you mean ‘types’?


https://github.com/NixOS/nixpkgs/issues/25315
Doing a quick google search, and found a github bug report about this error message, and it seems 1.0.143 is incompatible with the version of R installed... According to the bug report, it has already been resolved in version 1.1.126.

So you may want to see about updating to that vresion or newer and see if it fixes the issue. Sadly, it doesn't say what version of R made the change, nor am I familiar with R to say what could be tried on doing a older version.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1440
Location: /uk/sheffield

PostPosted: Tue Jun 27, 2017 6:47 am    Post subject: Reply with quote

fedeliallalinea wrote:
You need R <3.4 for this version of rstudio, or upgrade rstudio to 1.1.x (not in portage)


Thanks for taking the time to look at this fedeliallalinea.

The release notes for RStudio-1.0.143 indicate R-3.4 is supported and the build itself is only dependant on >=dev-lang/R-2.11.1. There is no rstudio-1.1.x release that I can find on the download page (although there is always the Github version, but I lack the experience to adapt the ebuild to -9999 to use this).
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1440
Location: /uk/sheffield

PostPosted: Tue Jun 27, 2017 6:53 am    Post subject: Reply with quote

ct85711 wrote:
Here's the actual error message...
Quote:
/var/tmp/portage/sci-mathematics/rstudio-1.0.143/work/rstudio-1.0.143/src/cpp/r/RRoutines.cpp:62:21: error: ‘struct R_CMethodDef’ has no member named ‘styles’; did you mean ‘types’?


https://github.com/NixOS/nixpkgs/issues/25315
Doing a quick google search, and found a github bug report about this error message, and it seems 1.0.143 is incompatible with the version of R installed... According to the bug report, it has already been resolved in version 1.1.126.

So you may want to see about updating to that vresion or newer and see if it fixes the issue. Sadly, it doesn't say what version of R made the change, nor am I familiar with R to say what could be tried on doing a older version.


Thanks for digging that bug up, hadn't come across it. Conflicts with the release notes (as above) which is strange, especially as =sci-mathematics/rstudio-1.0.136 built ok.

Looks like I'll have to wait until 1.1.126 is released and try bumping locally.
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Thu Aug 03, 2017 4:41 pm    Post subject: Reply with quote

slackline wrote:
fedeliallalinea wrote:
You need R <3.4 for this version of rstudio, or upgrade rstudio to 1.1.x (not in portage)


Thanks for taking the time to look at this fedeliallalinea.

The release notes for RStudio-1.0.143 indicate R-3.4 is supported and the build itself is only dependant on >=dev-lang/R-2.11.1. There is no rstudio-1.1.x release that I can find on the download page (although there is always the Github version, but I lack the experience to adapt the ebuild to -9999 to use this).

Hi all, thought I would again add my experiences to this. There is an ebuild and patch for rstudio-1.1.318 available at bugs.gentoo.org (specific link here) that installed fine on my setup:
Code:
# eix dev-lang/R
[I] dev-lang/R
     Available versions:  3.2.2^t (~)3.3.2^t (~)3.4.1^t {X cairo doc icu java jpeg lapack minimal nls openmp perl png prefix profile readline static-libs tiff tk}
     Installed versions:  3.4.1(08:11:31 PM 07/08/2017)(X doc icu java jpeg nls openmp png readline tiff -cairo -lapack -minimal -perl -prefix -profile -static-libs -tk)
     Homepage:            http://www.r-project.org/
     Description:         Language and environment for statistical computing and graphics

# eix sci-mathematics/rstudio
[I] sci-mathematics/rstudio
     Available versions:  (~)0.97.336 (~)0.97.336[1] (~)0.97.551 (~)0.97.551[1] (~)0.98.490 (~)0.98.490[1] 0.98.490-r1 0.98.490-r1[1] (~)0.98.932 (~)0.98.932[1] (~)0.98.953 (~)0.98.953[1] (~)0.98.1028 (~)0.98.1028[1] (~)0.98.1091 (~)0.98.1091[1] (~)0.99.473-r1 (~)0.99.473-r1[1] (~)0.99.482 (~)0.99.482[1] (~)0.99.483 (~)0.99.483[1] (~)0.99.484 (~)0.99.484[1] (~)0.99.486-r1 (~)0.99.486-r1[1] (~)0.99.491 (~)0.99.491[1] (~)0.99.879 (~)0.99.879[1] (~)0.99.893 (~)0.99.893[1] (~)0.99.896 (~)0.99.896[1] (~)0.99.902 (~)0.99.902[1] (~)0.99.903 (~)0.99.903[1] (~)1.0.44 (~)1.0.44[1] (~)1.0.136 (~)1.0.136[1] (~)1.0.143 (~)1.0.143[1] [m](~)1.0.153 [m](~)1.0.153[1] (~)1.1.318[1] {dedicated server ELIBC="FreeBSD"}
     Installed versions:  1.1.318[1](06:06:22 PM 08/03/2017)(-dedicated -server ELIBC="-FreeBSD")
     Homepage:            http://www.rstudio.org https://github.com/rstudio/rstudio/
     Description:         IDE for the R language

[1] "local" /usr/local/portage
For those without experience in how to do this, if you lack a local portage tree, set this up first:
Code:
# mkdir -p /usr/local/portage/sci-mathematics/rstudio
# cd /usr/local/portage/sci-mathematics/rstudio
# wget https://bugs.gentoo.org/attachment.cgi?id=487784 -O rstudio-1.1.318.ebuild
# mkdir files
# wget https://bugs.gentoo.org/attachment.cgi?id=487786 -O files/rstudio-1.1.318-clang-pandoc.patch
You'll need the other patches as well, so
Code:
# cp -ari /usr/portage/sci-mathematics/rstudio/files/* files
Then update the Manifest:
Code:
# ebuild rstudio-1.1.318.ebuild digest
Then emerge rstudio, checking that portage finds your local ebuild ...
Code:
# emerge -vD sci-mathematics/rstudio -a

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sci-mathematics/rstudio-1.1.318::local [1.0.143::gentoo] USE="-dedicated -server" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-mathematics/rstudio-1.1.318::local
 * rstudio-1.1.318.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                  [ ok ]
 * gin-1.5.zip SHA256 SHA512 WHIRLPOOL size ;-) ...                                                             [ ok ]
 * gwt-2.7.0.zip SHA256 SHA512 WHIRLPOOL size ;-) ...                                                           [ ok ]
 * selenium-java-2.37.0.zip SHA256 SHA512 WHIRLPOOL size ;-) ...                                                [ ok ]
 * selenium-server-standalone-2.37.0.jar SHA256 SHA512 WHIRLPOOL size ;-) ...                                   [ ok ]
 * chromedriver-linux SHA256 SHA512 WHIRLPOOL size ;-) ...                                                      [ ok ]
 * core-dictionaries.zip SHA256 SHA512 WHIRLPOOL size ;-) ...                                                   [ ok ]
 * packrat-0.98.1000.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                [ ok ]
 * rmarkdown-0.98.1000.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                              [ ok ]
 * shinyapps-0.98.1000.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                              [ ok ]
 * rsconnect_0.4.1.4_fcac892a69817febd7b655b189bf57193260cda0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...       [ ok ]
 * Using: oracle-jdk-bin-1.8
>>> Unpacking source...
>>> Unpacking rstudio-1.1.318.tar.gz to /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work
>>> Unpacking gwt-2.7.0.zip to /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work
>>> Unpacking packrat-0.98.1000.tar.gz to /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/dependencies/common
>>> Unpacking rmarkdown-0.98.1000.tar.gz to /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/dependencies/common
>>> Unpacking shinyapps-0.98.1000.tar.gz to /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/dependencies/common
>>> Unpacking rsconnect_0.4.1.4_fcac892a69817febd7b655b189bf57193260cda0.tar.gz to /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/dependencies/common
>>> Source unpacked in /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work
>>> Preparing source in /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318 ...
 * Applying rstudio-0.99.879-prefs.patch ...                                                                    [ ok ]
 * Applying rstudio-1.0.44-paths.patch ...                                                                      [ ok ]
 * Applying rstudio-1.1.318-clang-pandoc.patch ...                                                              [ ok ]
 * Applying rstudio-0.98.490-linker_flags.patch ...                                                             [ ok ]
 * Applying rstudio-0.98.1091-boost-1.57.patch ...                                                              [ ok ]
 * Applying rstudio-0.99.473-qtsingleapplication.patch ...                                                      [ ok ]
 * Applying rstudio-1.0.44-systemd.patch ...                                                                    [ ok ]
mkdir: created directory ‘/var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/src/cpp/server/lib’
mkdir: created directory ‘/var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/src/cpp/server/lib/systemd’
mkdir: created directory ‘/var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/src/cpp/server/lib/systemd/system’
‘/usr/local/portage/sci-mathematics/rstudio/files/rstudio-server.service.in’ -> ‘/var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318/src/cpp/server/lib/systemd/system/rstudio-server.service.in’
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-mathematics/rstudio-1.1.318/work/rstudio-1.1.318 ...
...

<big snip>


 * Updating desktop mime database ...
 * Updating shared mime info database ...
 * Updating icons cache ...                                                                                     [ ok ]
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * Updating desktop mime database ...
 * Updating shared mime info database ...
 * Updating icons cache ...                                                                                     [ ok ]
>>> sci-mathematics/rstudio-1.1.318 merged.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
HTH :D
_________________
I love gentoo, but I am certainly no guru, despite what it says above.
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 397
Location: Chicago, USA

PostPosted: Mon Jan 15, 2018 10:58 pm    Post subject: Reply with quote

This same problem has been bugging me for months. Here's what I did to fix it:
    Set the ruby version to ruby22 (with Rubygems) with eselect
    Re-emerged leveldb
    Re-emerged qtwebkit:5
    Re-emerged rstudio


(Don't know if leveldb was really necessary)
Hope this helps someone else with the same problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum