From strace file ~/.bashrc:
seccomp(SECCOMP_SET_MODE_STRICT, 1, NULL) = -1 EINVAL (Invalid argument)
seccomp(SECCOMP_SET_MODE_FILTER, 0, 0x55e04e3f0760) = 0
stat(0x55e04e3f0b30, 0x7ffc52d15900) = -1 ENOENT (No such file or directory)
stat(0x55e04e3f0b30, 0x7ffc52d15900) = -1 ENOENT (No such file or directory)
One solution for me is to compile sys-apps/file package with disabled seccomp USE flag. Another one is to compile the package with enabled seccomp and lzma USE flags together.
From equery uses file:
seccomp : Enable seccomp (secure computing mode) to perform system call
filtering at runtime to increase security of programs
lzma : Support for LZMA (de)compression algorithm
seccomp : Enable seccomp (secure computing mode) to perform system call
filtering at runtime to increase security of programs
It seems to be a bug in upstream. https://bugs.gentoo.org/771096