{"action":"opened","issue":{"url":"https://api.github.com/repos/klee/klee/issues/303","labels_url":"https://api.github.com/repos/klee/klee/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/klee/klee/issues/303/comments","events_url":"https://api.github.com/repos/klee/klee/issues/303/events","html_url":"https://github.com/klee/klee/issues/303","id":118346199,"number":303,"title":"Building Klee from git - selinux issues","user":{"login":"0x64616E69656C","id":7055311,"avatar_url":"https://avatars.githubusercontent.com/u/7055311?v=3","gravatar_id":"","url":"https://api.github.com/users/0x64616E69656C","html_url":"https://github.com/0x64616E69656C","followers_url":"https://api.github.com/users/0x64616E69656C/followers","following_url":"https://api.github.com/users/0x64616E69656C/following{/other_user}","gists_url":"https://api.github.com/users/0x64616E69656C/gists{/gist_id}","starred_url":"https://api.github.com/users/0x64616E69656C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x64616E69656C/subscriptions","organizations_url":"https://api.github.com/users/0x64616E69656C/orgs","repos_url":"https://api.github.com/users/0x64616E69656C/repos","events_url":"https://api.github.com/users/0x64616E69656C/events{/privacy}","received_events_url":"https://api.github.com/users/0x64616E69656C/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-23T09:38:44Z","updated_at":"2015-11-23T09:38:44Z","closed_at":null,"body":"Hi,\r\n\r\nFYI, on debian testing, after hitting #289 (PR #290 did not fix this, I had to remove fstack-protector-strong from /usr/lib/llvm-3.4/build/Makefile.config), I ran into build errors regarding selinux.c:\r\n\r\n```\r\nllvm[2]: Compiling selinux.c for Release+Asserts build (bytecode)\r\nselinux.c:42:5: error: conflicting types for 'setfscreatecon'\r\nint setfscreatecon(security_context_t context) {\r\n    ^\r\n/usr/include/selinux/selinux.h:72:12: note: previous declaration is here\r\nextern int setfscreatecon(const char * context);\r\n           ^\r\nselinux.c:59:5: error: conflicting types for 'setfilecon'\r\nint setfilecon(const char *path, security_context_t con) {\r\n    ^\r\n/usr/include/selinux/selinux.h:109:12: note: previous declaration is here\r\nextern int setfilecon(const char *path, const char * con);\r\n           ^\r\nselinux.c:67:5: error: conflicting types for 'lsetfilecon'\r\nint lsetfilecon(const char *path, security_context_t con) {\r\n    ^\r\n/usr/include/selinux/selinux.h:111:12: note: previous declaration is here\r\nextern int lsetfilecon(const char *path, const char * con);\r\n           ^\r\nselinux.c:71:5: error: conflicting types for 'fsetfilecon'\r\nint fsetfilecon(int fd, security_context_t con) {\r\n    ^\r\n/usr/include/selinux/selinux.h:113:12: note: previous declaration is here\r\nextern int fsetfilecon(int fd, const char * con);\r\n           ^\r\n4 errors generated.\r\n```\r\n\r\n```\r\nii  libselinux1:amd64                      2.3-2+b1                     amd64        SELinux runtime shared libraries\r\nii  libselinux1-dev:amd64                  2.3-2+b1                     amd64        SELinux development headers\r\n```\r\n\r\nconfigure options:\r\n\r\n```\r\n./configure --with-stp=/usr/local \\\r\n--with-uclibc=../klee-uclibc \\\r\n--enable-posix-runtime \\\r\n--prefix=/usr/local \\\r\n--with-llvmcc=/usr/bin/clang-3.4 \\\r\n--with-llvmcxx=/usr/bin/clang++-3.4\r\n```\r\n\r\n"}}