Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 829701

Summary: dev-ada/gtkada-2021 calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Linux ADA team <ada>
Status: RESOLVED FIXED    
Severity: normal CC: tupone
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log
1-config.log

Description Agostino Sarubbo gentoo-dev 2021-12-20 09:39:03 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ada/gtkada-2021 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].
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-20 09:39:05 UTC
Created attachment 759867 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-20 09:39:06 UTC
Created attachment 759868 [details]
1-config.log

1-config.log
Comment 3 Agostino Sarubbo gentoo-dev 2021-12-20 09:39:08 UTC
Error(s) that match a know pattern:

configure: error: /usr/bin/gprbuild test failed at compile time! Check your configuration.
Comment 4 Larry the Git Cow gentoo-dev 2021-12-22 21:53:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f80ac2e7e03f1ad5c2735cf6a35e015bfeb4180

commit 2f80ac2e7e03f1ad5c2735cf6a35e015bfeb4180
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2021-12-22 21:53:03 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2021-12-22 21:53:03 +0000

    dev-ada/gprbuild: use chost-ar
    
    Closes: https://bugs.gentoo.org/829701
    Closes: https://bugs.gentoo.org/736036
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ada/gprbuild/files/gprbuild-2021-ar.patch   | 11 +++++++++++
 dev-ada/gprbuild/files/gprbuild-22.0.0-ar.patch | 11 +++++++++++
 dev-ada/gprbuild/gprbuild-2021-r2.ebuild        |  1 +
 dev-ada/gprbuild/gprbuild-22.0.0-r1.ebuild      |  1 +
 4 files changed, 24 insertions(+)