After upgrade when trying to run gvim I get following error: $ gvim E25: GUI cannot be used: Not enabled at compile time Reproducible: Always
Created attachment 304413 [details] emerge --info =app-editors/gvim-7.3.462
Created attachment 304415 [details] emerge --info =app-editors/vim-7.3.462
If it matters, I have tried recompile vim with +X and later gvim. Nothing changed to gvim - same error.
Hm, after downgrade still the same problem. That's really bad.
Created attachment 304421 [details] strace gvim
Created attachment 304425 [details] build.log
Downgraded even to stable, same problem.
Tried to unmerge vim and reemerge gvim. Still same problem.
I saw this line in your build.log: checking for GTK - version >= 2.2.0... no So there's something wrong with your GTK+2 installation, not a problem of vim. Vim's configure script firstly uses pkg-config to check whether you have GTK+2 installed ( pkg-config --exists gtk+-2.0 ), then it tries to compile some C code with AC_TRY_RUN. If either step failed you would get no GTK+ support. I guess you will be able to find out where the problem is by looking into ./src/auto/config.log.
Created attachment 304507 [details] vim73/src/auto/config.log Essential part: configure:8061: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=native -pipe -pthread -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-E -Wl,-O1 -Wl,--as-needed -L/usr/local/lib conftest.c -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 >&5 conftest.c: In function 'main': conftest.c:34:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libcairo.so: undefined reference to `qt_draw_glyphs(QPainter*, unsigned int const*, QPointF const*, int)' collect2: ld returned 1 exit status configure:8061: $? = 1 configure: program exited with status 1
After rebuilding x11-libs/cairo works for me. Thanks Richard!