[
https://issues.apache.org/jira/browse/THRIFT-4517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399067#comment-16399067
]
James E. King, III commented on THRIFT-4517:
--------------------------------------------
Looks like pulling opam 1.2.2 from github resolves the issue, so I will fix it
that way.
> ocaml 4.02.3-5ubuntu2 released March 7 2018 for xenial fails opam init with
> stack overflow
> ------------------------------------------------------------------------------------------
>
> Key: THRIFT-4517
> URL: https://issues.apache.org/jira/browse/THRIFT-4517
> Project: Thrift
> Issue Type: Bug
> Components: OCaml - Library
> Affects Versions: 0.11.0
> Environment: ubuntu-xenial
> Reporter: James E. King, III
> Assignee: James E. King, III
> Priority: Major
>
> It looks like an ocaml upstream update has broken ocaml on ubuntu xenial.
> If one removes /root/.opam in the docker image and then try {{opam init -y
> }} it will fail:
> {noformat}
> root@71d34b027269:/thrift/src# opam init -y
> [WARNING] Running as root is not recommended
> Checking for available remotes: git, mercurial.
> - you won't be able to use rsync and local repositories unless you install
> the rsync command on your system.
> - you won't be able to use darcs repositories unless you install the darcs
> command on your system.
> [WARNING] Recommended external solver aspcud not found.
> =-=- Fetching repository information
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> [default] synchronized from https://opam.ocaml.org
> [ERROR] Initialisation failed
> Stack overflow
> Fatal error:
> Stack overflow{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)