Summary: | dev-lang/ocaml-4.09.0: please stabilize | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Miroslav Šulc <fordfrog> |
Component: | Stabilization | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fordfrog, hlein, info, jannik.glueckert, pacho, t-mo, tb, xdudka00 |
Priority: | Normal | Keywords: | PullRequest, STABLEREQ |
Version: | unspecified | Flags: | stable-bot:
sanity-check+
|
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=708872 https://bugs.gentoo.org/show_bug.cgi?id=708884 https://github.com/gentoo/gentoo/pull/16964 |
||
Whiteboard: | |||
Package list: |
=dev-lang/ocaml-4.09.0 amd64 arm arm64 ia64 ppc ppc64 sparc x86
|
Runtime testing required: | --- |
Bug Depends on: | 671104, 708874, 708924, 708936, 709348, 737154 | ||
Bug Blocks: | 708672, 719134 |
Description
Miroslav Šulc
![]() amd64 stable This version breaks emerging the stable version of dev-ml/findlib . The stable useflag should be dropped until this is resolved - perhaps a newer version of findlib fixes this, I haven't tested that
An excerpt of the build.log of dev-ml/findlib-1.7.1 :
>>> Configuring source in /var/tmp/portage/dev-ml/findlib-1.7.1/work/findlib-1.7.1 ...
Welcome to findlib version 1.7.1
Configuring core...
Checking for #remove_directory...
Testing threading model...
The -vmthread switch is not supported: Your ocaml version is too old!
* ERROR: dev-ml/findlib-1.7.1::gentoo failed (configure phase):
* configure failed
*
* Call stack:
* ebuild.sh, line 125: Called src_configure
* environment, line 3082: Called die
* The specific snippet of code:
* ./configure -bindir "${EPREFIX}"/usr/bin -mandir "${EPREFIX}"/usr/share/man -sitelib ${ocamlfind_destdir} -config ${ocamlfind_destdir}/findlib/findlib.conf -no-custom ${myconf} || die "configure failed"
*
* If you need support, post the output of `emerge --info '=dev-ml/findlib-1.7.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-ml/findlib-1.7.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-ml/findlib-1.7.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-ml/findlib-1.7.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-ml/findlib-1.7.1/work/findlib-1.7.1'
* S: '/var/tmp/portage/dev-ml/findlib-1.7.1/work/findlib-1.7.1'
(In reply to Jannik Glückert from comment #2) > This version breaks emerging the stable version of dev-ml/findlib . The > stable useflag should be dropped until this is resolved - perhaps a newer > version of findlib fixes this, I haven't tested that Had the same issue. findlib-1.7.2 and 1.7.3 fail too but 1.8.1 builds fine again. Also need ocamlbuild-0.14.0 since ocaml-4.09.0 stabilization. Building ocamlbuild-0.10.1 or ocamlbuild-0.11.0 I get: [...] File "src/solver.ml", line 43, characters 31-32: 43 | if is_logging 4 then dprintf 4 "==%a> %a" pp_repeat (depth, "==") Resource.print target; ^ Error: This expression has type int but an expression was expected of type ('a -> 'b -> 'c -> 'd -> 'e -> 'f, Format.formatter, unit, Format.formatter -> unit) format4 = ('a -> 'b -> 'c -> 'd -> 'e -> 'f, Format.formatter, unit, unit, unit, Format.formatter -> unit) CamlinternalFormatBasics.format6 make: *** [Makefile:392: src/solver.cmo] Error 2 * ERROR: dev-ml/ocamlbuild-0.10.1::gentoo failed (compile phase): * emake failed ocamlbuild-0.14.0 builds ok. Also needs ppx_tools bumped for compatibility, per 704106. cp ppx_tools-5.0.4.05.0.ebuild ppx_tools-5.3.4.08.0.ebuild Seems to do the trick. I was also unable to @ocaml-rebuild (at least) these with the new ocaml version. dev-ml/parmap-1.0_rc8 dev-ml/extlib-1.7.6 I spent some time on bumps, until I got to new packages requiring dev-ml/dune to build, which is a hard-conflict with jbuilder ebuild. This also broke stable dev-ml/camlp4:
>>> Configuring source in /var/tmp/portage/dev-ml/camlp4-4.04_p1/work/camlp4-4.04-1 ...
This version of Camlp4 is for OCaml 4.04 but you are using OCaml 4.09.0.
If building Camlp4 directly from git, use the 4.09 branch.
* ERROR: dev-ml/camlp4-4.04_p1::gentoo failed (configure phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 125: Called src_configure
* environment, line 227: Called die
* The specific snippet of code:
* ./configure --bindir="${EPREFIX}/usr/bin" --libdir="$(ocamlc -where)" --pkgdir="$(ocamlc -where)" || die
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30653374dc06b0810dbf542349cd18121a99751e commit 30653374dc06b0810dbf542349cd18121a99751e Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2020-02-09 20:44:37 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2020-02-09 20:44:37 +0000 dev-ml/findlib: 1.7* does not compile with ocaml-4.09 Bug: https://bugs.gentoo.org/708696 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-ml/findlib/findlib-1.7.1.ebuild | 5 +++-- dev-ml/findlib/findlib-1.7.2.ebuild | 5 +++-- dev-ml/findlib/findlib-1.7.3.ebuild | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c96cea487e4791a2e61c210a2ec036d2649377ba commit c96cea487e4791a2e61c210a2ec036d2649377ba Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2020-02-09 21:12:59 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2020-02-09 21:13:20 +0000 dev-ml/ocamlbuild: 0.10.1 and 0.11.0 don't compile with ocaml-4.09 Bug: https://bugs.gentoo.org/708872 Bug: https://bugs.gentoo.org/708696 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-ml/ocamlbuild/ocamlbuild-0.10.1.ebuild | 5 +++-- dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) ocamlbuild is not a blocker in fact but should go stable too, otherwise this version of ocaml would not be installed anyway. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a06926472246a298d761679a1e200b4a0721c6d commit 8a06926472246a298d761679a1e200b4a0721c6d Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2020-02-09 21:35:53 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2020-02-09 21:36:11 +0000 dev-ml/ppx_tools: doesn't compile with ocaml-4.09 Bug: https://bugs.gentoo.org/708696 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-ml/ppx_tools/ppx_tools-5.0.4.03.0.ebuild | 4 ++-- dev-ml/ppx_tools/ppx_tools-5.0.4.05.0.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) I have some info about findlib. As it fails to emerge, it says: Welcome to findlib version 1.7.1 Configuring core... Checking for #remove_directory... Testing threading model... The -vmthread switch is not supported: Your ocaml version is too old! And if you run the command: $ ocamlc -vmthread You get the following message: The -vmthread argument of ocamlc is no longer supported since OCaml 4.09.0. Please switch to system threads, which have the same API. Lightweight threads with VM-level scheduling are provided by third-party libraries such as Lwt, but with a different API. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b84e7cc0f017d4c72cef9ad9b5157dca7ee679da commit b84e7cc0f017d4c72cef9ad9b5157dca7ee679da Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2020-02-09 22:14:52 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2020-02-09 22:16:48 +0000 dev-ml/ppx_tools: bumped to 5.3.4.08.0 + eapi7 Bug: https://bugs.gentoo.org/708696 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-ml/ppx_tools/Manifest | 1 + dev-ml/ppx_tools/ppx_tools-5.3.4.08.0.ebuild | 29 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11354812d60bb7d3b189884f4ca9b1d41652e56c commit 11354812d60bb7d3b189884f4ca9b1d41652e56c Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2020-02-09 22:25:33 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2020-02-09 22:25:33 +0000 dev-ml/camlp4: restricted ocaml versions in deps Bug: https://bugs.gentoo.org/708696 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-ml/camlp4/camlp4-4.04_p1.ebuild | 4 ++-- dev-ml/camlp4/camlp4-4.05_p1.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) arm stable x86 stable ia64 stable ppc64 stable ppc stable hppa stable arm64 stable This also breaks stable dev-ml/camomile-0.8.5-r1: ocamlc.opt -c -noassert -I internal -I public -I toolslib -I . internal/bitsvect.ml File "internal/bitsvect.ml", line 74, characters 2-24: 74 | v.[i0] <- Char.chr c0'; ^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.set Use Bytes.set instead. File "internal/bitsvect.ml", line 74, characters 2-3: 74 | v.[i0] <- Char.chr c0'; ^ Error: This expression has type string but an expression was expected of type bytes make: *** [Makefile:451: internal/bitsvect.cmo] Error 2 * ERROR: dev-ml/camomile-0.8.5-r1::gentoo failed (compile phase): Note that camomile 0.8.5 is pretty old - 2013 - but the latest release, 1.0.2 from 2019-08-08, also has an open bug wrt ocaml-4.09.0: https://github.com/yoriyuki/Camomile/issues/83 See also bug #704102, in which someone is working on camomile updates in an overlay. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74cf47dd94181c32254ce87aa89de3e360db6922 commit 74cf47dd94181c32254ce87aa89de3e360db6922 Author: Hank Leininger <hlein@korelogic.com> AuthorDate: 2020-08-02 22:21:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-08-14 23:23:32 +0000 dev-ml/camomile: ocaml-4.09 compat fixes Existing ebuild will not build with ocaml-4.09, only with older versions that have an outstanding GLSA (202007-48). ocaml-4.09 is being stabilized now. This commit just uses the existing workaround/fix in b.g.o and updates the ebuild to EAPI=7. Note that EAPI7 required modifying an existing patch so it will apply with -p1; should still work with the old ebuild that uses epatch. Updated to address feedback in https://github.com/gentoo/gentoo/pull/16964 Signed-off-by: Hank Leininger <hlein@korelogic.com> Closes: https://bugs.gentoo.org/704102 Bug: https://bugs.gentoo.org/708696 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Closes: https://github.com/gentoo/gentoo/pull/16964 Signed-off-by: Sam James <sam@gentoo.org> dev-ml/camomile/camomile-0.8.5-r2.ebuild | 47 +++++++++++++++++++++++++ dev-ml/camomile/files/ocaml-unsafe-string.patch | 13 +++++++ dev-ml/camomile/files/ocaml405.patch | 12 +++---- 3 files changed, 66 insertions(+), 6 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bfdfabacefb21ca771607bc84b295389b4468cf commit 3bfdfabacefb21ca771607bc84b295389b4468cf Author: Hank Leininger <hlein@korelogic.com> AuthorDate: 2020-08-02 22:11:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-08-14 23:23:32 +0000 dev-ml/ocaml-gettext: ocaml-4.09 compat fixes Existing ebuild will not build with ocaml-4.09, only with older versions that have an outstanding GLSA (202007-48). ocaml-4.09 is being stabilized now. This commit just uses the existing workaround/fix in b.g.o and updates the ebuild to EAPI=7. Updated to address feedback in https://github.com/gentoo/gentoo/pull/16964 Signed-off-by: Hank Leininger <hlein@korelogic.com> Closes: https://bugs.gentoo.org/731302 Bug: https://bugs.gentoo.org/708696 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Sam James <sam@gentoo.org> .../ocaml-gettext/files/ocaml-unsafe-string.patch | 17 +++++++ dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r1.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 76 insertions(+) dropped ocamls keywords on sparc Lat arch. Closing. |