Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719158 - dev-ml/ocaml-expat calls cc directly
Summary: dev-ml/ocaml-expat calls cc directly
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
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-04-24 06:11 UTC by Agostino Sarubbo
Modified: 2022-01-23 18:33 UTC (History)
1 user (show)

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

build.log (build.log,6.58 KB, text/plain)
2020-04-24 06:11 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 2020-04-24 06:11:34 UTC
This is an auto-filled bug because dev-ml/ocaml-expat calls cc directly.
The issue was originally discovered on arm64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

This issue has been reproduced by setting the CC variable and by removing the /usr/bin/cc - /usr/bin/gcc binaries.
Comment 1 Agostino Sarubbo gentoo-dev 2020-04-24 06:11:43 UTC
Created attachment 634298 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-01-23 18:33:43 UTC
The bug has been closed via the following commit(s):

commit 9f1043a3774beb87a85f009445310609826534f8
Author:     Alfredo Tupone <>
AuthorDate: 2022-01-23 18:33:31 +0000
Commit:     Alfredo Tupone <>
CommitDate: 2022-01-23 18:33:31 +0000

    dev-ml/ocaml-expat: do not call cc directly
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Alfredo Tupone <>

 dev-ml/ocaml-expat/files/ocaml-expat-1.1.0-cc.patch | 11 +++++++++++
 dev-ml/ocaml-expat/ocaml-expat-1.1.0-r1.ebuild      |  7 +++++--
 2 files changed, 16 insertions(+), 2 deletions(-)