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 | <IA3PR11MB89872EF6500D42F1A753C0188C62A@IA3PR11MB8987.namprd11.prod.outlook.com> |
Hello, 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` * Proper fix requires CMake refactoring upstream * Path shortening is the only reliable workaround for 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