Bug#1063047: Unable to run R CMD Rserve

2024-02-04 Thread Dirk Eddelbuettel


Appears to work based on a quick check in Docker:


root@8d41067e72ce:/work# dpkg -i r-cran-rserve_1.8-13-2_amd64.deb 
Selecting previously unselected package r-cran-rserve.
(Reading database ... 17542 files and directories currently installed.)
Preparing to unpack r-cran-rserve_1.8-13-2_amd64.deb ...
Unpacking r-cran-rserve (1.8-13-2) ...
Setting up r-cran-rserve (1.8-13-2) ...
root@8d41067e72ce:/work# R CMD Rserve --help
Usage: R CMD Rserve []

Options: --help  this help screen
 --version  prints Rserve version (also passed to R)
 --RS-port   listen on the specified TCP port
 --RS-socket   use specified local (unix) socket instead of TCP/IP.
 --RS-workdir   use specified working directory root for connections.
 --RS-encoding   set default server string encoding to .
 --RS-conf   load additional config file.
 --RS-settings  dumps current settings of the Rserve
 --RS-source   source the specified file on startup.
 --RS-enable-control  enable control commands
 --RS-enable-remote  enable remote connections
 --RS-pidfile   store the pid of the Rserve process in 
 --RS-set =   set configuration option as if it was
 read from a configuration file

All other options are passed to the R engine.

root@8d41067e72ce:/work# 


Thanks again for the heads-up!

Best,  Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org



Bug#1063047: Unable to run R CMD Rserve

2024-02-04 Thread Dirk Eddelbuettel


On 4 February 2024 at 18:12, Jerome Charaoui wrote:
| Package: r-cran-rserve
| Version: 1.8-13-1
| Severity: important
| 
| Hello,
| 
| Running the command "R CMD Rserve" doesn't work because of missing
| symlinks in the package. The error message shown is:
| 
| /usr/lib/R/bin/Rcmd: 64: exec: Rserve: not found

Uh-oh. Not good.
 
| This problem was previously reported as #744759, but has been
| reintroduced (I think) when the package was migrated to debhelper.
| 
| Migrating the DEB_DH_LINK_ARGS variable to a proper target should be
| sufficient to resolve this.

I have those, see [1] but they may also only work with cdbs which dh-r and
debhelper-compat replaced. I will see about an explicit target to correct
this.

Thanks a bunch for catching this.  And good to know someone uses Rserve, it
is a nifty little (underappreciated, I find) tool!

Dirk

[1] https://sources.debian.org/src/rserve/1.8-13-1/debian/rules/

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org



Bug#1063047: Unable to run R CMD Rserve

2024-02-04 Thread Jerome Charaoui
Package: r-cran-rserve
Version: 1.8-13-1
Severity: important

Hello,

Running the command "R CMD Rserve" doesn't work because of missing
symlinks in the package. The error message shown is:

/usr/lib/R/bin/Rcmd: 64: exec: Rserve: not found

This problem was previously reported as #744759, but has been
reintroduced (I think) when the package was migrated to debhelper.

Migrating the DEB_DH_LINK_ARGS variable to a proper target should be
sufficient to resolve this.

Thanks!

-- Jérôme