When I emerged python:2.7, it said I needed to run "python-updater ${options}". It recompiled several packages, and x11-libs/vte was the last of them, and it failed to compile. I think the problem is that python-2.7 doesn't have "pygtk-codegen": "note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead note: I will now try to invoke pygobject-codegen-2.0 in the same directory vtemodule.c:19:2: warning: #ident is a deprecated GCC extension /usr/bin/python2.7: can't open file '/usr/lib/python2.7/site-packages/gtk-2.0/codegen/codegen.py': [Errno 2] No such file or directory" Reproducible: Always Steps to Reproduce: 1.emerge python:2.7 2.emerge =vte-0.24.3 or =vte-0.26.2 Actual Results: ... Making all in python make[2]: уваход у тэчку "/var/tmp/portage/x11-libs/vte-0.24.3/work/vte-0.24.3/python" CC vtemodule_la-vtemodule.lo GEN vte.c note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead note: I will now try to invoke pygobject-codegen-2.0 in the same directory vtemodule.c:19:2: warning: #ident is a deprecated GCC extension /usr/bin/python2.7: can't open file '/usr/lib/python2.7/site-packages/gtk-2.0/codegen/codegen.py': [Errno 2] No such file or directory make[2]: *** [vte.c] Памылка 2 make[2]: *** Чакаюцца незавершаныя працы.... In file included from /usr/include/gtk-2.0/gtk/gtk.h:233, from /usr/include/pygtk-2.0/pygtk/pygtk.h:8, from vtemodule.c:26: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn’t a prototype make[2]: выхад з тэчкі "/var/tmp/portage/x11-libs/vte-0.24.3/work/vte-0.24.3/python" make[1]: *** [all-recursive] Памылка 1 make[1]: выхад з тэчкі "/var/tmp/portage/x11-libs/vte-0.24.3/work/vte-0.24.3" make: *** [all] Памылка 2 emake failed * ERROR: x11-libs/vte-0.24.3 failed: * compile failure * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2992: Called gnome2_src_compile * environment, line 2292: Called die * The specific snippet of code: * emake || die "compile failure" * * If you need support, post the output of 'emerge --info =x11-libs/vte-0.24.3', * the complete build log and the output of 'emerge -pqv =x11-libs/vte-0.24.3'. * The complete build log is located at '/var/tmp/portage/x11-libs/vte-0.24.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/vte-0.24.3/temp/environment'. * S: '/var/tmp/portage/x11-libs/vte-0.24.3/work/vte-0.24.3' >>> Failed to emerge x11-libs/vte-0.24.3, Log file: >>> '/var/tmp/portage/x11-libs/vte-0.24.3/temp/build.log' * Messages for package x11-libs/vte-0.24.3: * ERROR: x11-libs/vte-0.24.3 failed: * compile failure * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2992: Called gnome2_src_compile * environment, line 2292: Called die * The specific snippet of code: * emake || die "compile failure" * * If you need support, post the output of 'emerge --info =x11-libs/vte-0.24.3', * the complete build log and the output of 'emerge -pqv =x11-libs/vte-0.24.3'. * The complete build log is located at '/var/tmp/portage/x11-libs/vte-0.24.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/vte-0.24.3/temp/environment'. * S: '/var/tmp/portage/x11-libs/vte-0.24.3/work/vte-0.24.3' Expected Results: Install without errors. the output of "emerge --info =x11-libs/vte-0.24.3", "emerge -pqv =x11-libs/vte-0.24.3" and the complete build log are in attachments.
Created attachment 265067 [details] /var/tmp/portage/x11-libs/vte-0.24.3/temp/build.log
Created attachment 265069 [details] emerge --info =x11-libs/vte-0.24.3
Created attachment 265071 [details] emerge -pqv =x11-libs/vte-0.24.3
Does 'eselect python' help ? Is pygobject installed for python 2.7 ?
(In reply to comment #4) > Does 'eselect python' help ? > Is pygobject installed for python 2.7 ? I do not do "eselect python set 1"(2.6) because I don't want to recompile boost and other packages. I don't know if pygobject is installed for 2.7. Maybe I must recompile it? vozhx-desktop vte_error # emerge -avt pygobject These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild U ] dev-python/pygobject-2.26.0-r1 [2.20.0] USE="threads%* -cairo% -doc -examples (-introspection) -libffi -test (-debug%)" 790 kB Total: 1 package (1 upgrade), Size of downloads: 790 kB
(In reply to comment #4) > Is pygobject installed for python 2.7 ? Thanks! I recompiled pygobject and it worked!