{"action":"opened","issue":{"url":"https://api.github.com/repos/ocaml/ocaml.org/issues/803","repository_url":"https://api.github.com/repos/ocaml/ocaml.org","labels_url":"https://api.github.com/repos/ocaml/ocaml.org/issues/803/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/ocaml.org/issues/803/comments","events_url":"https://api.github.com/repos/ocaml/ocaml.org/issues/803/events","html_url":"https://github.com/ocaml/ocaml.org/issues/803","id":167651917,"number":803,"title":"Cannot build the website: CalendarLib/Syndic issue?","user":{"login":"gasche","id":426238,"avatar_url":"https://avatars.githubusercontent.com/u/426238?v=3","gravatar_id":"","url":"https://api.github.com/users/gasche","html_url":"https://github.com/gasche","followers_url":"https://api.github.com/users/gasche/followers","following_url":"https://api.github.com/users/gasche/following{/other_user}","gists_url":"https://api.github.com/users/gasche/gists{/gist_id}","starred_url":"https://api.github.com/users/gasche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gasche/subscriptions","organizations_url":"https://api.github.com/users/gasche/orgs","repos_url":"https://api.github.com/users/gasche/repos","events_url":"https://api.github.com/users/gasche/events{/privacy}","received_events_url":"https://api.github.com/users/gasche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-26T16:27:06Z","updated_at":"2016-07-26T16:27:06Z","closed_at":null,"body":"I'm trying to build the website.\r\n\r\n(Do we really require ocaml 4.01.0, as enforced by the `opam` file? Is there an issue discussing what would be required to more recent OCaml versions?)\r\n\r\nAfter a bit of debugging of the opam-repository dependencies, I got to this error\r\n\r\n```\r\nmake staging SET_STAGING='-set staging'\r\nmake[1]: Entering directory '/home/gasche/Prog/ocaml/ocaml.org'\r\ncd script && \\\r\nocamlfind ocamlopt -annot -g -package netstring,nettls-gnutls,netclient,syndic \\\r\n  -linkpkg utils.cmx http.ml rss2html.ml -o ../\"script/rss2html\"\r\nFile \"rss2html.ml\", line 126, characters 33-57:\r\nError: Unbound module CalendarLib\r\nMakefile.common:58: recipe for target 'script/rss2html' failed\r\n```\r\n\r\nIf I apply the following diff\r\n\r\n```diff\r\ndiff --git a/Makefile.common b/Makefile.common\r\nindex b333752..a10cc63 100644\r\n--- a/Makefile.common\r\n+++ b/Makefile.common\r\n@@ -56,7 +56,7 @@ script/breadcrumb: script/breadcrumb.ml $(UTILS_DEP)\r\n \r\n script/rss2html: script/rss2html.ml script/http.ml $(UTILS_DEP)\r\n        cd script && \\\r\n-       $(OCAMLOPT) -package netstring,nettls-gnutls,netclient,syndic \\\r\n+       $(OCAMLOPT) -package netstring,nettls-gnutls,netclient,syndic,calendar \\\r\n          -linkpkg utils.cmx http.ml rss2html.ml -o ../\"$@\"\r\n \r\n script/ocamltohtml:script/lexer.ml script/ocamltohtml.ml\r\ndiff --git a/opam b/opam\r\nindex a496d1a..829b3a8 100644\r\n--- a/opam\r\n+++ b/opam\r\n@@ -19,6 +19,7 @@ depends: [\r\n   \"ocamlnet\" {>= \"4.0.1\"}\r\n   \"conf-gnutls\"\r\n   \"mpp\" {>= \"0.1.2\"}\r\n+  \"calendar\"\r\n   \"ocamlrss\"\r\n   \"uri\" {>= \"1.3.11\"}\r\n   \"syndic\" {>= \"1.4\"}\r\n```\r\n\r\nthen I get `calendar 2.03.2` and the following build error:\r\n\r\n```\r\ncd script && \\\r\nocamlfind ocamlopt -annot -g -package netstring,nettls-gnutls,netclient,syndic,calendar \\\r\n  -linkpkg utils.cmx http.ml rss2html.ml -o ../\"script/rss2html\"\r\nFile \"rss2html.ml\", line 126, characters 32-60:\r\nError: This expression has type CalendarLib.Calendar.t\r\n       but an expression was expected of type Syndic.Atom.updated = Ptime.t\r\n```"}}
{"actor":{"display_login":"gasche"}}