Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357825 - =x11-libs/vte-0.24.3 and 0.26.2: compile failure after update to dev-lang/python:2.7
Summary: =x11-libs/vte-0.24.3 and 0.26.2: compile failure after update to dev-lang/pyt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-07 20:25 UTC by Witaut Bajaryn
Modified: 2011-03-07 23:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/x11-libs/vte-0.24.3/temp/build.log (build.log,27.01 KB, text/plain)
2011-03-07 20:27 UTC, Witaut Bajaryn
Details
emerge --info =x11-libs/vte-0.24.3 (emerge_info,4.27 KB, text/plain)
2011-03-07 20:28 UTC, Witaut Bajaryn
Details
emerge -pqv =x11-libs/vte-0.24.3 (emerge_pqv,70 bytes, text/plain)
2011-03-07 20:29 UTC, Witaut Bajaryn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Witaut Bajaryn 2011-03-07 20:25:34 UTC
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.
Comment 1 Witaut Bajaryn 2011-03-07 20:27:11 UTC
Created attachment 265067 [details]
/var/tmp/portage/x11-libs/vte-0.24.3/temp/build.log
Comment 2 Witaut Bajaryn 2011-03-07 20:28:17 UTC
Created attachment 265069 [details]
emerge --info =x11-libs/vte-0.24.3
Comment 3 Witaut Bajaryn 2011-03-07 20:29:06 UTC
Created attachment 265071 [details]
emerge -pqv =x11-libs/vte-0.24.3
Comment 4 Rafał Mużyło 2011-03-07 20:40:34 UTC
Does 'eselect python' help ?
Is pygobject installed for python 2.7 ?
Comment 5 Witaut Bajaryn 2011-03-07 20:52:40 UTC
(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
Comment 6 Witaut Bajaryn 2011-03-07 23:23:07 UTC
(In reply to comment #4)
> Is pygobject installed for python 2.7 ?

Thanks! I recompiled pygobject and it worked!