Re: [meta-intel] intel-media-driver_26.1.0.bb:do_compile fails on master
Yoann Congal <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <CAMSfU+4A=s=SwU5XNSebqSMQpg+KD8tYpMn9ncn93eUUdR7KxA@mail.gmail.com> |
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 > > > 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