Issue: dev-libs/tvision-2.2.3 calls ar directly.
Discovered on: amd64 (internal ref: ci)
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 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]
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):
Author: Bernd Waibel <email@example.com>
AuthorDate: 2021-06-16 08:43:01 +0000
Commit: Sam James <firstname.lastname@example.org>
CommitDate: 2021-06-21 22:26:04 +0000
dev-libs/tvision: properly detect ar
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernd Waibel <email@example.com>
Signed-off-by: Sam James <firstname.lastname@example.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(-)