https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/teyjus-2.1-r2 calls ar directly. Discovered on: amd64 (internal ref: ci) NOTE: As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Created attachment 791927 [details] build.log build log and emerge --info
Error(s) that match a know pattern: command not found in PATH: ar
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db37f5e3fdac78d13dd51738a1b27ad269a41e6d commit db37f5e3fdac78d13dd51738a1b27ad269a41e6d Author: Mark Wright <gienah@gentoo.org> AuthorDate: 2022-07-18 04:21:22 +0000 Commit: Mark Wright <gienah@gentoo.org> CommitDate: 2022-07-18 04:21:22 +0000 dev-lang/teyjus: Use CC,LD,AR,AS,CPP. Use the environment variables CC, LD, AR, AS, CPP to configure the build environment. Specify the ocaml -cc option to instruct ocamlopt.opt to call the specified C compiler. Builds with gcc or clang. Remove the superflous sys-devel/binutils and sys-devel/gcc dependencies. Thanks to Agostino Sarubbo for reporting. Closes: https://bugs.gentoo.org/858572 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Mark Wright <gienah@gentoo.org> dev-lang/teyjus/teyjus-2.1-r2.ebuild | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-)