Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834390 - media-plugins/vdr-vaapidevice-1.0.0_p20190526 with ffmpeg-5.0: codec.c:31:10: fatal error: libavcodec/vaapi.h: No such file or directory
Summary: media-plugins/vdr-vaapidevice-1.0.0_p20190526 with ffmpeg-5.0: codec.c:31:10:...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Martin Dummer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-5.0
  Show dependency tree
 
Reported: 2022-02-28 20:03 UTC by Kobboi
Modified: 2022-07-26 21:40 UTC (History)
2 users (show)

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


Attachments
build.log.gz (build.log.gz,1.52 KB, application/gzip)
2022-02-28 20:03 UTC, Kobboi
Details
emerge-info.txt (emerge-info.txt,8.00 KB, text/plain)
2022-02-28 20:03 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2022-02-28 20:03:11 UTC
ffmpeg-5.0 compiled with USE=vaapi

x86_64-pc-linux-gnu-gcc -O2 -march=znver3 -pipe -g -ggdb3 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include  -DPLUGIN_NAME_I18N='"vaapidevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000	  -DGIT_REV='"-d19657b"'  -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -Wno-unused-parameter -std=c99   -c -o ringbuffer.o ringbuffer.c
vaapidev.c: In function ‘PesParse’:
vaapidev.c:1310:29: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
 1310 |                             av_init_packet(avpkt);
      |                             ^~~~~~~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:45,
                 from vaapidev.c:22:
/usr/include/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP \
-k_ -k_N --package-name=vdr-vaapidevice --package-version=1.0.0 \
--msgid-bugs-address='<see README>' -o po/vaapidevice.pot `ls vaapidev.c video.c audio.c codec.c ringbuffer.c vaapidevice.cpp`
vaapidev.c: In function ‘PlayAudio’:
vaapidev.c:1832:13: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
 1832 |             av_init_packet(avpkt);
      |             ^~~~~~~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:45,
                 from vaapidev.c:22:
/usr/include/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
codec.c:31:10: fatal error: libavcodec/vaapi.h: No such file or directory
   31 | #include <libavcodec/vaapi.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: codec.o] Error 1
make: *** Waiting for unfinished jobs....
video.c:57:10: fatal error: libavcodec/vaapi.h: No such file or directory
   57 | #include <libavcodec/vaapi.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: video.o] Error 1


Reproducible: Always
Comment 1 Kobboi 2022-02-28 20:03:32 UTC
Created attachment 766041 [details]
build.log.gz
Comment 2 Kobboi 2022-02-28 20:03:33 UTC
Created attachment 766042 [details]
emerge-info.txt
Comment 3 Kobboi 2022-02-28 20:03:59 UTC
Compiles fine with ffmpeg-4.4.1
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-26 21:40:40 UTC
ping