The ebuild in portage tree was like three years ago. The live version of youcompleteme now supports python 3.*, and has a number of structural changes that renders the old ebuild obsolete. I updated the ebuild to fit modern version of youcompleteme, at https://github.com/ahyangyi/ahyangyi-overlay/blob/master/app-vim/youcompleteme/youcompleteme-99999999.ebuild . It's not a completely rewrite, but merely an update/fix to the existing one. Thanks!
thank you.
Will that work with most recent commits? Because I hit https://github.com/Valloric/ycmd/issues/561 - USE_PYTHON2=OFF asks for python3 boost-module which does not work in Gentoo due to changes of pythonid. I am really thinking about switching to a system-YCM as it broke several times in the past and patching just once in portage is way easier than doing this in several installations (or maintaining a fork...). If there is help needed I could try to work on this.
I also met some problem that the ycm CMakefile failed to find boost_python3 while I actually installed that. That's probably the same issue you encountered. So I'm afraid this ebuild is broken again. It seems that chasing the upstream in -9999999 ebuild should be half of the solution, the other half being we archive some upstream snapshots so we can have some stable builds. Not every new commit is worthy in its own.
Here's a variant that sticks with Python2 while fixing a problem with recent dev-python/bottle versions (bonus snapshot ebuild for those who want something stable instead of chasing git changes): https://github.com/stefantalpalaru/gentoo-overlay/tree/master/app-vim/youcompleteme I also drastically reduced the number of fetched git submodules and installed files. There's probably room for some more clean-up.
Created attachment 486780 [details] app-vim/youcompleteme Updated ebuild for YCM.
(In reply to Stefan Talpalaru from comment #4) > Here's a variant that sticks with Python2 while fixing a problem with recent > dev-python/bottle versions (bonus snapshot ebuild for those who want > something stable instead of chasing git changes): > > https://github.com/stefantalpalaru/gentoo-overlay/tree/master/app-vim/ > youcompleteme > > I also drastically reduced the number of fetched git submodules and > installed files. There's probably room for some more clean-up. I updated ebuild for YouCompleteMe and add support for Rust language.
Thank you. I updated the ebuilds from my overlay with your changes.
Created attachment 487760 [details] app-vim/youcompleteme With dirty hack I could build ycmd with python3.4 but I wonder how it will work if there are more that one python versions.
The package was removed.