Trying to emerge sci-mathematics/rstudio-1.3.959 it fails with... Reproducible: Always Steps to Reproduce: 1. emerge =sci-mathematics/rstudio-1.3.959 2. 3. Actual Results: gwtc: [java] Jun 11, 2020 5:59:23 AM java.util.prefs.FileSystemPreferences$1 run [java] INFO: Created user preferences directory. [java] Compiling module org.rstudio.studio.RStudio [java] Compiling 8 permutations [java] Compiling permutation 0... [java] Process output [java] Compiling [java] Compiling permutation 1... [java] Compiling permutation 2... [java] Compiling [java] Compiling permutation 3... [java] Compiling permutation 4... [java] Compiling [java] Compiling permutation 5... [java] Compiling permutation 6... [java] Compiling [java] Compiling permutation 7... [java] Compile of permutations succeeded [java] Compilation succeeded -- 464.723s [java] Linking into /var/tmp/portage/sci-mathematics/rstudio-1.3.959/work/rstudio-1.3.959/src/gwt/www/rstudio; Writing extras to /var/tmp/portage/sci-mathematics/rstudio-1.3.959/work/rstudio-1.3.959/src/gwt/extras/rstudio [java] Link succeeded [java] Linking succeeded -- 4.249s build: BUILD SUCCESSFUL Total time: 8 minutes 33 seconds ninja: build stopped: subcommand failed. * ERROR: sci-mathematics/rstudio-1.3.959::gentoo failed (compile phase): * ninja -v -j8 -l0 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 4586: Called cmake-utils_src_compile * environment, line 895: Called cmake-utils_src_make * environment, line 1076: Called _cmake_ninja_src_make * environment, line 608: Called eninja * environment, line 1582: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" Expected Results: Expected to finish installing. # emerge -pqv '=sci-mathematics/rstudio-1.3.959::gentoo' [ebuild N ] sci-mathematics/rstudio-1.3.959 USE="-dedicated -libressl server" Relevant fields... GENTOO_VM=icedtea-bin-8 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.16.0" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac"
Created attachment 644344 [details] emerge --info =rstudio-1.3.959
Please attach the entire build log to this bug report.
Created attachment 644358 [details] Full build log
The error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libQt5Quick.so.5.14.2: undefined reference to `QRhi::newSampler(QRhiSampler::Filter, QRhiSampler::Filter, QRhiSampler::Filter, QRhiSampler::AddressMode, QRhiSampler::AddressMode)@Qt_5_PRIVATE_API' suggests that /usr/lib64/libQt5Quick.so is not linked correctly, you could confirm by checking if there are any undefined symbols with: ldd -r /usr/lib64/libQt5Quick.so.5.14.2 If there are you could try rebuilding: emerge -av1 dev-qt/qtdeclarative
Created attachment 714111 [details, diff] rstudio-1.3.1093.ebuild Patch to ebuild
Created attachment 714114 [details, diff] Fix for boost 1.76.0 /etc/portage/patches/sci-mathematics/rstudio-1.3.1093/rstudio-1.3.1093-boost-1.76.0.patch
both of these patches failed for me: * Applying rstudio-1.3.1093-boost-1.76.patch ... patch unexpectedly ends in middle of line patch unexpectedly ends in middle of line [ ok ] * ========================================================================================================================= * Applying user patches from /etc/portage/patches ... * Applying rstudio-1.3.1093-boost-1.76.0.patch ... patching file src/cpp/r/session/RStdCallbacks.cpp Hunk #1 FAILED at 19. Hunk #2 FAILED at 58. 2 out of 2 hunks FAILED -- saving rejects to file src/cpp/r/session/RStdCallbacks.cpp.rej patching file src/cpp/core/HtmlUtils.cpp Hunk #1 FAILED at 19. 1 out of 1 hunk FAILED -- saving rejects to file src/cpp/core/HtmlUtils.cpp.rej patching file src/cpp/core/file_lock/FileLock.cpp Hunk #1 FAILED at 26. 1 out of 1 hunk FAILED -- saving rejects to file src/cpp/core/file_lock/FileLock.cpp.rej [ !! ] * ERROR: sci-mathematics/rstudio-1.3.1093-r1::x-portage failed (prepare phase): * patch -p1 failed with /etc/portage/patches/sci-mathematics/rstudio/rstudio-1.3.1093-boost-1.76.0.patch * * Call stack: * ebuild.sh, line 127: Called src_prepare * environment, line 4343: Called cmake_src_prepare * environment, line 1095: Called default_src_prepare * phase-functions.sh, line 923: Called __eapi6_src_prepare * environment, line 345: Called eapply_user * environment, line 1413: Called eapply '/etc/portage/patches/sci-mathematics/rstudio/rstudio-1.3.1093-boost-1.76.0.patch' * environment, line 1376: Called _eapply_patch '/etc/portage/patches/sci-mathematics/rstudio/rstudio-1.3.1093-boost-1.76.0.patch' * environment, line 1314: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/sci-mathematics/rstudio/rstudio-1.3.1093-boost-1.76.0.patch' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=sci-mathematics/rstudio-1.3.1093-r1::x-portage'`, * the complete build log and the output of `emerge -pqv '=sci-mathematics/rstudio-1.3.1093-r1::x-portage'`. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-8 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.16.0" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" and of course, the output of emerge --info =rstudio-1.3.1093 * The complete build log is located at '/var/tmp/portage/sci-mathematics/rstudio-1.3.1093-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/rstudio-1.3.1093-r1/temp/environment'. * Working directory: '/var/tmp/portage/sci-mathematics/rstudio-1.3.1093-r1/work/rstudio-1.3.1093' * S: '/var/tmp/portage/sci-mathematics/rstudio-1.3.1093-r1/work/rstudio-1.3.1093'
(In reply to Dmitry S. Kulyabov from comment #6) > Created attachment 714114 [details, diff] [details, diff] > Fix for boost 1.76.0 > > /etc/portage/patches/sci-mathematics/rstudio-1.3.1093/rstudio-1.3.1093-boost- > 1.76.0.patch It's not clear to me how this is related to the original bug, especially given gienah's comment. The Boost thing is non-fatal.
I think it's time to move towards 1.4 version.
(In reply to Silvio from comment #9) > I think it's time to move towards 1.4 version. Any news?
Any news on this being bumped?
@ qjhwo1x9@duck.com See #766294 but whilst I managed to successfully build 1.4.1717 a while back its currently failing.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9d5fc19de9f6ba9a6e9982f61f2c7518f058de1 commit a9d5fc19de9f6ba9a6e9982f61f2c7518f058de1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-22 22:20:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-22 22:20:47 +0000 profiles: last-rite sci-mathematics/rstudio, dev-haskell/pandoc-citeproc Bug: https://bugs.gentoo.org/766294 Bug: https://bugs.gentoo.org/775545 Bug: https://bugs.gentoo.org/855197 Bug: https://bugs.gentoo.org/727912 Bug: https://bugs.gentoo.org/831868 Bug: https://bugs.gentoo.org/696938 Bug: https://bugs.gentoo.org/531996 Bug: https://bugs.gentoo.org/836111 Bug: https://bugs.gentoo.org/818721 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 7 +++++++ 1 file changed, 7 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ccc989339f75ab648ede0419e498527901d463 commit 07ccc989339f75ab648ede0419e498527901d463 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-08-21 21:10:32 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-08-21 21:31:00 +0000 sci-mathematics/rstudio: treeclean Closes: https://bugs.gentoo.org/766294 Closes: https://bugs.gentoo.org/696938 Closes: https://bugs.gentoo.org/531996 Closes: https://bugs.gentoo.org/818721 Closes: https://bugs.gentoo.org/727912 Closes: https://bugs.gentoo.org/836111 Closes: https://bugs.gentoo.org/831868 Closes: https://bugs.gentoo.org/855197 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> profiles/package.mask | 6 - sci-mathematics/rstudio/Manifest | 2 - sci-mathematics/rstudio/files/rsession.conf | 26 --- .../rstudio/files/rstudio-1.0.44-systemd.patch | 21 -- .../files/rstudio-1.2.1335-linker_flags.patch | 11 - .../files/rstudio-1.2.5042-boost-1.73.0.patch | 22 -- .../rstudio/files/rstudio-1.3.1056-R-4.0.0.patch | 58 ----- .../files/rstudio-1.3.1056-boost-1.74.0.patch | 30 --- .../files/rstudio-1.3.1093-boost-1.76.patch | 55 ----- .../rstudio/files/rstudio-1.3.959-core.patch | 184 ---------------- .../files/rstudio-1.3.959-pandoc-mathjax.patch | 42 ---- .../rstudio/files/rstudio-1.3.959-paths.patch | 118 ----------- .../rstudio/files/rstudio-1.3.959-prefs.patch | 68 ------ .../rstudio-1.3.959-qtsingleapplication.patch | 60 ------ sci-mathematics/rstudio/files/rstudio-server.conf | 35 ---- sci-mathematics/rstudio/files/rstudio-server.initd | 19 -- .../rstudio/files/rstudio-server.service.in | 11 - sci-mathematics/rstudio/metadata.xml | 18 -- sci-mathematics/rstudio/rstudio-1.3.1093-r1.ebuild | 233 --------------------- 19 files changed, 1019 deletions(-)