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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
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: ---


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

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