{"action":"created","issue":{"url":"https://api.github.com/repos/SwissTPH/openmalaria/issues/144","labels_url":"https://api.github.com/repos/SwissTPH/openmalaria/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/SwissTPH/openmalaria/issues/144/comments","events_url":"https://api.github.com/repos/SwissTPH/openmalaria/issues/144/events","html_url":"https://github.com/SwissTPH/openmalaria/issues/144","id":107888298,"number":144,"title":"travis-ci: linux clang compiler builds fail","user":{"login":"tph-thuering","id":9700759,"avatar_url":"https://avatars.githubusercontent.com/u/9700759?v=3","gravatar_id":"","url":"https://api.github.com/users/tph-thuering","html_url":"https://github.com/tph-thuering","followers_url":"https://api.github.com/users/tph-thuering/followers","following_url":"https://api.github.com/users/tph-thuering/following{/other_user}","gists_url":"https://api.github.com/users/tph-thuering/gists{/gist_id}","starred_url":"https://api.github.com/users/tph-thuering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tph-thuering/subscriptions","organizations_url":"https://api.github.com/users/tph-thuering/orgs","repos_url":"https://api.github.com/users/tph-thuering/repos","events_url":"https://api.github.com/users/tph-thuering/events{/privacy}","received_events_url":"https://api.github.com/users/tph-thuering/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SwissTPH/openmalaria/labels/3:%20low","name":"3: low","color":"fef2c0"},{"url":"https://api.github.com/repos/SwissTPH/openmalaria/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/SwissTPH/openmalaria/labels/task","name":"task","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"sgtbigman","id":8128605,"avatar_url":"https://avatars.githubusercontent.com/u/8128605?v=3","gravatar_id":"","url":"https://api.github.com/users/sgtbigman","html_url":"https://github.com/sgtbigman","followers_url":"https://api.github.com/users/sgtbigman/followers","following_url":"https://api.github.com/users/sgtbigman/following{/other_user}","gists_url":"https://api.github.com/users/sgtbigman/gists{/gist_id}","starred_url":"https://api.github.com/users/sgtbigman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgtbigman/subscriptions","organizations_url":"https://api.github.com/users/sgtbigman/orgs","repos_url":"https://api.github.com/users/sgtbigman/repos","events_url":"https://api.github.com/users/sgtbigman/events{/privacy}","received_events_url":"https://api.github.com/users/sgtbigman/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-09-23T10:14:21Z","updated_at":"2015-10-12T16:37:57Z","closed_at":null,"body":"> For example:\r\n> https://travis-ci.org/SwissTPH/openmalaria/builds/80286565\r\nError: https://travis-ci.org/SwissTPH/openmalaria/jobs/80286567#L488\r\n\r\n```\r\nIn file included from /usr/include/xsd/cxx/zc-istream.hxx:215:\r\n\r\n/usr/include/xsd/cxx/zc-istream.txx:35:7: error: use of undeclared identifier\r\n      'setg'\r\n      setg (b, b, e);\r\n      ^\r\n/usr/include/xsd/cxx/zc-istream.txx:17:7: note: in instantiation of member\r\n      function 'xsd::cxx::zc_streambuf<char>::init' requested here\r\n      init ();\r\n      ^\r\n/usr/include/xsd/cxx/zc-istream.txx:64:11: note: in instantiation of member\r\n      function 'xsd::cxx::zc_streambuf<char>::zc_streambuf' requested here\r\n        : buf_ (str)\r\n          ^\r\n/usr/include/xsd/cxx/zc-istream.txx:81:11: note: in instantiation of member\r\n      function 'xsd::cxx::zc_istream_base<char>::zc_istream_base' requested here\r\n        : zc_istream_base<C> (str),\r\n          ^\r\n/usr/include/xsd/cxx/tree/parsing/int.hxx:69:23: note: in instantiation of\r\n      member function 'xsd::cxx::zc_istream<char>::zc_istream' requested here\r\n        zc_istream<C> is (tmp);\r\n                      ^\r\n/usr/include/xsd/cxx/tree/parsing/int.hxx:51:16: note: in instantiation of\r\n      member function 'xsd::cxx::tree::traits<int, char, 0>::create' requested\r\n      here\r\n        return create (xml::transcode<C> (a.getValue ()), 0, f, c);\r\n               ^\r\n/home/travis/build/SwissTPH/openmalaria/build/schema/scenario.cpp:1811:42: note: \r\n      in instantiation of member function 'xsd::cxx::tree::traits<int, char,\r\n      0>::create' requested here\r\n        this->number_.set (NumberTraits::create (i, f, this));\r\n                                         ^\r\n/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/streambuf:489:7: note: \r\n      must qualify identifier to find this declaration in dependent base class\r\n      setg(char_type* __gbeg, char_type* __gnext, char_type* __gend)\r\n      ^\r\n1 error generated.\r\nmake[2]: *** [schema/CMakeFiles/schema.dir/scenario.cpp.o] Error 1\r\n```\r\n\r\nI suppose a header file needs to be included. Although OS X clang builds work and gcc on both systems too (although OS X links gcc symbolically by default to clang). \r\n\r\nI think it must have something to do with openmalaria's dependencies, scope or the xsd version we're using on travis-ci.\r\n\r\n@nicolasreed do you like to investigate?"},"comment":{"url":"https://api.github.com/repos/SwissTPH/openmalaria/issues/comments/147455308","html_url":"https://github.com/SwissTPH/openmalaria/issues/144#issuecomment-147455308","issue_url":"https://api.github.com/repos/SwissTPH/openmalaria/issues/144","id":147455308,"user":{"login":"tph-thuering","id":9700759,"avatar_url":"https://avatars.githubusercontent.com/u/9700759?v=3","gravatar_id":"","url":"https://api.github.com/users/tph-thuering","html_url":"https://github.com/tph-thuering","followers_url":"https://api.github.com/users/tph-thuering/followers","following_url":"https://api.github.com/users/tph-thuering/following{/other_user}","gists_url":"https://api.github.com/users/tph-thuering/gists{/gist_id}","starred_url":"https://api.github.com/users/tph-thuering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tph-thuering/subscriptions","organizations_url":"https://api.github.com/users/tph-thuering/orgs","repos_url":"https://api.github.com/users/tph-thuering/repos","events_url":"https://api.github.com/users/tph-thuering/events{/privacy}","received_events_url":"https://api.github.com/users/tph-thuering/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T16:37:57Z","updated_at":"2015-10-12T16:37:57Z","body":"This doc would come in handy: http://docs.travis-ci.com/user/migrating-from-legacy/#Adding-APT-Sources but I don't know yet which to add."}}