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 | <IA3PR11MB898731D307DB9D0641D1F5678C6DA@IA3PR11MB8987.namprd11.prod.outlook.com> |
________________________________________ 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. > 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