Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 773226 - dev-lang/ocaml: apply patch to disable textural warnings on arm/x86/etc
Summary: dev-lang/ocaml: apply patch to disable textural warnings on arm/x86/etc
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: https://github.com/ocaml/ocaml/issues...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-27 05:04 UTC by Sam James
Modified: 2021-03-13 13:56 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-27 05:04:19 UTC
See https://gitlab.alpinelinux.org/alpine/aports/-/blob/52810020196a468a2e9805a4b7cee118334f39d2/community/ocaml/fix-configure-musl.patch#L64.

We can disable TEXTREL warnings where OCaml cannot generate relocatable code to allow tests to actually pass rather than being filled with these (unfixable from our end) warnings.
Comment 1 Larry the Git Cow gentoo-dev 2021-03-12 18:22:59 UTC
The bug has been closed via the following commit(s):

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

commit 4bbb6a45f6d3e0193703828d6cdf04b46babc7b9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-12 18:13:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-12 18:22:35 +0000

    dev-lang/ocaml: don't warn on textrels on 32-bit arches
    
    We can't do anything about it on 32-bit arches and it causes
    unnecessary test failures in OCaml-based packages
    (because of the diff in output).
    
    Closes: https://bugs.gentoo.org/773226
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/ocaml/ocaml-4.05.0-r3.ebuild |  8 ++++++++
 dev-lang/ocaml/ocaml-4.09.0.ebuild    | 11 +++++++++++
 dev-lang/ocaml/ocaml-4.10.0.ebuild    | 11 +++++++++++
 dev-lang/ocaml/ocaml-4.10.2.ebuild    | 11 +++++++++++
 dev-lang/ocaml/ocaml-4.11.1.ebuild    | 11 +++++++++++
 dev-lang/ocaml/ocaml-4.11.2.ebuild    | 11 +++++++++++
 6 files changed, 63 insertions(+)