Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704304 - dev-ml/dune-1.7.2 : Error (alert deprecated): module Stdlib.Pervasives
Summary: dev-ml/dune-1.7.2 : Error (alert deprecated): module Stdlib.Pervasives
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on: 710374
Blocks:
  Show dependency tree
 
Reported: 2019-12-30 18:28 UTC by Toralf Förster
Modified: 2020-02-21 18:08 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.01 KB, text/plain)
2019-12-30 18:28 UTC, Toralf Förster
Details
dev-ml:dune-1.7.2:20191230-175118.log (dev-ml:dune-1.7.2:20191230-175118.log,52.67 KB, text/plain)
2019-12-30 18:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,133.71 KB, text/plain)
2019-12-30 18:28 UTC, Toralf Förster
Details
environment (environment,21.08 KB, text/plain)
2019-12-30 18:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.29 KB, application/x-bzip)
2019-12-30 18:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,11.02 KB, application/x-bzip)
2019-12-30 18:28 UTC, Toralf Förster
Details
Updated ebuild to fix this issue (dune-2.1.0.ebuild,683 bytes, text/plain)
2019-12-31 20:11 UTC, Ben Chaney
Details

Note You need to log in before you can comment on or make changes to this bug.
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