[R-pkg-team] Bug#960998: r-cran-av: broken symlink /usr/lib/R/site-library/av/samples/Synapsis-Wonderland.mp3

Adrian Bunk bunk at debian.org
Tue May 19 07:54:49 BST 2020

Package: r-cran-av
Version: 0.5.0+dfsg-2
Severity: serious
Control: affects -1 src:r-cran-av

The autopkgtest fails:

This is due to:
/usr/lib/R/site-library/av/samples/Synapsis-Wonderland.mp3: broken symbolic link to ../../../../../share/doc/libmp3-tag-perl/examples/empty_10sec.mp3

The test passes after installing libmp3-tag-perl, but shipping
a broken link created in debian/rules is wrong in any case.

And depending on libmp3-tag-perl does not make sense for that.

I would suggest to remove the override_dh_link, add test
dependency on libmp3-tag-perl and then copy the file from
libmp3-tag-perl at the start of the test.

More information about the R-pkg-team mailing list