{"action":"opened","issue":{"url":"https://api.github.com/repos/whitequark/opam-cross-windows/issues/1","repository_url":"https://api.github.com/repos/whitequark/opam-cross-windows","labels_url":"https://api.github.com/repos/whitequark/opam-cross-windows/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/whitequark/opam-cross-windows/issues/1/comments","events_url":"https://api.github.com/repos/whitequark/opam-cross-windows/issues/1/events","html_url":"https://github.com/whitequark/opam-cross-windows/issues/1","id":141622306,"number":1,"title":"dangling symbolic links","user":{"login":"chaudhuri","id":573928,"avatar_url":"https://avatars.githubusercontent.com/u/573928?v=3","gravatar_id":"","url":"https://api.github.com/users/chaudhuri","html_url":"https://github.com/chaudhuri","followers_url":"https://api.github.com/users/chaudhuri/followers","following_url":"https://api.github.com/users/chaudhuri/following{/other_user}","gists_url":"https://api.github.com/users/chaudhuri/gists{/gist_id}","starred_url":"https://api.github.com/users/chaudhuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaudhuri/subscriptions","organizations_url":"https://api.github.com/users/chaudhuri/orgs","repos_url":"https://api.github.com/users/chaudhuri/repos","events_url":"https://api.github.com/users/chaudhuri/events{/privacy}","received_events_url":"https://api.github.com/users/chaudhuri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-17T15:45:23Z","updated_at":"2016-03-17T15:45:23Z","closed_at":null,"body":"There are symbolic links in `~/.opam/packages/ocaml-windows64/ocaml-windows64.4.02.3/files` that point to `../../ocaml-windows32.4.02.3/files`. However, `ocaml-windows32` need not be installed on an amd64 host/windows64 target, which is the default selected by `opam install ocaml-windows` (as recommended in the `README.md`).\r\n\r\nBecause of these dangling symbolic links, `opam update` stops working with the following error message:\r\n\r\n>     % opam update\r\n>     \r\n>     =-=- Updating package repositories =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r\n>     [windows] git://github.com/whitequark/opam-cross-windows already up-to-date\r\n>     [default] /home/kaustuv/hacking/opam-repository synchronized\r\n>     Fatal error:\r\n>     Sys_error(\"/home/kaustuv/.opam/packages/ocaml-windows64/ocaml-windows64.4.02.3/files/windows.conf.in: No such file or directory\")\r\n\r\nIn case it is relevant:\r\n\r\n>     $ opam --version\r\n>     1.2.2\r\n>     $ ocamlc -vnum\r\n>     4.02.3\r\n>     $ uname -a\r\n>     Linux wash3 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) x86_64 GNU/Linux"}}