Upgrading x11-libs/vte (due to an 'update world') to vte-0.11.12 Compile failed with error: vte.c: In function `_wrap_vte_terminal_get_font': vte.c:684: warning: assignment discards qualifiers from pointer target type vte.c: In function `_wrap_vte_terminal_is_word_char': vte.c:752: error: `pyg_pyobj_to_unichar_conv' undeclared (first use in this func tion) vte.c:752: error: (Each undeclared identifier is reported only once vte.c:752: error: for each function it appears in.) make[2]: *** [vtemodule_la-vte.lo] Error 1 make[2]: Leaving directory `/home/portage/portage/vte-0.11.12/work/vte-0.11.12/p ython' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/portage/portage/vte-0.11.12/work/vte-0.11.12' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge -u world (lists x11-libs/vte-0.11.12 as one of the packages to be upgraded) Actual Results: Build faild Expected Results: Built correctly! Gentoo Base System version 1.6.12 Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc- 2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686) ================================================================= System uname: 2.6.11-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 20:08:03)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.9.5, 1.4_p6, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/ 3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/tex mf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/c onfig/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/con trol" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 arts avi bash-completion bitmap-fonts blender-game bluetooth ccache cdparanoia cdr cpudetection cups divx4linux dvd dvdr dvdread font-server foomaticdb fortran freetype gd gif gimp gimpprint gnuplot gtk gtk2 imagemagick irda java jpeg jpeg2k kde mad mikmod mime mmx mng mp3 mpeg mpeg2 mpeg4 mplayer mysql offensive ooo-kde opengl pcre php plotutils png posix povray ppds qt quicktime smime speedo spell sse sse2 ssl svg tetex tidy tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb vcd win32codecs wmf xine xinerama xscreensaver xv xvid userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS This problem is mentioned in the following forum post: http://forums.gentoo.org/viewtopic-t-305240-postdays-0-postorder-asc-start- 50.html Someone mentions there that installing dev-python/pygtk-2.4.1 fixed the problem for them; I've tried this and it seems to have fixed it for me too. Perhaps this needs to be added as a dependency in the vte ebuild?
Did you have pygtk when the problem occurred? vte's ebuild does have pygtk as a dependency, but only when the 'python' USE flag is active. What was certainly wrong is that it wasn't passing the corresponding flag to the 'configure' script. I've modified the ebuild to fix this. Please try unmerging pygtk (if you didn't have it when you opened this report), and emerging vte again.
OK, I unmerged pygtk and vte. Re-emerged vte and it installed fine without pygtk. I added the 'python' USE flag and re-emerged vte which caused the compilation of pygtk as a dependency. Looks like it's fixed then :-)