app-editors/gvim-7.2.416 does not start, displays "E25: GUI cannot be used: Not enabled at compile time" and quits. Reproducible: Always Steps to Reproduce: 1.emerge app-editors/gvim-7.2.416 2.Start gvim 3.see no gui Actual Results: $ gvim E25: GUI cannot be used: Not enabled at compile time $ Expected Results: Gvim would launch and the gui would display. $ emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-asf1 x86_64) ================================================================= System uname: Linux-2.6.33-gentoo-asf1-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2400-with-gentoo-2.0.1 Timestamp of tree: Wed, 12 May 2010 08:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-python/pycrypto: 2.1.0 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA RTCW-ETEULA PUEL dlj-1.1 skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8-sse3 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=k8-sse3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/oss-overlay /usr/local/portage/layman/science /usr/local/portage/afrink" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gnome gpm gtk hal iconv ipv6 jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp oss oss4 pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell spl sqlite sse sse2 sse3 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="or51132" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="pctv" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS # emerge --nospinner -pv1 vim vim-core gvim These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] app-editors/vim-core-7.2.416 USE="acl bash-completion nls -livecd" 0 kB [ebuild R ] app-editors/vim-7.2.416 USE="acl bash-completion gpm nls perl python -cscope -debug -minimal -ruby -vim-pager -vim-with-x" 0 kB [ebuild R ] app-editors/gvim-7.2.416 USE="acl bash-completion gnome gpm gtk nls perl python (-aqua) -cscope -debug -motif -netbeans -nextaw -ruby" 0 kB Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
"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.