Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857843 - dev-ml/ocamlfuse-2.7.1_p7-r1 calls cpp directly
Summary: dev-ml/ocamlfuse-2.7.1_p7-r1 calls cpp directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2022-07-13 06:00 UTC by Agostino Sarubbo
Modified: 2022-10-16 19:59 UTC (History)
1 user (show)

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


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

Issue: dev-ml/ocamlfuse-2.7.1_p7-r1 calls cpp 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 CPP implementation (like clang-cpp). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-13 06:00:16 UTC
Created attachment 791270 [details]
build.log

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


sh: line 1: cpp: command not found
Comment 3 Christoph Junghans (RETIRED) gentoo-dev 2022-07-14 02:12:19 UTC
Hmm, there is already a tc-export in src_compile():

src_compile() {
    tc-export CPP
    dune_src_compile
}

not sure how to tell dune otherwise.
Comment 4 Tupone Alfredo gentoo-dev 2022-10-16 19:18:28 UTC
camlidl is using cpp, that is why the change here does not affect it
Comment 5 Larry the Git Cow gentoo-dev 2022-10-16 19:59:24 UTC
The bug has been closed via the following commit(s):

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

commit 089dbd86ded94b70e75cbf0a7d005ea936ddbcb3
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-10-16 19:57:57 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-10-16 19:59:12 +0000

    dev-ml/camlidl: respect CPP
    
    Closes: https://bugs.gentoo.org/857843
    
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/camlidl/camlidl-1.09.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)