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

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


Attachments
build.log (build.log,809.19 KB, text/plain)
2020-04-24 06:22 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-04-24 06:22:33 UTC
This is an auto-filled bug because dev-lang/ocaml 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.

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

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

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

commit b621f163b9af5f8949f0ce1ce1bc13651562b3ff
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-01-23 18:13:37 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-01-23 18:13:37 +0000

    dev-lang/ocaml: respect CFLAGS
    
    Closes: https://bugs.gentoo.org/719166
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-lang/ocaml/files/ocaml-4.09.0-cflags.patch | 11 +++++++
 dev-lang/ocaml/files/ocaml-4.10.2-cflags.patch | 42 ++++++++++++++++++++++++++
 dev-lang/ocaml/ocaml-4.05.0-r7.ebuild          |  4 ++-
 dev-lang/ocaml/ocaml-4.05.0-r8.ebuild          |  4 ++-
 dev-lang/ocaml/ocaml-4.09.0-r2.ebuild          |  2 ++
 dev-lang/ocaml/ocaml-4.10.2-r2.ebuild          |  8 ++++-
 dev-lang/ocaml/ocaml-4.11.2-r2.ebuild          |  5 ++-
 dev-lang/ocaml/ocaml-4.12.1.ebuild             |  4 ++-
 dev-lang/ocaml/ocaml-4.13.1.ebuild             |  4 ++-
 9 files changed, 78 insertions(+), 6 deletions(-)