On Mon, 10 Nov 2025 at 18:37, Markus Volk <[email protected]> wrote: > I ran some tests with the bitbake-setup tool and noticed a problem that is at > least partly related to the long name of the setup directory. > > With the default value, compiling intel-media-driver fails with: > posix_spawn: Argument list too long > > It turns out that this is a known issue when the string length reaches > MAX_ARG_STRLEN. > https://github.com/ninja-build/ninja/issues/1261 > > To verify this assumption, I changed the setup directory name to just ā > poky,ā which avoided the problem. This is an annoying issue and not a > satisfactory solution, but perhaps it will help as a bug report or if someone > else encounters the same problem. > > Perhaps using response files would help?
I'd like to see how you ended up with a directory name that is too long for intel-media-driver. Can you share the build logs that pass and those that fail? Bitbake-setup does not add that much to the build paths, so trying to make it even shorter will not solve the issue properly. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#226153): https://lists.openembedded.org/g/openembedded-core/message/226153 Mute This Topic: https://lists.openembedded.org/mt/116223608/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
