| Summary: | app-editors/gvim-7.2.416 does not start, displays "E25: GUI cannot be used: Not enabled at compile time" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andrew Frink <andrew.frink> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | CC: | tom.gl |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Andrew Frink
2010-05-12 19:50:01 UTC
"vim -g" also fails with the same error. Do you still have gvim' build log ? I've seen this too, it's a side effect of the libpng-1.4 update, because Vim has been bumped the same day libpng-1.4 has entered portage. Look at this "qlop -l" output: Mon May 10 21:49:55 2010 >>> media-libs/libpng-1.4.2 Mon May 10 21:50:12 2010 >>> media-libs/libpng-1.2.43-r1 Mon May 10 21:50:29 2010 >>> dev-libs/popt-1.16 Mon May 10 21:51:04 2010 >>> app-editors/vim-core-7.2.416 Mon May 10 21:51:59 2010 >>> app-editors/vim-7.2.416 Mon May 10 21:53:00 2010 >>> app-editors/gvim-7.2.416 Here, gvim has been built while GTK was actually broken. In the emerge log from $PORT_LOGDIR, I see this at configuration time: checking for GTK - version >= 2.2.0... no Then, the next day, I've rebuilt lot of stuffs to handle the libpng14 update. But since gvim was no more linked to GTK, it was not part of the fest. I've only seen the E25 error today, so I've rebuilt gvim, and this time GTK has been detected and now it works. So the workaround is easy: - ensure you've fixed your system for libpng14 (ok, this part may not be that easy) - rebuild gvim If there is a gvim bug, it's its configure script not failing when asked for a GTK build but GTK is not usable. >If there is a gvim bug, it's its configure script not failing when asked for a
GTK build but GTK is not usable.
Looks like this is part of the libpng14 update. I'm running revdep-rebuild right now.
"$ qlop -l
...
Tue May 11 14:29:32 2010 >>> media-libs/libpng-1.4.2
...
Tue May 11 14:52:19 2010 >>> app-editors/gvim-7.2.416"
It would be nice if gvim would fail like mentioned. Or if there had been a news item for this, granted it's only ~arch systems that this would be an issue on(currently).
I will update this bug if "revdep-rebuild && emerge app-editors/gvim" fixes the issue.
"revdep-rebuild && emerge --oneshot vim-core vim gvim" fixed this. Should another bug be filed for it not failing when gtk interface is requested. Probably should be filled upstream. |