https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/tvision-2.2.3 calls ar directly. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html 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 716376 [details] build.log build log and emerge --info
I didn't check configuration without native-symlinks... The patch I've applied was actually using $(AR) during src_compile.
I tried to fix the function in conflib.pl, but unfortunately my perl skills are too low, the configure doesn't output any ar now, but still builds the archive properly, although on a machine with native-symlinks enabled. We need to wait if upstream will provide a patch. I attach my modified patch here for review, if someone with perl skills might want to help out with this.
Created attachment 716430 [details] tvision-2.2.3-0001-use-proper-AR.patch updated patch to detect ar. It's properly detected, as a grep in configure.cache tells, but it's doesn't have proper output.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d31cdd2b84207dafe2af4e969a12742a7630836 commit 9d31cdd2b84207dafe2af4e969a12742a7630836 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2021-06-16 08:43:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-21 22:26:04 +0000 dev-libs/tvision: properly detect ar Closes: https://bugs.gentoo.org/796278 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/21333 Signed-off-by: Sam James <sam@gentoo.org> ...mmand-now-can-be-configured-from-the-envi.patch | 56 ++++++++++++++++++++ .../files/tvision-2.2.3-0001-use-proper-AR.patch | 23 --------- ...ed-configuration-option-to-exclude-libgpm.patch | 60 ++++++++++++++++++++++ .../tvision-2.2.3-0003-Adjusted-c-years.patch | 34 ++++++++++++ ...n-2.2.3-0004-Made-ar-command-configurable.patch | 23 +++++++++ dev-libs/tvision/tvision-2.2.3.ebuild | 10 ++-- 6 files changed, 180 insertions(+), 26 deletions(-)