When i try to compile app-crypt/tpm2-tss-2.4.0 i get an "Sandbox Access Violation", see logfile. Reproducible: Always Steps to Reproduce: 1. Try to build.
Created attachment 638612 [details] Buildlog from app-crypt/tpm2-tss-2.4.0
I also confirm this... FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
This is due to 7https://github.com/tpm2-software/tpm2-tss/commit/7502887b57246923fa965bfc56b5eddb473d613d#diff-c949f93d03f44a4217d7a138f9e2e54a . Didn't catch it because my test VM uses OpenRC.I'll patch it out.
The actual error message is: make install-exec-hook make[2]: Entering directory '/tmp/portage/app-crypt/tpm2-tss-2.4.0/work/tpm2-tss-2.4.0' systemd-sysusers && systemd-tmpfiles --create || true * ACCESS DENIED: open_wr: /etc/.pwd.lock Failed to take /etc/passwd lock: Permission denied make[2]: Leaving directory '/tmp/portage/app-crypt/tpm2-tss-2.4.0/work/tpm2-tss-2.4.0' make[1]: Leaving directory '/tmp/portage/app-crypt/tpm2-tss-2.4.0/work/tpm2-tss-2.4.0'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=911b35667b9e66b5d29f0ef2927219cacabd2e30 commit 911b35667b9e66b5d29f0ef2927219cacabd2e30 Author: Salah Coronya <salah.coronya@gmail.com> AuthorDate: 2020-05-14 03:12:06 +0000 Commit: Jason A. Donenfeld <zx2c4@gentoo.org> CommitDate: 2020-05-18 04:59:51 +0000 app-crypt/tpm2-tss: Fix sandbox violation for systemd users Closes: https://bugs.gentoo.org/722864 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Salah Coronya <salah.coronya@gmail.com> Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org> ...-tss-2.4.0-Dont-run-systemd-sysusers-in-Makefile.patch | 15 +++++++++++++++ app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild | 5 +++-- 2 files changed, 18 insertions(+), 2 deletions(-)