Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727912 - sci-mathematics/rstudio-1.3.959 - ?
Summary: sci-mathematics/rstudio-1.3.959 - ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2020-06-11 06:34 UTC by Neil
Modified: 2022-08-21 21:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info =rstudio-1.3.959 (emerge.info,18.41 KB, text/plain)
2020-06-11 06:35 UTC, Neil
Details
Full build log (build.log,742.30 KB, text/x-log)
2020-06-11 10:53 UTC, Neil
Details
rstudio-1.3.1093.ebuild (rstudio-1.3.1093.ebuild.patch,400 bytes, patch)
2021-06-07 07:53 UTC, Dmitry S. Kulyabov
Details | Diff
Fix for boost 1.76.0 (rstudio-1.3.1093-boost-1.76.0.patch,1.39 KB, patch)
2021-06-07 07:56 UTC, Dmitry S. Kulyabov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Neil 2020-06-11 06:34:15 UTC
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"
Comment 1 Neil 2020-06-11 06:35:07 UTC
Created attachment 644344 [details]
emerge --info =rstudio-1.3.959
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-06-11 08:32:21 UTC
Please attach the entire build log to this bug report.
Comment 3 Neil 2020-06-11 10:53:53 UTC
Created attachment 644358 [details]
Full build log
Comment 4 Mark Wright gentoo-dev 2020-07-16 11:34:09 UTC
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
Comment 5 Dmitry S. Kulyabov 2021-06-07 07:53:51 UTC
Created attachment 714111 [details, diff]
rstudio-1.3.1093.ebuild

Patch to ebuild
Comment 6 Dmitry S. Kulyabov 2021-06-07 07:56:16 UTC
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
Comment 7 N. Andrew Walsh 2021-12-22 23:01:01 UTC
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'
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-23 00:34:04 UTC
(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.
Comment 9 Silvio 2022-01-03 22:17:52 UTC
I think it's time to move towards 1.4 version.
Comment 10 Silvio 2022-01-21 20:49:29 UTC
(In reply to Silvio from comment #9)
> I think it's time to move towards 1.4 version.

Any news?
Comment 11 qjhwo1x9 2022-07-01 16:44:54 UTC
Any news on this being bumped?
Comment 12 Neil 2022-07-03 06:33:55 UTC
@ qjhwo1x9@duck.com

See #766294 but whilst I managed to successfully build 1.4.1717 a while back its currently failing.
Comment 13 Larry the Git Cow gentoo-dev 2022-07-22 22:21:05 UTC
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(+)
Comment 14 Larry the Git Cow gentoo-dev 2022-08-21 21:32:20 UTC
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(-)