Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722296 - media-video/transcode-1.1.7-r4 patch to build with libswresample instead of deprecated libavresample
Summary: media-video/transcode-1.1.7-r4 patch to build with libswresample instead of d...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
Keywords: PATCH
Depends on:
Blocks: 722274
  Show dependency tree
Reported: 2020-05-11 00:45 UTC by jospezial
Modified: 2020-05-12 10:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2020-05-11 00:45:51 UTC
libavresample is deprecated.

without libavresample I get:
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -mtune=native -O2 -pipe -c filter_pp.c  -fPIC -DPIC -o .libs/filter_pp_la-filter_pp.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -D_REENTRANT -I.. -I../src    -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -mtune=native -O2 -pipe -c -o filter_resample_la-filter_resample.lo `test -f 'filter_resample.c' || echo './'`filter_resample.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=native -mtune=native -O2 -pipe -c filter_resample.c  -fPIC -DPIC -o .libs/filter_resample_la-filter_resample.o
filter_resample.c:40:10: fatal error: libavresample/avresample.h: No such file or directory
   40 | #include <libavresample/avresample.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:1416: filter_resample_la-filter_resample.lo] Error 1

arch linux has a fix:
"Port from avresample to swresample"

and a simple patch:
Comment 1 jospezial 2020-05-11 00:49:52 UTC
Something went wrong. Please reassign.
Comment 2 Larry the Git Cow gentoo-dev 2020-05-12 10:11:41 UTC
The bug has been closed via the following commit(s):

commit e01dfe46be8c282fb861b39821ffb0258bad8c5a
Author:     Lars Wendler <>
AuthorDate: 2020-05-12 10:11:02 +0000
Commit:     Lars Wendler <>
CommitDate: 2020-05-12 10:11:35 +0000

    media-video/transcode: Revbump to not build against libavresample
    Thanks-to: jospezial <>
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Lars Wendler <>

 .../files/transcode-1.1.7-swresample.patch         |  23 ++++
 media-video/transcode/transcode-1.1.7-r5.ebuild    | 141 +++++++++++++++++++++
 2 files changed, 164 insertions(+)