Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 703124

Summary: sci-mathematics/rstudio-1.2.1335 fails to build with dev-libs/boost-1.72.0
Product: Gentoo Linux Reporter: Bernd Feige <Bernd.Feige>
Component: Current packagesAssignee: Mark Wright <gienah>
Status: RESOLVED FIXED    
Severity: normal CC: jarausch, nshephard
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/rstudio/rstudio/issues/5742
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 703042    

Description Bernd Feige 2019-12-16 16:26:21 UTC
Removal of the line
#define BOOST_FILESYSTEM_NO_DEPRECATED
from src/cpp/core/FilePath.cpp allows it to build, as noted upstream.
Same for current rstudio-1.2.5019 btw (https://bugs.gentoo.org/702140).

Reproducible: Always
Comment 1 Bernd Feige 2019-12-16 16:28:32 UTC
Sorry, error message was:

/var/tmp/portage/sci-mathematics/rstudio-1.2.1335/work/rstudio-1.2.1335/src/cpp/core/FilePath.cpp:1035:37: error: ‘rstudio::core::{anonymous}::recursive_dir_iterator’ {aka ‘class boost::filesystem::recursive_directory_iterator’} has no member named ‘level’
 1035 |          if (!iterationFunction(itr.level(),
      |                                     ^~~~~
Comment 2 Larry the Git Cow gentoo-dev 2019-12-20 17:53:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c6a4956dd1bfed76c9845066f5ab0db75475ce

commit 81c6a4956dd1bfed76c9845066f5ab0db75475ce
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-12-20 17:53:44 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-12-20 17:53:44 +0000

    sci-mathematics/rstudio: Fix building with boost 1.72
    
    Closes: https://bugs.gentoo.org/703124
    Package-Manager: Portage-2.3.81, Repoman-2.3.20
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../rstudio/files/rstudio-1.0.44-systemd.patch     |  8 +++---
 .../rstudio-1.2.1335-boost-1.72-filesystem.patch   | 31 ++++++++++++++++++++++
 sci-mathematics/rstudio/rstudio-1.2.1335.ebuild    | 23 ++++++++--------
 3 files changed, 47 insertions(+), 15 deletions(-)