Hello, During compilation, the following error is returned while trying to emerge libva-intel-media-driver: ERROR: media-libs/libva-intel-media-driver-24.4.4::gentoo failed (compile phase): * ninja -v -j4 -l5 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 2574: Called cmake-multilib_src_compile * environment, line 772: Called multilib-minimal_src_compile * environment, line 1911: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' * environment, line 2178: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 1871: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 1869: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' * environment, line 526: Called multilib-minimal_abi_src_compile * environment, line 1905: Called multilib_src_compile * environment, line 2398: Called cmake_src_compile * environment, line 890: Called cmake_build * environment, line 857: Called eninja * environment, line 1339: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" Disabling ccache does not solve the issue. Please see attached files for details. Thanks and regards, Christophe
Created attachment 915829 [details] build.log
Created attachment 915830 [details] emerge -pqv
Created attachment 915831 [details] emerge --info
Created attachment 915832 [details] environment
(In reply to Christophe B. from comment #0) > Hello, > > During compilation, the following error is returned while trying to emerge > libva-intel-media-driver: > > ERROR: media-libs/libva-intel-media-driver-24.4.4::gentoo failed (compile > phase): > * ninja -v -j4 -l5 failed > * > * Call stack: > * ebuild.sh, line 136: Called src_compile > * environment, line 2574: Called cmake-multilib_src_compile > * environment, line 772: Called multilib-minimal_src_compile > * environment, line 1911: Called multilib_foreach_abi This is the the phase in which the ebuild stopped and the reason for the failure is: In file included from /var/tmp/portage/media-libs/libva-intel-media-driver-24.4.4/work/media-driver-intel-media-24.4.4/media_driver/agnostic/common/shared/mediacopy/media_vebox_copy.h:37, from /var/tmp/portage/media-libs/libva-intel-media-driver-24.4.4/work/media-driver-intel-media-24.4.4/media_driver/agnostic/common/shared/mediacopy/media_vebox_copy.cpp:28: /var/tmp/portage/media-libs/libva-intel-media-driver-24.4.4/work/media-driver-intel-media-24.4.4/media_driver/agnostic/common/shared/mediacopy/media_vebox_copy.cpp: In member function ‘virtual MOS_STATUS VeboxCopyState::CopyMainSurface(PMOS_RESOURCE, PMOS_RESOURCE)’: /var/tmp/portage/media-libs/libva-intel-media-driver-24.4.4/work/media-driver-intel-media-24.4.4/media_softlet/agnostic/common/shared/mediacopy/media_copy_common.h:49:57: error: ‘VPHAL_MCP_VEBOX_COPY’ was not declared in this scope 49 | #define VEBOX_COPY ((uint32_t)(VPHAL_MCP_VEBOX_COPY)) | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-libs/libva-intel-media-driver-24.4.4/work/media-driver-intel-media-24.4.4/media_driver/agnostic/common/shared/mediacopy/media_vebox_copy.cpp:151:48: note: in expansion of macro ‘VEBOX_COPY’ 151 | m_osInterface->pfnSetPerfTag(m_osInterface,VEBOX_COPY); | ^~~~~~~~~~
I see that you're emerging media-libs/libva-intel-media-driver-24.4.4 which is ~amd64 but your system has ACCEPT_KEYWORDS="amd64", could you also add media-libs/gmmlib in package.accept_keywords and then try updating world and see if media driver builds
Also change the summary to "media-libs/libva-intel-media-driver-24.4.4: Fails to build" so it can show up nicely on https://packages.gentoo.org/packages/media-libs/libva-intel-media-driver/bugs
(In reply to wxviolation from comment #7) > Also change the summary to "media-libs/libva-intel-media-driver-24.4.4: > Fails to build" so it can show up nicely on > https://packages.gentoo.org/packages/media-libs/libva-intel-media-driver/bugs Hi, Many thanks for your reply. I have modified the subject for this bug. I did as you suggested and added ~amd64 keyword for gmmlib in package.accept_keywords. And that has resolved the issue, it seems! I had added it for libva-intel-media-driver to start the build, but it did not occur to me to also add it for gmmlib. So this is all solved. Many thanks!
The package still needs a fixed dependency.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae0cd087f711517af2ee23916797aa0b4befd3db commit ae0cd087f711517af2ee23916797aa0b4befd3db Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2025-01-04 22:35:25 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2025-01-04 22:35:25 +0000 media-libs/libva-intel-media-driver: Raise required gmmlib dep Closes: https://bugs.gentoo.org/947487 Signed-off-by: Matt Turner <mattst88@gentoo.org> ...driver-24.4.4.ebuild => libva-intel-media-driver-24.4.4-r1.ebuild} | 4 ++-- .../libva-intel-media-driver/libva-intel-media-driver-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)