Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798489 - dev-db/mongodb-5.0.2-r1 calls ar directly
Summary: dev-db/mongodb-5.0.2-r1 calls ar directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
Keywords: PullRequest
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2021-06-25 06:13 UTC by Agostino Sarubbo
Modified: 2022-02-07 13:23 UTC (History)
0 users

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

build.log (build.log,79.32 KB, text/plain)
2021-06-25 06:13 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-06-25 06:13:50 UTC

Issue: dev-db/mongodb-4.4.4 calls ar directly.
Discovered on: amd64 (internal ref: ci)

This machine uses GCC-11:
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-06-25 06:13:53 UTC
Created attachment 718947 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-06-25 06:13:55 UTC
Possible context of error(s):

sh: line 1: ar: command not found
Comment 3 Agostino Sarubbo gentoo-dev 2022-02-06 08:04:23 UTC
ci has reproduced this issue with version 5.0.2-r1 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2022-02-07 13:23:37 UTC
The bug has been closed via the following commit(s):

commit 01084842e9247fe6061346b09f46b455a4365cf4
Author:     Tomáš Mózes <>
AuthorDate: 2021-12-19 11:43:19 +0000
Commit:     Alexys Jacob <>
CommitDate: 2022-02-07 13:21:42 +0000

    dev-db/mongodb: bump to 4.2.17/4.4.10/5.0.5
    Tests pass for 4.2.17 / 4.4.10 on amd64
    Signed-off-by: Tomáš Mózes <>
    Signed-off-by: Alexys Jacob <>

 dev-db/mongodb/Manifest              |   3 +
 dev-db/mongodb/mongodb-4.2.17.ebuild | 177 ++++++++++++++++++++++++++++++++++
 dev-db/mongodb/mongodb-4.4.10.ebuild | 178 ++++++++++++++++++++++++++++++++++
 dev-db/mongodb/mongodb-5.0.5.ebuild  | 182 +++++++++++++++++++++++++++++++++++
 4 files changed, 540 insertions(+)