Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1063047: Unable to run R CMD Rserve

18 views
Skip to first unread message

Jerome Charaoui

unread,
Feb 4, 2024, 1:20:05 PM2/4/24
to
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

Dirk Eddelbuettel

unread,
Feb 4, 2024, 1:40:04 PM2/4/24
to

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

Dirk Eddelbuettel

unread,
Feb 4, 2024, 2:00:06 PM2/4/24
to

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>]

Options: --help this help screen
--version prints Rserve version (also passed to R)
--RS-port <port> listen on the specified TCP port
--RS-socket <socket> use specified local (unix) socket instead of TCP/IP.
--RS-workdir <path> use specified working directory root for connections.
--RS-encoding <enc> set default server string encoding to <enc>.
--RS-conf <file> load additional config file.
--RS-settings dumps current settings of the Rserve
--RS-source <file> source the specified file on startup.
--RS-enable-control enable control commands
--RS-enable-remote enable remote connections
--RS-pidfile <file> store the pid of the Rserve process in <file>
--RS-set <config>=<value> 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
0 new messages