Both script tests related to app-misc/tmux, checks/tmux-{complete,prompt}.fish, fail on my riscv system. This happens regardless of whether I run emerge in a tmux session or not. Conversely, in my amd64 text container the two tests pass but I get Bug #802873 instead.
Created attachment 732313 [details] build.log
Created attachment 732316 [details] emerge --info
3.4.1 has one remaining test failure 165/229 Test #164: redirect.fish.............................***Failed 1.56 sec /var/tmp/portage/app-shells/fish-3.4.1/work/fish-3.4.1_build/tests/test_env.sh: line 72: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or dir ectory Testing file checks/redirect.fish ... Failure: The CHECKERR on line 144 wants: warning: Path \'/bin/echo\' is not a directory which failed to match line stderr:9: open: Permission denied Context: [...] from line 106 (stderr:6): read: stdin is closed hooray2 warning: An error occurred while redirecting file \'/bin/echo/file\' open: Permission denied <= does not match CHECKERR 'warning: Path \'/bin/echo\' is not a directory' on line 144 when running command: ../test/root/bin/fish checks/redirect.fish 229/229 Test #229: wait.py 99% tests passed, 1 tests failed out of 229 Total Test time (real) = 94.05 sec The following tests FAILED: 164 - redirect.fish (Failed) Errors while running CTest FAILED: CMakeFiles/fish_run_tests /var/tmp/portage/app-shells/fish-3.4.1/work/fish-3.4.1_build/CMakeFiles/fish_run_tests
Reproduced the "check/redirect.fish" test error with 3.4.0/3.4.1 ebuild on amd64/riscv/mips In 3.4.x, Upstream made some changes to this script that appears to be related to the problem. Could be a sandbox-related issue IMO.
Opened #838187 for tracking "redirect.fish" test failure, since it seems to be 3.4.x only.