Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688108 - dev-lang/ocaml-4.09.0 version bump
Summary: dev-lang/ocaml-4.09.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
: 655624 (view as bug list)
Depends on: 635932
Blocks:
  Show dependency tree
 
Reported: 2019-06-15 13:18 UTC by Anton Kochkov
Modified: 2020-10-18 18:11 UTC (History)
3 users (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 Anton Kochkov 2019-06-15 13:18:33 UTC
OCaml version 4.08.0 was released on 2019-06-14

It is an immense release with many usage improvements and new features. Some of the highlights in release 4.08 are:

    Binding operators (let*, let+, and*, etc). They can be used to streamline monadic code.
    open now applies to arbitrary module expression in structures and to applicative paths in signatures.
    A new notion of (user-defined) "alerts" generalizes the deprecated warning.
    New modules in the standard library: Fun, Bool, Int, Option, Result.
    A significant number of new functions in Float, including FMA support, and a new Float.Array submodule.
    Source highlighting for errors and warnings in batch mode.
    Many error messages were improved.
    Improved AFL instrumentation for objects and lazy values.

http://ocaml.org/releases/4.08.0.html

https://github.com/ocaml/ocaml/releases/tag/4.08.0
Comment 1 Jonas Stein gentoo-dev 2019-06-15 20:31:43 UTC
Thank you for the bump request, but please wait at least 48h next time. 
https://wiki.gentoo.org/wiki/Zero-day_bump_requests
Comment 2 Anton Kochkov 2019-11-29 16:26:42 UTC
*** Bug 655624 has been marked as a duplicate of this bug. ***
Comment 3 Anton Kochkov 2019-11-29 16:32:09 UTC
OCaml version 4.09.0 was released on 2019-09-18

This release focused mostly on the bugfixes, removing deprecated features, and some standard library reorganization

 -  New optimisations, in particular for affine functions in matches, for instance

          type t = A | B | C
          let affine = function
            | A -> 4
            | B -> 3
            | C -> 2
        

  -  The graphics library was moved out of the compiler distribution.

  -  The vmthread library was removed.

  -  Support for compiler plugins was removed.

  -  Many bug fixes.

https://ocaml.org/releases/4.09.0.html

https://github.com/ocaml/ocaml/releases/tag/4.09.0
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-12-15 09:07:27 UTC
I take this bug as a recruitment task.
Comment 5 Larry the Git Cow gentoo-dev 2019-12-27 13:39:34 UTC
The bug has been closed via the following commit(s):

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

commit df1434388cf449f432d8058f8fa0e9f0202483ab
Author:     Ralph Seichter <github@seichter.de>
AuthorDate: 2019-12-16 01:37:34 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2019-12-27 13:39:31 +0000

    dev-lang/ocaml: Bump to version 4.09.0, EAPI 7
    
    This new OCaml ebuild uses EAPI 7. As discussed with Zlogenem, multi-
    platform support has been removed and the ebuild is now keyworded for
    ~amd64 only.
    
    Significant time was spent figuring out why the build failed when run
    via ebuild, but succeeded when run manually. After I filed an upstream
    issue[1] and a subsequent discussion, it turned out that Gentoo's ${P}
    variable clashed with the OCaml build, as I had suspected. The line
    
        P ?= stdlib__
    
    in a Makefile resulted in wrong file paths which in turn broke the
    OCaml documentation build. I have asked upstream if their use of the
    "?=" operator is deliberate; an answer is pending.
    
    The license in this build has been changed to match [2].
    
    [1] https://github.com/ocaml/ocaml/issues/9189
    [2] https://ocaml.org/docs/license.html
    
    Closes: https://bugs.gentoo.org/688108
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Ralph Seichter <gentoo@seichter.de>
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 dev-lang/ocaml/Manifest            |  1 +
 dev-lang/ocaml/ocaml-4.09.0.ebuild | 76 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)