Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 773541 - sci-libs/cantera-2.5.1 calls ar directly
Summary: sci-libs/cantera-2.5.1 calls ar directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
Keywords: PullRequest
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2021-03-01 10:23 UTC by Agostino Sarubbo
Modified: 2021-04-09 12:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,64.88 KB, text/plain)
2021-03-01 10:23 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-03-01 10:23:34 UTC

Issue: sci-libs/cantera-2.5.1 calls ar directly.
Discovered on: amd64 (internal ref: ci)

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 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):

commit 9e77a48bc44332f6c5a340fc86eb7072b2dd3ebe
Author:     Sergey Torokhov <>
AuthorDate: 2021-03-22 21:08:22 +0000
Commit:     Joonas Niilola <>
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.
    Signed-off-by: Sergey Torokhov <>
    Signed-off-by: Joonas Niilola <>

 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(+)