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

Bug 773541

Summary: sci-libs/cantera-2.5.1 calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sergey Torokhov <torokhov-s-a>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20071
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-03-01 10:23:34 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/cantera-2.5.1 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] and set the AR variable to x86_64-pc-linux-gnu-ar.
Comment 1 Agostino Sarubbo gentoo-dev 2021-03-01 10:23:37 UTC
Created attachment 688863 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-03-01 10:23:39 UTC
Possible context of error(s):

sh: line 1: ar: command not found
Comment 3 Larry the Git Cow gentoo-dev 2021-04-09 12:21:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e77a48bc44332f6c5a340fc86eb7072b2dd3ebe

commit 9e77a48bc44332f6c5a340fc86eb7072b2dd3ebe
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2021-03-22 21:08:22 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-04-09 12:20:56 +0000

    sci-libs/cantera: 2.5.1 rev bump, pass AR env variable
    
    Pass AR env variable to be able to use llvm-ar instead of ar.
    
    Closes: https://bugs.gentoo.org/773541
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sci-libs/cantera/cantera-2.5.1-r1.ebuild       | 138 +++++++++++++++++++++++++
 sci-libs/cantera/files/cantera-2.5.1_env.patch |  59 +++++++++++
 2 files changed, 197 insertions(+)