Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 794895 - dev-ml/ppx_assert-0.14.0 - Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.
Summary: dev-ml/ppx_assert-0.14.0 - Error (warning 16 [unerasable-optional-argument]):...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ocaml-4.12
  Show dependency tree
 
Reported: 2021-06-08 10:01 UTC by Toralf Förster
Modified: 2021-09-30 17:26 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.71 KB, text/plain)
2021-06-08 10:01 UTC, Toralf Förster
Details
dev-ml:ppx_assert-0.14.0:20210608-081041.log (dev-ml:ppx_assert-0.14.0:20210608-081041.log,2.61 KB, text/plain)
2021-06-08 10:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,302.33 KB, text/plain)
2021-06-08 10:01 UTC, Toralf Förster
Details
environment (environment,21.07 KB, text/plain)
2021-06-08 10:01 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.98 KB, application/x-bzip)
2021-06-08 10:01 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,7.60 KB, application/x-bzip)
2021-06-08 10:01 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-06-08 10:01:41 UTC
74 | let test_result_or_eq ~sexpifier ~comparator ?equal ~expect ~got =
                                                   ^^^^^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.
File "runtime-lib/runtime.ml", line 102, characters 60-65:
102 | let test_result ~pos ~sexpifier ~comparator ~here ?message ?equal ~expect ~got =
                                                                  ^^^^^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j3-20210604-105437

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 7a58cf54cc3009039ce6493315135ced799ee405
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jun 8 07:05:19 2021 +0000

    2021-06-08 07:05:17 UTC

emerge -qpvO dev-ml/ppx_assert
[ebuild   R   ] dev-ml/ppx_assert-0.14.0  USE="ocamlopt"
Comment 1 Toralf Förster gentoo-dev 2021-06-08 10:01:42 UTC
Created attachment 714543 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-08 10:01:43 UTC
Created attachment 714546 [details]
dev-ml:ppx_assert-0.14.0:20210608-081041.log
Comment 3 Toralf Förster gentoo-dev 2021-06-08 10:01:45 UTC
Created attachment 714549 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-06-08 10:01:46 UTC
Created attachment 714552 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-06-08 10:01:47 UTC
Created attachment 714555 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-08 10:01:48 UTC
Created attachment 714558 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-09-30 17:26:14 UTC
The bug has been closed via the following commit(s):

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

commit 520ce0cb598b20c344c4e8698f0c64fffdf8816a
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2021-09-30 17:24:49 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2021-09-30 17:25:46 +0000

    dev-ml/ppx_assert: fix ocaml-4.12
    
    Closes: https://bugs.gentoo.org/794895
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 .../ppx_assert/files/ppx_assert-0.14.0-4.12.patch  | 30 ++++++++++++++++++++++
 dev-ml/ppx_assert/metadata.xml                     |  4 +++
 dev-ml/ppx_assert/ppx_assert-0.14.0.ebuild         |  2 ++
 3 files changed, 36 insertions(+)