From: "Yoann Congal" <yoann.congal@smile.fr>
To: "Tyagi, Yogesh" <yogesh.tyagi@intel.com>
Cc: "Yocto ML" <yocto@lists.yoctoproject.org>
Subject: Re: [meta-intel] intel-media-driver_26.1.0.bb:do_compile fails on master
Date: Thu, 12 Feb 2026 15:31:46 +0100 [thread overview]
Message-ID: <DGD219WBW417.38KFVSE5F8O4R@smile.fr> (raw)
In-Reply-To: <IA3PR11MB89872EF6500D42F1A753C0188C62A@IA3PR11MB8987.namprd11.prod.outlook.com>
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?
> Thanks,
> Yogesh
> ________________________________________
> From: Yoann Congal <yoann.congal@smile.fr>
> Sent: Tuesday, February 3, 2026 2:59 PM
> To: Tyagi, Yogesh <yogesh.tyagi@intel.com>
> Cc: Yocto ML <yocto@lists.yoctoproject.org>
> 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
next prev parent reply other threads:[~2026-02-12 14:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-03 9:29 [meta-intel] intel-media-driver_26.1.0.bb:do_compile fails on master Yoann Congal
2026-02-10 16:29 ` Tyagi, Yogesh
2026-02-12 14:31 ` Yoann Congal [this message]
2026-02-17 20:09 ` Tyagi, Yogesh
2026-02-17 21:29 ` Yoann Congal
2026-02-17 22:35 ` Yoann Congal
2026-02-19 12:26 ` Tyagi, Yogesh
2026-02-19 13:33 ` [yocto] " Yoann Congal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DGD219WBW417.38KFVSE5F8O4R@smile.fr \
--to=yoann.congal@smile.fr \
--cc=yocto@lists.yoctoproject.org \
--cc=yogesh.tyagi@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox