Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586776 - app-vim/youcompleteme-99999999 ebuild update
Summary: app-vim/youcompleteme-99999999 ebuild update
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords: EBUILD, PMASKED
Depends on:
Blocks:
 
Reported: 2016-06-23 06:44 UTC by Yi Yang
Modified: 2020-02-25 10:07 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-vim/youcompleteme (youcompleteme-99999999-r1.ebuild,3.76 KB, text/plain)
2017-07-24 21:19 UTC, Oleg
Details
app-vim/youcompleteme (youcompleteme-99999999-r1.ebuild,4.37 KB, text/plain)
2017-08-02 20:21 UTC, Oleg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Yang 2016-06-23 06:44:49 UTC
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!
Comment 1 Jonas Stein gentoo-dev 2016-06-23 12:01:49 UTC
thank you.
Comment 2 Franz Trischberger 2016-08-04 06:23:01 UTC
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.
Comment 3 Yi Yang 2016-08-29 03:57:29 UTC
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.
Comment 4 Ștefan Talpalaru 2017-02-02 20:42:53 UTC
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.
Comment 5 Oleg 2017-07-24 21:19:53 UTC
Created attachment 486780 [details]
app-vim/youcompleteme

Updated ebuild for YCM.
Comment 6 Oleg 2017-07-24 21:21:26 UTC
(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.
Comment 7 Ștefan Talpalaru 2017-07-24 23:48:46 UTC
Thank you. I updated the ebuilds from my overlay with your changes.
Comment 8 Oleg 2017-08-02 20:21:54 UTC
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.
Comment 9 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-02-25 10:07:57 UTC
The package was removed.