Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510468 - app-vim/youcompleteme-99999999 - src_prepare(): sed: can't read cpp/ycm/CMakeLists.txt: No such file or directory
Summary: app-vim/youcompleteme-99999999 - src_prepare(): sed: can't read cpp/ycm/CMake...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL: https://github.com/Valloric/YouComple...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-16 07:57 UTC by headcrabextra
Modified: 2014-06-10 19:54 UTC (History)
1 user (show)

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


Attachments
build log (build.log,516.65 KB, text/plain)
2014-05-16 07:58 UTC, headcrabextra
Details
Patch for 99999999 ebuild (patch,1.35 KB, patch)
2014-06-06 10:35 UTC, Maxim Koltsov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description headcrabextra 2014-05-16 07:57:59 UTC
Looks like it's caused by this commit https://github.com/Valloric/YouCompleteMe/commit/eda368eb350737f67283485a68cfee8f9f03adb9

The build log is attached
Comment 1 headcrabextra 2014-05-16 07:58:13 UTC
Created attachment 377054 [details]
build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-16 13:32:47 UTC
I get this instead:

>>> Source unpacked in /home/jer/portage/app-vim/youcompleteme-99999999/work
>>> Preparing source in /home/jer/portage/app-vim/youcompleteme-99999999/work/youcompleteme-99999999 ...
/bin/sed: -e expression #1, char 19: unterminated address regex
 * ERROR: app-vim/youcompleteme-99999999::gentoo failed (prepare phase):
 *   (no error message)
Comment 3 Maxim Koltsov (RETIRED) gentoo-dev 2014-06-06 10:34:52 UTC
I wrote a simple patch for the ebuild so that it compiles and merges. Tim, commit it if you like.
I also want to note, that youcompleteme installes tons of bundled python modules:

pythonfutures
requests
requests-futures
retries
argparse
bottle
frozendict
jedi
OmniSharpServer
waitress

Some of them are not even packaged in Gentoo. I will try to look into this issue soon, looks like it's possible to unbundle it.
Comment 4 Maxim Koltsov (RETIRED) gentoo-dev 2014-06-06 10:35:47 UTC
Created attachment 378374 [details, diff]
Patch for 99999999 ebuild
Comment 5 Maxim Koltsov (RETIRED) gentoo-dev 2014-06-10 19:54:48 UTC
Ok, I've unbundled boost and gmock, patches are accepted upstream. Modified ebuild is commited to the tree, please check and report.