Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 719184

Summary: dev-ml/ocamlbuild does not respect CFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Severity: normal CC: gienah
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506    
Attachments: build.log

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(+)