One of the lesser-known features of dev-lang/tcc is its ability to directly execute C as if the language were interpreted. The man file lists the shabang as: #!/usr/local/bin/tcc -run This shabang is in the official documentation upstream. Likely, a lot of Linux distros do (or did) install tcc to that location. But dev-lang/tcc presently installs to /usr/bin/tcc. So, Gentoo's version of the man file should be patched to read: #!/usr/bin/tcc -run Or possibly: #!/usr/bin/env -S tcc -run
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2e36e1d2ca03a062d0fa4983a4168a691d422e commit 1b2e36e1d2ca03a062d0fa4983a4168a691d422e Author: Yixun Lan <dlan@gentoo.org> AuthorDate: 2023-01-04 00:24:46 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2023-01-04 00:27:49 +0000 dev-lang/tcc: fix shabang in man documentation Closes: https://bugs.gentoo.org/888115 Signed-off-by: Yixun Lan <dlan@gentoo.org> dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 5 ++++- dev-lang/tcc/tcc-9999.ebuild | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-)