build.log and emerge --info in attachment. sandbox related? sandbox/opendir_dirname: [forking] FAIL src/test/test_sandbox.c:264: opendir: Operation not permitted [1] [opendir_dirname FAILED] sandbox/openat_filename: SKIPPED sandbox/chmod_filename: [forking] FAIL src/test/test_sandbox.c:184: chmod: Operation not permitted [1] [chmod_filename FAILED] sandbox/chown_filename: [forking] FAIL src/test/test_sandbox.c:202: chown: Operation not permitted [1] [chown_filename FAILED] sandbox/rename_filename: [forking] FAIL src/test/test_sandbox.c:222: rename: Operation not permitted [1] [rename_filename FAILED] Reproducible: Always
Actually too large for bgo even compressed, so here it is: https://paste.matoro.tk/sur83kw
Hm, tor defines some of its own seccomp-based "sandbox" plumbing which these functions are intended to test, but I can't reproduce even on arm64 hardware.
(In reply to John Helmert III from comment #2) > Hm, tor defines some of its own seccomp-based "sandbox" plumbing which these > functions are intended to test, but I can't reproduce even on arm64 hardware. Did you run in clean stable chroot? And what kernel? I am on LTS dist-kernel. I can tar up my environment if it helps.
Oops, sorry, yes, I can reproduce if I pay closer attention to the version I test...
Hm, not sure what changed but now I can reproduce with 0.4.7.13-r1, 0.4.7.14, and 0.4.7.16, but not 0.4.8.10. Looks like there's a patch series upstream dealing with arm64 tor-sandbox functionality: https://gitlab.torproject.org/tpo/core/tor/-/merge_requests/574
(In reply to John Helmert III from comment #5) > Hm, not sure what changed but now I can reproduce with 0.4.7.13-r1, > 0.4.7.14, and 0.4.7.16, but not 0.4.8.10. Looks like there's a patch series > upstream dealing with arm64 tor-sandbox functionality: > https://gitlab.torproject.org/tpo/core/tor/-/merge_requests/574 I can confirm that this patch backports cleanly to 0.4.7.16 and fixes the test suite.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac63593feec203a38fccf1189ba0fe3e304f4f8b commit ac63593feec203a38fccf1189ba0fe3e304f4f8b Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2023-12-25 19:47:55 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2023-12-25 19:55:26 +0000 net-vpn/tor: add 0.4.7.16-r1 for arm64 test patch Closes: https://bugs.gentoo.org/920063 Signed-off-by: John Helmert III <ajak@gentoo.org> net-vpn/tor/files/tor-0.4.7.16-arm64-sandbox.patch | 337 +++++++++++++++++++++ net-vpn/tor/tor-0.4.7.16-r1.ebuild | 168 ++++++++++ 2 files changed, 505 insertions(+)