When building a system in a separate root for another machine, two packages failed to build due to sandbox violations, triggered by "autotools_run_tool --at-m4flags aclocal -I m4 --install" in eautoreconf.
Created attachment 674452 [details]
Created attachment 674455 [details]
we need one ticket per package. Please create a new ticket for the other package(s)
I tried doing this setting ROOT to an empty root directory but I cannot replicate - it compiles just fine, no sandbox warning. Do you have a copy of var/tmp/portage/app-crypt/tpm2-tss-2.4.3/temp/aclocal.out ?
Created attachment 675793 [details]
Created attachment 675802 [details, diff]
Fix possible missing BDEPEND on autotools-archive
I still can't replicate it but I have an idea what might be wrong. Try patching the app-crypt/tpm2-tss-2.4.3.ebuild file with the following patch which adds a possible missing build dependency.
I did the edit, nothing changed. Indeed, I already have autotools-archive installed in /. I don't have it installed in $ROOT, but manually installing it there did not solve the bug either.