emerge homeassistant-full : Argument list too long
During emerge homeassistant-full, environment variables passed to ebuild exceed MAX_ARG_PAGES defined in kernel, and die with "Argument list too long"...
I changed the MAX_ARG_PAGES value in /usr/src/linux/include/linux/binfmts.h to 64
and recompiled the kernel as suggested by “Argument list too long”: How do I deal with it, without changing my command?
Last time I used this one (for tests) was around 0.114.x, will have to dig to see what exactly changed. Perhaps it simply grew over some limits.
Did it compile with MAX_ARG_PAGES 64?
The -full Ebuild should not be used for production anyway, use either app-misc/homeassistant-min or app-misc/homeassistant.
We could add more (needed) components to one of the others.
Is not enough recompile the kernel, now is time of glibc, i will keep you updated, zzzZZZ, is a mini computer with an Intel Atom, maybe tomorrow I will know something
Yes it is, the environment variable passed to ebuild is over 170Kb length, with MAX_ARG_PAGES = 32 the max size is 128kb...
Now I finish to build maybe can be usefull to someone
Yes, I am very interested. The whole purpose of this Ebuild is to have the ability to test all components against others. If the -full Ebuild won't work anymore, testing would be a bit more difficult.
Especially with an Atom, why are you trying to use the 'fat' Ebuild?
I offered (in README.md) to add more integrations to the 'mid' Ebuild. All I need to know is that somebody is using it. This would also include better build testing for these integrations. Testing all 980 integrations (and the libraries they depend on) is far beyond my capabilities.
What kind of Atom are you using?
Hi, I am using an Intel(R) Atom(TM) x5-Z8350 CPU @ 1.44GHz, is on a mini pc Minisforum Z83-F, an 100$ computer.
I solved "Argument list too long" it wasnt about MAX_ARG_PAGES but in include/uapi/linux/binfmts.h
#define MAX_ARG_STRLEN (PAGE_SIZE * 32)
to change in
#define MAX_ARG_STRLEN (PAGE_SIZE * 64)
recompile kernel, reboot
Now I am facing other errors but not this one
Deleting a branch is permanent. It CANNOT be undone. Continue?