{"action":"created","issue":{"url":"https://api.github.com/repos/Andersbakken/rtags/issues/498","labels_url":"https://api.github.com/repos/Andersbakken/rtags/issues/498/labels{/name}","comments_url":"https://api.github.com/repos/Andersbakken/rtags/issues/498/comments","events_url":"https://api.github.com/repos/Andersbakken/rtags/issues/498/events","html_url":"https://github.com/Andersbakken/rtags/issues/498","id":114302153,"number":498,"title":"cl-lib error when building on OS X 10.11","user":{"login":"joeroback","id":156174,"avatar_url":"https://avatars.githubusercontent.com/u/156174?v=3","gravatar_id":"","url":"https://api.github.com/users/joeroback","html_url":"https://github.com/joeroback","followers_url":"https://api.github.com/users/joeroback/followers","following_url":"https://api.github.com/users/joeroback/following{/other_user}","gists_url":"https://api.github.com/users/joeroback/gists{/gist_id}","starred_url":"https://api.github.com/users/joeroback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeroback/subscriptions","organizations_url":"https://api.github.com/users/joeroback/orgs","repos_url":"https://api.github.com/users/joeroback/repos","events_url":"https://api.github.com/users/joeroback/events{/privacy}","received_events_url":"https://api.github.com/users/joeroback/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-10-30T16:17:32Z","updated_at":"2015-11-02T17:33:20Z","closed_at":"2015-10-30T19:19:11Z","body":"I don't use emacs, I use vim. I've been compiling and updating rtags for months. Recently something in the build changed related to cl-lib. Not sure what that is exactly. Not sure how to tell the build system to not build the emacs bytecode either..\r\n\r\n```\r\ngit clone --recurse-submodules https://github.com/Andersbakken/rtags.git\r\ncd rtags\r\nmkdir build\r\ncd build\r\n\r\nexport CXXFLAGS='-march=native -O2 -g'\r\nexport LLVM_CONFIG=llvm-config-mp-3.6\r\nexport CC=/opt/local/bin/clang-mp-3.6\r\nexport CXX=/opt/local/bin/clang++-mp-3.6\r\nexport CXXFLAGS='-march=native -O2 -g'\r\nexport LLVM_CONFIG=/opt/local/bin/llvm-config-mp-3.6\r\n\r\ncmake -G Ninja ..\r\nninja\r\n```\r\n\r\nResults in\r\n\r\n```\r\n...\r\n-- \r\n-- The following OPTIONAL packages have been found:\r\n\r\n * ZLIB\r\n * OpenSSL\r\n\r\n-- The following REQUIRED packages have been found:\r\n\r\n * LibClang\r\n * Curses\r\n\r\n-- Configuring done\r\n-- Generating done\r\nCMake Warning (dev):\r\n  Policy CMP0058 is not set: Ninja requires custom command byproducts to be\r\n  explicit.  Run \"cmake --help-policy CMP0058\" for policy details.  Use the\r\n  cmake_policy command to set the policy and suppress this warning.\r\n\r\n  This project specifies custom command DEPENDS on files in the build tree\r\n  that are not specified as the OUTPUT or BYPRODUCTS of any\r\n  add_custom_command or add_custom_target:\r\n\r\n   src/company-rtags.el\r\n   src/rtags-ac.el\r\n   src/rtags.el\r\n\r\n  For compatibility with versions of CMake that did not have the BYPRODUCTS\r\n  option, CMake is generating phony rules for such files to convince 'ninja'\r\n  to build.\r\n\r\n  Project authors should add the missing BYPRODUCTS or OUTPUT options to the\r\n  custom commands that produce these files.\r\nThis warning is for project developers.  Use -Wno-dev to suppress it.\r\n\r\n-- Build files have been written to: /Users/jroback/Downloads/src/rtags/build\r\n[63/9/1] Creating byte-compiled Emacs lisp /Users/jroback/Downloads/src/rtags/build/src/rtags.elc\r\nFAILED: cd /Users/jroback/Downloads/src/rtags/build/src && /usr/bin/emacs -batch -l /Users/jroback/Downloads/src/rtags/src/compile-shim.el -l /Users/jroback/Downloads/src/rtags/src/rtags.el -f batch-byte-compile /Users/jroback/Downloads/src/rtags/build/src/rtags.el\r\nCannot open load file: cl-lib\r\n[63/8/2] Creating byte-compiled Emacs lisp /Users/jroback/Downloads/src/rtags/build/src/company-rtags.elc\r\nFAILED: cd /Users/jroback/Downloads/src/rtags/build/src && /usr/bin/emacs -batch -l /Users/jroback/Downloads/src/rtags/src/compile-shim.el -l /Users/jroback/Downloads/src/rtags/src/rtags.el -f batch-byte-compile /Users/jroback/Downloads/src/rtags/build/src/company-rtags.el\r\nCannot open load file: cl-lib\r\n[63/7/3] Creating byte-compiled Emacs lisp /Users/jroback/Downloads/src/rtags/build/src/rtags-ac.elc\r\nFAILED: cd /Users/jroback/Downloads/src/rtags/build/src && /usr/bin/emacs -batch -l /Users/jroback/Downloads/src/rtags/src/compile-shim.el -l /Users/jroback/Downloads/src/rtags/src/rtags.el -f batch-byte-compile /Users/jroback/Downloads/src/rtags/build/src/rtags-ac.el\r\nCannot open load file: cl-lib\r\n[63/0/10] Building CXX object src/CMakeFiles/rtags.dir/RTags.cpp.o\r\nninja: build stopped: subcommand failed.\r\n```"},"comment":{"url":"https://api.github.com/repos/Andersbakken/rtags/issues/comments/153094267","html_url":"https://github.com/Andersbakken/rtags/issues/498#issuecomment-153094267","issue_url":"https://api.github.com/repos/Andersbakken/rtags/issues/498","id":153094267,"user":{"login":"joeroback","id":156174,"avatar_url":"https://avatars.githubusercontent.com/u/156174?v=3","gravatar_id":"","url":"https://api.github.com/users/joeroback","html_url":"https://github.com/joeroback","followers_url":"https://api.github.com/users/joeroback/followers","following_url":"https://api.github.com/users/joeroback/following{/other_user}","gists_url":"https://api.github.com/users/joeroback/gists{/gist_id}","starred_url":"https://api.github.com/users/joeroback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeroback/subscriptions","organizations_url":"https://api.github.com/users/joeroback/orgs","repos_url":"https://api.github.com/users/joeroback/repos","events_url":"https://api.github.com/users/joeroback/events{/privacy}","received_events_url":"https://api.github.com/users/joeroback/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T17:33:20Z","updated_at":"2015-11-02T17:33:20Z","body":"Tried today without RTAGS_NO_ELISP_BYTECOMPILE (as the emacs that ships with 10.11 is 22.1.1) and everything worked."}}