[R-pkg-team] Bug#963153: ffmpeg breaks r-cran-av autopkgtest: error in 'avcodec_open2 (audio)': Invalid argument

Andreas Tille tille at debian.org
Tue Jun 23 11:05:32 BST 2020


Hi Sebastian,

if you look at my DDPO page I have *lots* of packages.  I really like if
people are doing sensible work (as you did) *without* my interaction.
I'm really happy if you NMU (that's why I confirmed) or perhaps do a
team upload.  Any help is welcome and I do not want to fiddle around with
the perfectly fine work of you.  So why should I want any more delay or
why should I want it at all?

The only thing I would love you to do is to push your changes to Git
(just given permissions).

Thanks a lot for your work and to bad if other maintainers might have
created a culture of making a fuzz about NMUs

      Andreas.

On Tue, Jun 23, 2020 at 11:39:15AM +0200, Sebastian Ramacher wrote:
> On 2020-06-23 11:15:52 +0200, Andreas Tille wrote:
> > Hi Sebastian,
> > 
> > On Tue, Jun 23, 2020 at 10:50:50AM +0200, Sebastian Ramacher wrote:
> > > Control: notfound -1 ffmpeg/7:4.3-2
> > > Control: tags -1 + patch
> > > 
> > > Hi Andreas
> > > 
> > > ...
> > > The attached patch fixes this issue by generting an empty mp3 with the
> > > default sampling rate of 44.1 KHz during package build instead of
> > > copying the file from libmp3-tag-perl. If you want, I can upload it as
> > > NMU.
> > 
> > Any NMU or team upload is perfectly welcome.
> 
> Uploaded to DELAYED/2 with the attached diff. Please let me know if I
> should delay it longer.
> 
> Cheers
> -- 
> Sebastian Ramacher

> diff -Nru r-cran-av-0.5.0+dfsg/debian/changelog r-cran-av-0.5.0+dfsg/debian/changelog
> --- r-cran-av-0.5.0+dfsg/debian/changelog	2020-05-20 09:34:42.000000000 +0200
> +++ r-cran-av-0.5.0+dfsg/debian/changelog	2020-06-23 11:31:26.000000000 +0200
> @@ -1,3 +1,11 @@
> +r-cran-av (0.5.0+dfsg-3.1) unstable; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * debian/rules: Generate empty mp3 file with ffmpeg with a sample rate
> +    supported by all formats used in the tests (Closes: #965153)
> +
> + -- Sebastian Ramacher <sramacher at debian.org>  Tue, 23 Jun 2020 11:31:26 +0200
> +
>  r-cran-av (0.5.0+dfsg-3) unstable; urgency=medium
>  
>    * Provide mp3 example properly
> diff -Nru r-cran-av-0.5.0+dfsg/debian/control r-cran-av-0.5.0+dfsg/debian/control
> --- r-cran-av-0.5.0+dfsg/debian/control	2020-05-20 09:34:42.000000000 +0200
> +++ r-cran-av-0.5.0+dfsg/debian/control	2020-06-23 10:26:49.000000000 +0200
> @@ -8,7 +8,7 @@
>                 dh-r,
>                 r-base-dev,
>                 libavfilter-dev,
> -               libmp3-tag-perl
> +               ffmpeg
>  Standards-Version: 4.5.0
>  Vcs-Browser: https://salsa.debian.org/r-pkg-team/r-cran-av
>  Vcs-Git: https://salsa.debian.org/r-pkg-team/r-cran-av.git
> diff -Nru r-cran-av-0.5.0+dfsg/debian/rules r-cran-av-0.5.0+dfsg/debian/rules
> --- r-cran-av-0.5.0+dfsg/debian/rules	2020-05-20 09:34:42.000000000 +0200
> +++ r-cran-av-0.5.0+dfsg/debian/rules	2020-06-23 10:26:38.000000000 +0200
> @@ -7,4 +7,4 @@
>  
>  override_dh_install:
>  	dh_install
> -	cp -a /usr/share/doc/libmp3-tag-perl/examples/empty_10sec.mp3 $(debRlib)/$(cranNameOrig)/samples/Synapsis-Wonderland.mp3
> +	ffmpeg -f lavfi -i anullsrc=r=44100:cl=mono -t 10 -acodec libmp3lame $(debRlib)/$(cranNameOrig)/samples/Synapsis-Wonderland.mp3




-- 
http://fam-tille.de



More information about the R-pkg-team mailing list