#985866 roundcube-core: broken symlink: /usr/share/roundcube/skins/elastic/deps/less.min.js -> ../../../../javascript/less/less.min.js

Package:
roundcube-core
Source:
roundcube
Submitter:
Andreas Beckmann
Date:
2021-05-14 04:15:03 UTC
Severity:
normal
Tags:
#985866#5
Date:
2021-03-25 07:56:22 UTC
From:
To:
Hi,

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

From the attached log (scroll to the bottom...):

1m6.0s ERROR: FAIL: Broken symlinks:
  /usr/share/roundcube/skins/elastic/deps/less.min.js -> ../../../../javascript/less/less.min.js (roundcube-core)

Is roundcube-core missing a Depends/Recommends/Suggests: libjs-less ?


cheers,

Andreas

#985866#12
Date:
2021-03-25 08:28:34 UTC
From:
To:
Hi,

This is deliberate, see #948514.  The link is only useful in devel mode,
so IMHO doesn't even warrant a Suggests.  OTOH omitting the link (or not
installing libjs-less) breaks the devel mode; I'd therefore rather keep
it so people don't have to manually fiddle around with the installation
directory.

Cheers,

#985866#17
Date:
2021-05-14 04:11:46 UTC
From:
To:
This is actually a simple missing dependency.  The package libjs-less needs to
be a dependency of roundcube to correct the broken symlink.

The libjs-less package is a CSS meta-language.  From what I can tell, the only
time it is used in roundcube is if it is set to devel-mode.  I would suggest
that it's not worth the bother to put in the dependency for a devel mode that
you'd have to dig into the source to even know was there.