Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882139 - media-libs/libva-intel-media-driver-22.6.4[-X] fails to compile: ddi_vp_functions.cpp:26:10: fatal error: va_dricommon.h: No such file or directory
Summary: media-libs/libva-intel-media-driver-22.6.4[-X] fails to compile: ddi_vp_funct...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: VA-API Project
URL:
Whiteboard:
Keywords:
: 883557 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-11-20 10:44 UTC by Agostino Sarubbo
Modified: 2023-01-21 00:00 UTC (History)
4 users (show)

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


Attachments
build.log.xz (build.log.xz,29.04 KB, application/x-xz)
2022-11-20 10:44 UTC, Agostino Sarubbo
Details
Build log (libva-intel-media-driver_build.log.xz,20.02 KB, application/x-xz)
2022-11-20 17:50 UTC, setun.90
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-11-20 10:44:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/libva-intel-media-driver-22.6.3 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-20 10:44:18 UTC
Created attachment 834239 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2022-11-20 10:44:19 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/__/media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp.o 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/media-libs/libva-intel-media-driver-22.6.3/work/media-driver-intel-media-22.6.3/media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp:26:10: fatal error: va/va_dricommon.h: No such file or directory
/var/tmp/portage/media-libs/libva-intel-media-driver-22.6.3/work/media-driver-intel-media-22.6.3/media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp:26:10: fatal error: va/va_dricommon.h: No such file or directory
Comment 3 Conrad Kostecki gentoo-dev 2022-11-20 11:58:49 UTC
Hm, thats strange. It can't reproduce that :/
Comment 4 setun.90 2022-11-20 17:50:55 UTC
Created attachment 835145 [details]
Build log
Comment 5 setun.90 2022-11-20 17:51:34 UTC
I confirm that I hit this bug too.
Comment 6 Johannes Penßel 2022-11-25 13:01:42 UTC
I'm affected as well, but I think I found the reason for the error. The va/va_dricommon.h header is only present if media-libs/libva is installed with USE="X" enabled. After making this change, I'm now able to compile media-libs/libva-intel-media-driver again, regardless if USE="X" is enabled for the package itself or not.
Comment 7 setun.90 2022-12-06 21:58:01 UTC
(In reply to Johannes Penßel from comment #6)
> I'm affected as well, but I think I found the reason for the error. The
> va/va_dricommon.h header is only present if media-libs/libva is installed
> with USE="X" enabled. After making this change, I'm now able to compile
> media-libs/libva-intel-media-driver again, regardless if USE="X" is enabled
> for the package itself or not.

This worked for me too, emerging media-libs/libva with USE="X" enabled media-libs/libva-intel-media-driver to emerge normally with or without USE="X" for itself.
Comment 8 Conrad Kostecki gentoo-dev 2022-12-30 23:33:26 UTC
*** Bug 883557 has been marked as a duplicate of this bug. ***
Comment 9 Agostino Sarubbo gentoo-dev 2022-12-31 07:49:33 UTC
ci has reproduced this issue with version 22.6.4 - Updating summary.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-20 23:57:33 UTC
*** Bug 883557 has been marked as a duplicate of this bug. ***