Re: [meta-intel] intel-media-driver_26.1.0.bb:do_compile fails on master

"Tyagi, Yogesh" <[email protected]>
Newsgroups org.yoctoproject.lists.yocto
Message-ID <IA3PR11MB8987C922484CE78B7F8E2EB28C6BA@IA3PR11MB8987.namprd11.prod.outlook.com>


________________________________________
From: Yoann Congal <[email protected]>
Sent: Wednesday, February 18, 2026 4:05 AM
To: Yoann Congal <[email protected]>; Tyagi, Yogesh <[email protected]>
Cc: Yocto ML <[email protected]>
Subject: Re: [meta-intel] intel-media-driver_26.1.0.bb:do_compile fails on master


On Tue Feb 17, 2026 at 10:29 PM CET, Yoann Congal wrote:
> Le mar. 17 févr. 2026 à 21:09, Tyagi, Yogesh <[email protected]> a
> écrit :
>
>> ________________________________________
>> From: Yoann Congal <[email protected]>
>> Sent: Thursday, February 12, 2026 8:01 PM
>> To: Tyagi, Yogesh <[email protected]>
>> Cc: Yocto ML <[email protected]>
>> Subject: Re: [meta-intel] intel-media-driver_26.1.0.bb:do_compile fails
>> on master
>>
>>
>> On Tue Feb 10, 2026 at 5:29 PM CET, Yogesh Tyagi wrote:
>> > Hello,
>>
>> Hello,
>>
>> Thanks for the status update.
>>
>> > The only solution I could find at present is to shorten the build path.
>> >
>> > Cause:
>> >
>> > * `intel-media-driver` CMake generates ~626 include directories per
>> compilation unit
>> > * With long paths, the expanded compiler arguments exceed Linux `ARG_MAX`
>> > * GCC expands response files before spawning `cc1plus`, so
>> wrappers/response files don’t help
>> > * This is a kernel limitation, not a Yocto or compiler bug
>> >
>> > Impact:
>> >
>> > * Fails in Yocto builds with typical CI/workspace paths
>> > * `ENABLE_NONFREE_KERNELS=OFF` does not reduce include count
>> >
>> > Workaround:
>> >
>> > * Use very short workspace paths (<15–20 characters), e.g. `/w/yocto/...`
>> >
>> > Status:
>> >
>> > * Upstream issue filed with `intel-media-driver`
>>
>> For reference, the issue is:
>> [Bug]: CMake generates 600+ include directories per compilation unit ·
>> Issue #1984 · intel/media-driver
>> https://github.com/intel/media-driver/issues/1984
>>
>> > * Proper fix requires CMake refactoring upstream
>> > * Path shortening is the only reliable workaround for now
>>
>> >Did you find what made the problem appear when we did not had it before?
>> >Any chance that this is something you can revert while
>> >intel-media-driver cmake is fixed?
>>
>>
>> I have reverted the intel-media-driver to old version. Please check the
>> build now.
>>
>
> I've started 2 AB meta-intel builds:
> master :
> https://autobuilder.yoctoproject.org/valkyrie/?#/builders/41/builds/3043
> whinlatter:
> https://autobuilder.yoctoproject.org/valkyrie/?#/builders/41/builds/3044

>Both builds are successful.
>I've closed https://bugzilla.yoctoproject.org/show_bug.cgi?id=16172.

>Thank you Yogesh.

Hello Yoann,

Is it possible to test a meta-intel development branch in autobuilder before pushing the changes in production?
 
>
>
>>
>> > Thanks,
>> > Yogesh
>> > ________________________________________
>> > From: Yoann Congal <[email protected]>
>> > Sent: Tuesday, February 3, 2026 2:59 PM
>> > To: Tyagi, Yogesh <[email protected]>
>> > Cc: Yocto ML <[email protected]>
>> > Subject: [meta-intel] intel-media-driver_26.1.0.bb:do_compile fails on
>> master
>> >
>> >
>> > Hello,
>> >
>> > meta-intel/master seems currently broken: intel-media-driver_26.1.0.bb:do_compile
>> fails with:
>> > ninja: fatal: posix_spawn: Argument list too long
>> >
>> > This happens on master and also on whinlatter.
>> >
>> > We can see this on autobuilder:
>> > https://autobuilder.yoctoproject.org/valkyrie/?#/builders/41
>> > * master:
>> https://autobuilder.yoctoproject.org/valkyrie/?#/builders/41/builds/2967
>> > * whinlatter:
>> https://autobuilder.yoctoproject.org/valkyrie/?#/builders/41/builds/2966
>> >
>> > Regards,
>>
>>
>> --
>> Yoann Congal
>> Smile ECS
>>
>>
>>
>>


-- 
Yoann Congal
Smile ECS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.