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".
Created attachment 634306 [details] build.log build log and emerge --info
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(-)