Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751274 - dev-ml/ocamlnet-4.1.8 calls cpp directly
Summary: dev-ml/ocamlnet-4.1.8 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: 2020-10-26 07:01 UTC by Agostino Sarubbo
Modified: 2022-01-18 11:35 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,150.40 KB, text/plain)
2020-10-26 07:01 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 2020-10-26 07:01:55 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ml/ocamlnet-4.1.8 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] and set the CPP variable to x86_64-pc-linux-gnu-gcc -E.
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-26 07:01:58 UTC
Created attachment 668576 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-10-26 07:02:00 UTC
Possible context of error(s):

/bin/sh: cpp: command not found
Fatal error: exception Failure("Preprocessor failed")
Comment 3 Larry the Git Cow gentoo-dev 2022-01-18 11:35:35 UTC
The bug has been closed via the following commit(s):

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

commit 2cbded7a0360bf8e5cbd89f3fec827c9040bbc7d
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-01-18 11:35:19 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-01-18 11:35:19 +0000

    dev-ml/ocamlnet: use toolchain-funcs eclass to get cpp
    
    Closes: https://bugs.gentoo.org/751274
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/ocamlnet/ocamlnet-4.1.8-r1.ebuild | 5 +++--
 dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild    | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)