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

Bug 704304

Summary: dev-ml/dune-1.7.2 : Error (alert deprecated): module Stdlib.Pervasives
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Tupone Alfredo <tupone>
Status: RESOLVED FIXED    
Severity: normal CC: chaneybenjamini, ua_gentoo_bugzilla, zhuyifei1999
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 710374    
Bug Blocks:    
Attachments: emerge-info.txt
dev-ml:dune-1.7.2:20191230-175118.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
Updated ebuild to fix this issue

Description Toralf Förster gentoo-dev 2019-12-30 18:28:09 UTC
6 |   open Pervasives
           ^^^^^^^^^^
Error (alert deprecated): module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20191227-172117

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 30 Dec 2019 16:25:48 +0000

emerge -qpvO dev-ml/dune
[ebuild  N    ] dev-ml/dune-1.7.2  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2019-12-30 18:28:12 UTC
Created attachment 601912 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-30 18:28:15 UTC
Created attachment 601914 [details]
dev-ml:dune-1.7.2:20191230-175118.log
Comment 3 Toralf Förster gentoo-dev 2019-12-30 18:28:18 UTC
Created attachment 601916 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-12-30 18:28:21 UTC
Created attachment 601918 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-12-30 18:28:24 UTC
Created attachment 601920 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-30 18:28:27 UTC
Created attachment 601922 [details]
temp.tbz2
Comment 7 Ben Chaney 2019-12-31 20:11:36 UTC
Created attachment 602130 [details]
Updated ebuild to fix this issue

The root cause of this issue seems to be that dune-1.7.2 is quite old, and is not longer compatible with current versions of ocaml. This ebuild is updated for version 2.1.0 of dune (the most recent version). It successfully compiles and installs on my machine. Adding it to the repository should resolve this issue.
Comment 8 Tupone Alfredo gentoo-dev 2020-01-17 22:09:51 UTC
I bumped to 2.1.0 where the bug is fixed.
Need to stable it to remove old and close this