Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719184 - dev-ml/ocamlbuild does not respect CFLAGS
Summary: dev-ml/ocamlbuild does not respect CFLAGS
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: cflags
  Show dependency tree
Reported: 2020-04-24 06:42 UTC by Agostino Sarubbo
Modified: 2021-01-26 18:01 UTC (History)
1 user (show)

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

build.log (build.log,31.34 KB, text/plain)
2020-04-24 06:42 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:42:35 UTC
This is an auto-filled bug because dev-ml/ocamlbuild does not respect CFLAGS.
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.

To reproduce this issue you may want to set CFLAGS="${CFLAGS} -frecord-gcc-switches".
Comment 1 Agostino Sarubbo gentoo-dev 2020-04-24 06:42:44 UTC
Created attachment 634320 [details]

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

commit 0e0f09337fb4942c727b71c26fd32f30d141ae66
Author:     Alfredo Tupone <>
AuthorDate: 2021-01-26 18:01:31 +0000
Commit:     Alfredo Tupone <>
CommitDate: 2021-01-26 18:01:31 +0000

    dev-ml/ocamlbuild: QA flags ignored
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Alfredo Tupone <>

 dev-ml/ocamlbuild/metadata.xml                | 4 ++++
 dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild | 2 ++
 2 files changed, 6 insertions(+)