We can suppress the doins python traceback, like this one from bug 686330: > Traceback (most recent call last): > File "/usr/lib/portage/python3.6/doins.py", line 611, in <module> > sys.exit(main(sys.argv[1:])) > File "/usr/lib/portage/python3.6/doins.py", line 602, in main > os.path.dirname(source)): > File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins > return install_runner.install_file(source, os.path.dirname(dest)) > File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file > return self._ins_runner.run(source, dest_dir) > File "/usr/lib/portage/python3.6/doins.py", line 195, in run > sstat = os.stat(source) > FileNotFoundError: [Errno 2] No such file or directory: b'*' > ERROR: sys-kernel/linux-firmware-20190514::gentoo failed (install phase): > doins failed In order to make the output even more readable, we could add a doins shell function that calls the die function when appropriate, displaying a bash stack trace.