Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858572 - dev-lang/teyjus-2.1-r2 calls ar directly
Summary: dev-lang/teyjus-2.1-r2 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: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2022-07-17 13:39 UTC by Agostino Sarubbo
Modified: 2022-07-18 04:21 UTC (History)
0 users

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


Attachments
build.log (build.log,224.49 KB, text/plain)
2022-07-17 13:39 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 2022-07-17 13:39:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/teyjus-2.1-r2 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 2022-07-17 13:39:14 UTC
Created attachment 791927 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-17 13:39:16 UTC
Error(s) that match a know pattern:


      command not found in PATH: ar
Comment 3 Larry the Git Cow gentoo-dev 2022-07-18 04:21:53 UTC
The bug has been closed via the following commit(s):

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

commit db37f5e3fdac78d13dd51738a1b27ad269a41e6d
Author:     Mark Wright <gienah@gentoo.org>
AuthorDate: 2022-07-18 04:21:22 +0000
Commit:     Mark Wright <gienah@gentoo.org>
CommitDate: 2022-07-18 04:21:22 +0000

    dev-lang/teyjus: Use CC,LD,AR,AS,CPP.
    
    Use the environment variables CC, LD, AR, AS, CPP to configure the
    build environment. Specify the ocaml -cc option to instruct ocamlopt.opt
    to call the specified C compiler. Builds with gcc or clang. Remove the
    superflous sys-devel/binutils and sys-devel/gcc dependencies. Thanks to
    Agostino Sarubbo for reporting.
    
    Closes: https://bugs.gentoo.org/858572
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Mark Wright <gienah@gentoo.org>

 dev-lang/teyjus/teyjus-2.1-r2.ebuild | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)