When updating vte I get an ACCESS VIOLATION during compilation: >>> Emerging (1 of 9) x11-libs/vte-0.16.13 to / [...] /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONF IG_H -I. -I.. -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/g lib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/inclu de/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libpng12 -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 - I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -march=athlon64 -fomi t-frame-pointer -pipe -msse3 -Wall -Wextra -Wsign-compare -Werror-implicit-func tion-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Waggregate -return -Wcast-align -Wimplicit -Wmissing-prototypes -Wmissing-declarations -Wne sted-externs -Wpacked -Wmissing-format-attribute -Wshadow -Wstrict-aliasing=2 -W init-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style- definition -Wno-missing-field-initializers -Wno-unused-parameter -fno-common -MT vtemodule_la-vtemodule.lo -MD -MP -MF .deps/vtemodule_la-vtemodule.Tpo -c -o vt emodule_la-vtemodule.lo `test -f 'vtemodule.c' || echo './'`vtemodule.c (cd . \ && /usr/bin/pygtk-codegen-2.0 \ --register /usr/share/pygtk/2.0/defs/pango-types.defs \ --register /usr/share/pygtk/2.0/defs/gdk-types.defs \ --register /usr/share/pygtk/2.0/defs/gtk-types.defs \ --override vte.override \ --prefix pyvte vte.defs) > gen-vte.c \ && cp gen-vte.c vte.c \ && rm -f gen-vte.c ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/argtypes.pyc ACCESS DENIED open_wr: /usr/share/pygtk/2.0/codegen/argtypes.pyc ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/definitions.pyc ACCESS DENIED open_wr: /usr/share/pygtk/2.0/codegen/definitions.pyc ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/defsparser.pyc ACCESS DENIED open_wr: /usr/share/pygtk/2.0/codegen/defsparser.pyc ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/scmexpr.pyc ACCESS DENIED open_wr: /usr/share/pygtk/2.0/codegen/scmexpr.pyc ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/override.pyc ACCESS DENIED open_wr: /usr/share/pygtk/2.0/codegen/override.pyc ACCESS DENIED unlink: /usr/share/pygtk/2.0/codegen/reversewrapper.pyc ACCESS DENIED open_wr: /usr/share/pygtk/2.0/codegen/reversewrapper.pyc mkdir .libs x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -I/us r/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/l ib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/ pango-1.0 -I/usr/include/libpng12 -I/usr/include/python2.5 -I/usr/include/python 2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/inclu de -O2 -march=athlon64 -fomit-frame-pointer -pipe -msse3 -Wall -Wextra -Wsign-co mpare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wst rict-prototypes -Waggregate-return -Wcast-align -Wimplicit -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wmissing-format-attribute -Wsh adow -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-a fter-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unuse d-parameter -fno-common -MT vtemodule_la-vtemodule.lo -MD -MP -MF .deps/vtemodul e_la-vtemodule.Tpo -c vtemodule.c -fPIC -DPIC -o .libs/vtemodule_la-vtemodule.o In file included from /usr/include/gtk-2.0/gtk/gtkactiongroup.h:34, from /usr/include/gtk-2.0/gtk/gtk.h:38, from /usr/include/pygtk-2.0/pygtk/pygtk.h:8, from vtemodule.c:26: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:50: warning: function declaration isn' t a prototype ***INFO*** The coverage of global functions is 100.00% (3/3) ***INFO*** The coverage of methods is 100.00% (77/77) ***INFO*** There are no declared virtual proxies. ***INFO*** There are no declared virtual accessors. ***INFO*** There are no declared interface proxies. [...] >>> Source compiled. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-32408.log" unlink: /usr/share/pygtk/2.0/codegen/argtypes.pyc open_wr: /usr/share/pygtk/2.0/codegen/argtypes.pyc unlink: /usr/share/pygtk/2.0/codegen/definitions.pyc open_wr: /usr/share/pygtk/2.0/codegen/definitions.pyc unlink: /usr/share/pygtk/2.0/codegen/defsparser.pyc open_wr: /usr/share/pygtk/2.0/codegen/defsparser.pyc unlink: /usr/share/pygtk/2.0/codegen/scmexpr.pyc open_wr: /usr/share/pygtk/2.0/codegen/scmexpr.pyc unlink: /usr/share/pygtk/2.0/codegen/override.pyc open_wr: /usr/share/pygtk/2.0/codegen/override.pyc unlink: /usr/share/pygtk/2.0/codegen/reversewrapper.pyc open_wr: /usr/share/pygtk/2.0/codegen/reversewrapper.pyc -------------------------------------------------------------------------------- emerge --info: Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64) ================================================================= System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Timestamp of tree: Thu, 24 Apr 2008 21:16:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LINGUAS="de en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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 /usr/portage/local/layman/portage-xgl" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 acpi aiglx alsa amd64 apm berkdb browserplugin bzip2 cdr cli cracklib crypt cups dbus divx dri dvd dvdr dvdread emacs emboss encode evo ffmpeg firefox fortran gdbm gif gpm gtk gtk2 hal howl iconv imlib ipv6 isdnlog java jpeg mad midi mikmod mmx mozbranding mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python quicktime readline reflection samba sdl session spell spl srt sse sse2 ssl svg tcpd teletext tetex threads tiff truetype unicode usb v4l v4l2 vorbis x264 xine xml xorg xpm xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
run python-updater when updating to python 2.5
I had the same problem, with only python-2.5 installed. Running python-updater merely reported: * Can't determine any previous Python version(s). The solution was removing pygtk and installing vte, i.e. emerge -C pygtk emerge vte Since vte depends on pygtk, the second command installed pygtk for me.