Review Request 123531: Build Cantor with the R backend also when the R version is equal or higher 3.2

Jeremy Whiting jpwhiting at kde.org
Mon May 11 21:41:23 UTC 2015



> On May 9, 2015, 11:30 a.m., Filipe Saraiva wrote:
> > Hi @kdeedu, anyone with R 3.2 to test it?

Not here (which surprised me, running arch). I would think if it still builds with this with R 3.1.1 and Raymond Wooninck says it builds with 3.2 for him, we ship it. Otherwise when distros package cantor from 15.04.1 with R 3.2 (if they do) it won't build for them.


- Jeremy


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123531/#review80133
-----------------------------------------------------------


On April 27, 2015, 8:23 a.m., Raymond Wooninck wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123531/
> -----------------------------------------------------------
> 
> (Updated April 27, 2015, 8:23 a.m.)
> 
> 
> Review request for KDE Edu, Alexander Rieder and Filipe Saraiva.
> 
> 
> Repository: cantor
> 
> 
> Description
> -------
> 
> In this commit:
> https://github.com/wch/r-source/commit/c67a107dd7b0f074cec9359b8e2ca07c6243283c
> 
> R_running_as_main_program was moved from Rmain.c to Rinterface.h, and lost
> its 'extern' declaration. This change is now causing linker problems when trying to build cantor against R v3.2 :
> 
> [  391s] CMakeFiles/cantor_rserver.dir/rcallbacks.o:(.bss+0x10): multiple definition of `R_running_as_main_program'
> [  391s] CMakeFiles/cantor_rserver.dir/rserver.o:(.bss+0x0): first defined here
> [  391s] collect2: error: ld returned 1 exit status
> [  391s] src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/build.make:247: recipe for target 'src/backends/R/rserver/cantor_rserver' failed
> [  391s] make[2]: *** [src/backends/R/rserver/cantor_rserver] Error 1
> 
> The attached patch would resolve the multiple definition.
> 
> 
> Diffs
> -----
> 
>   src/backends/R/rserver/rcallbacks.h 8f4752c 
>   src/backends/R/rserver/rcallbacks.cpp 2c86531 
>   src/backends/R/rserver/rserver.cpp 30cdb70 
> 
> Diff: https://git.reviewboard.kde.org/r/123531/diff/
> 
> 
> Testing
> -------
> 
> Cantor builds fine for R v3.1.1 and R v3.2 versions
> 
> 
> Thanks,
> 
> Raymond Wooninck
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20150511/04edb637/attachment.html>


More information about the kde-edu mailing list