[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 10:45:40 BST 2020


On Tue, May 19, 2020 at 11:33:07AM +0200, Andreas Tille wrote:
> On Tue, May 19, 2020 at 09:54:49AM +0300, Adrian Bunk wrote:
> > 
> > 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.
> 
> Arrg, sure this is wrong - I intended to make r-cran-av
>    Depends: libmp3-tag-perl
>  
> > And depending on libmp3-tag-perl does not make sense for that.
> 
> I agree it does not make much sense, yes.  But that package is quite
> cheap.

It is cheap only if perl is already installed,
and a weird runtime dependency.

> > 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.
> 
> I agree but the file is expected under /usr/lib where I can not copy
> anything.  To avoid patching and spending additional time on an issue
> that will be possibly resolved with next upstream version I'd prefer to
> simply add the missing Depends.  Would you agree with this?

What about disabling autopkgtest until this is resolved?

> Kind regards and thanks for spotting
> 
>      Andreas.

cu
Adrian



More information about the R-pkg-team mailing list