{"action":"opened","issue":{"url":"https://api.github.com/repos/ocaml/opam-repository/issues/13008","repository_url":"https://api.github.com/repos/ocaml/opam-repository","labels_url":"https://api.github.com/repos/ocaml/opam-repository/issues/13008/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/opam-repository/issues/13008/comments","events_url":"https://api.github.com/repos/ocaml/opam-repository/issues/13008/events","html_url":"https://github.com/ocaml/opam-repository/issues/13008","id":381998762,"node_id":"MDU6SXNzdWUzODE5OTg3NjI=","number":13008,"title":"ocamlfind 1.8.0 fails on macOS","user":{"login":"nkaretnikov","id":10469885,"node_id":"MDQ6VXNlcjEwNDY5ODg1","avatar_url":"https://avatars2.githubusercontent.com/u/10469885?v=4","gravatar_id":"","url":"https://api.github.com/users/nkaretnikov","html_url":"https://github.com/nkaretnikov","followers_url":"https://api.github.com/users/nkaretnikov/followers","following_url":"https://api.github.com/users/nkaretnikov/following{/other_user}","gists_url":"https://api.github.com/users/nkaretnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/nkaretnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkaretnikov/subscriptions","organizations_url":"https://api.github.com/users/nkaretnikov/orgs","repos_url":"https://api.github.com/users/nkaretnikov/repos","events_url":"https://api.github.com/users/nkaretnikov/events{/privacy}","received_events_url":"https://api.github.com/users/nkaretnikov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-18T20:49:21Z","updated_at":"2018-11-18T20:49:21Z","closed_at":null,"author_association":"NONE","body":"macOS 10.14, ocaml and opam installed via brew. Could be a user error since it's the second time I use ocaml.\r\n\r\nThese commands succeeded:\r\n```\r\n% brew install ocaml opam\r\n% opam install menhir core\r\n```\r\n\r\nThen tried to install ocamlfind:\r\n```\r\n% opam install ocamlfind\r\nThe following actions will be performed:\r\n  ∗ install ocamlfind 1.8.0\r\n\r\n<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫 \r\n[ocamlfind.1.8.0] found in cache\r\n\r\n<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫 \r\n[ERROR] The compilation of ocamlfind failed at \"/Users/nikita/.opam/opam-init/hooks/sandbox.sh build make opt\".\r\n\r\n#=== ERROR while compiling ocamlfind.1.8.0 ====================================#\r\n# context     2.0.1 | macos/x86_64 | ocaml-system.4.07.0 | https://opam.ocaml.org#7f6dd222\r\n# path        ~/.opam/default/.opam-switch/build/ocamlfind.1.8.0\r\n# command     ~/.opam/opam-init/hooks/sandbox.sh build make opt\r\n# exit-code   2\r\n# env-file    ~/.opam/log/ocamlfind-17295-c61e7b.env\r\n# output-file ~/.opam/log/ocamlfind-17295-c61e7b.out\r\n### output ###\r\n# Undefined symbols for architecture x86_64:\r\n# [...]\r\n#       _caml_program in camlstartupa48c1c.o\r\n#   \"_camlFl_topo__frametable\", referenced from:\r\n#       _caml_frametable in camlstartupa48c1c.o\r\n#   \"_camlFl_topo__gc_roots\", referenced from:\r\n#       _caml_globals in camlstartupa48c1c.o\r\n# ld: symbol(s) not found for architecture x86_64\r\n# clang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n# File \"caml_startup\", line 1:\r\n# Error: Error during linking\r\n# make[1]: *** [ocamlfind_opt] Error 2\r\n# make: *** [opt] Error 2\r\n\r\n\r\n\r\n<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫 \r\n┌─ The following actions failed\r\n│ λ build ocamlfind 1.8.0\r\n└─ \r\n╶─ No changes have been performed\r\n```\r\n\r\n```\r\n% opam config report\r\n# opam config report\r\n# opam-version      2.0.1 \r\n# self-upgrade      no\r\n# system            arch=x86_64 os=macos os-distribution=homebrew os-version=10.14\r\n# solver            builtin-mccs+glpk\r\n# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed\r\n# upgrade-criteria  -removed,-count[version-lag,solution],-new\r\n# jobs              3\r\n# repositories      1 (http) (default repo at 7f6dd222)\r\n# pinned            0\r\n# current-switch    default\r\n```"}}
{"actor":{"display_login":"nkaretnikov"}}