{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/opam-repository/issues/12420","repository_url":"https://api.github.com/repos/ocaml/opam-repository","labels_url":"https://api.github.com/repos/ocaml/opam-repository/issues/12420/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/opam-repository/issues/12420/comments","events_url":"https://api.github.com/repos/ocaml/opam-repository/issues/12420/events","html_url":"https://github.com/ocaml/opam-repository/issues/12420","id":346425829,"node_id":"MDU6SXNzdWUzNDY0MjU4Mjk=","number":12420,"title":"opam init fails due to missing packages: base-threads, base-bigarray, base-unix","user":{"login":"Kove-W-O-Salter","id":38335085,"node_id":"MDQ6VXNlcjM4MzM1MDg1","avatar_url":"https://avatars2.githubusercontent.com/u/38335085?v=4","gravatar_id":"","url":"https://api.github.com/users/Kove-W-O-Salter","html_url":"https://github.com/Kove-W-O-Salter","followers_url":"https://api.github.com/users/Kove-W-O-Salter/followers","following_url":"https://api.github.com/users/Kove-W-O-Salter/following{/other_user}","gists_url":"https://api.github.com/users/Kove-W-O-Salter/gists{/gist_id}","starred_url":"https://api.github.com/users/Kove-W-O-Salter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kove-W-O-Salter/subscriptions","organizations_url":"https://api.github.com/users/Kove-W-O-Salter/orgs","repos_url":"https://api.github.com/users/Kove-W-O-Salter/repos","events_url":"https://api.github.com/users/Kove-W-O-Salter/events{/privacy}","received_events_url":"https://api.github.com/users/Kove-W-O-Salter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-01T02:34:54Z","updated_at":"2018-08-01T07:34:29Z","closed_at":null,"author_association":"NONE","body":"# Problem\r\nWhen I run `opam init` on my `Ubuntu` installation, running `bash`, I get this output:\r\n```\r\nChecking for available remotes: rsync and local, git, mercurial, darcs. Perfect!\r\n\r\n=-=- Fetching repository information =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r\n[default] synchronized from https://opam.ocaml.org\r\n[ERROR] Base package base-threads of compiler system not found! Ignored.\r\n[ERROR] Base package base-bigarray of compiler system not found! Ignored.\r\n[ERROR] Base package base-unix of compiler system not found! Ignored.\r\n[ERROR] Inconsistent set of base compiler packages: {} needed but not included\r\n        / { base-bigarray, base-threads, base-unix } extra\r\n[ERROR] Initialisation failed\r\nOpamGlobals.Exit(66)\r\n```\r\n# Version information\r\n* `opam --version`: `1.2.2`.\r\n* `ocaml --version`: `The OCaml toplevel, version 4.05.0`.\r\n* `bash --version`: `GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu) ...`\r\n* `Ubuntu` version: `18.04`.\r\n\r\n# How I installed `opam` and `ocaml`\r\n```\r\nsudo apt-get install opam ocaml jbuilder\r\n```\r\n# Why I'm trying to install `opam` and `ocaml`\r\nSo that I can build and install [grain](https://github.com/grain-lang/grain)\r\n# Additional information\r\nYesterday I installed `ocaml` and `opam` succesfully without having this problem. Today I uninstalled them as I was having trouble building `grain` and I wanted to see if it was a problem with `ocaml`/`opam`. I then downloaded an official binary. It was around this time that I started having this problem. As that didn't work I installed `opam` and `ocaml` as specified in the `How I installed opam and ocaml` section. I'm still experiencing the problem."},"comment":{"url":"https://api.github.com/repos/ocaml/opam-repository/issues/comments/409479411","html_url":"https://github.com/ocaml/opam-repository/issues/12420#issuecomment-409479411","issue_url":"https://api.github.com/repos/ocaml/opam-repository/issues/12420","id":409479411,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTQ3OTQxMQ==","user":{"login":"mseri","id":4040623,"node_id":"MDQ6VXNlcjQwNDA2MjM=","avatar_url":"https://avatars0.githubusercontent.com/u/4040623?v=4","gravatar_id":"","url":"https://api.github.com/users/mseri","html_url":"https://github.com/mseri","followers_url":"https://api.github.com/users/mseri/followers","following_url":"https://api.github.com/users/mseri/following{/other_user}","gists_url":"https://api.github.com/users/mseri/gists{/gist_id}","starred_url":"https://api.github.com/users/mseri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mseri/subscriptions","organizations_url":"https://api.github.com/users/mseri/orgs","repos_url":"https://api.github.com/users/mseri/repos","events_url":"https://api.github.com/users/mseri/events{/privacy}","received_events_url":"https://api.github.com/users/mseri/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T07:34:29Z","updated_at":"2018-08-01T07:34:29Z","author_association":"CONTRIBUTOR","body":"Try doing `opam init git+https://github.com/ocaml/opam-repository`\r\nThis should make sure that opam uses that URL as a git repository"}}
{"actor":{"display_login":"mseri"}}