[R-pkg-team] Bug#1035428: r-cran-shiny: broken symlink: /usr/lib/R/site-library/shiny/www/shared/ionrangeslider/css/normalize.css -> ../../../../../../../nodejs/normalize.css/normalize.css

Andreas Beckmann anbe at debian.org
Wed May 3 10:46:27 BST 2023


Package: r-cran-shiny
Version: 1.7.4+dfsg-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package ships (or creates)
a broken symlink.

2m10.5s ERROR: FAIL: Broken symlinks:
  /usr/lib/R/site-library/shiny/www/shared/ionrangeslider/css/normalize.css -> ../../../../../../../nodejs/normalize.css/normalize.css (r-cran-shiny)

The symlink targets the file in /usr/lib while it actually resides in
/usr/share (since node-normalize.css 8.0.1-5).

Since all (most?) of your .js, .css, ... dependencies are linked to
/usr/share/javascript, I'd recommend doing the same for normalize.css,
i.e. point your symlink to /usr/share/javascript/normalize.css/normalize.css
which is a symlink provided by all versions of node-normalize.css, so
you don't need a versioned dependency on that (or the virtual
libjs-normalize.css package you depend on).

cheers,

Andreas



More information about the R-pkg-team mailing list