Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 834390

Summary: 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
Product: Gentoo Linux Reporter: Kobboi <gentoo>
Component: Current packagesAssignee: Martin Dummer <martin.dummer>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint, vdr
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 831437    
Attachments: build.log.gz
emerge-info.txt

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
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-21 10:16:03 UTC
Package masked for removal.
Comment 6 Larry the Git Cow gentoo-dev 2023-03-18 16:45:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f41c6c5d597e347a81387db182fe1cbb626026b3

commit f41c6c5d597e347a81387db182fe1cbb626026b3
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-03-18 16:43:03 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-03-18 16:43:03 +0000

    media-plugins/vdr-vaapidevice: treeclean
    
    Closes: https://bugs.gentoo.org/834390
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-plugins/vdr-vaapidevice/Manifest             |  1 -
 media-plugins/vdr-vaapidevice/files/confd          | 30 -------------
 media-plugins/vdr-vaapidevice/metadata.xml         | 16 -------
 .../vdr-vaapidevice-1.0.0_p20190526.ebuild         | 50 ----------------------
 profiles/package.mask                              |  1 -
 5 files changed, 98 deletions(-)