Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 794889

Summary: dev-ml/parmap-1.2.1 - Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED FIXED    
Severity: normal CC: amedeo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 795138    
Attachments: emerge-info.txt
dev-ml:parmap-1.2.1:20210608-075807.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-06-08 10:00:43 UTC
105 | let redirect ?(path = (Printf.sprintf "/tmp/.parmap.%d" (Unix.getpid ()))) ~id =
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.
 * ERROR: dev-ml/parmap-1.2.1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:

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

  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/parmap
[ebuild   R   ] dev-ml/parmap-1.2.1  USE="ocamlopt"
Comment 1 Toralf Förster gentoo-dev 2021-06-08 10:00:44 UTC
Created attachment 714507 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-08 10:00:45 UTC
Created attachment 714510 [details]
dev-ml:parmap-1.2.1:20210608-075807.log
Comment 3 Toralf Förster gentoo-dev 2021-06-08 10:00:47 UTC
Created attachment 714513 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-06-08 10:00:48 UTC
Created attachment 714516 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-06-08 10:00:49 UTC
Created attachment 714519 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-08 10:00:50 UTC
Created attachment 714522 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-10-01 16:25:49 UTC
The bug has been closed via the following commit(s):

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

commit 4c9fd4515fd66fb424215d5db5dbaf6f03001c8d
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2021-10-01 16:25:31 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2021-10-01 16:25:31 +0000

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

 dev-ml/parmap/parmap-1.2.1.ebuild | 4 ++++
 dev-ml/parmap/parmap-1.2.3.ebuild | 4 ++++
 2 files changed, 8 insertions(+)