Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 224069

Summary: While building net-libs/gtk-vnc-0.3.6 codegen.py not found
Product: Gentoo Linux Reporter: Dmitrij D. Czarkoff <czarkoff>
Component: Current packagesAssignee: Donnie Berkholz (RETIRED) <dberkholz>
Status: RESOLVED DUPLICATE    
Severity: trivial CC: gnome
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dmitrij D. Czarkoff 2008-05-29 10:15:53 UTC
# emerge gtk-vnc

<...>

/usr/bin/python /usr/lib64/python2.5/site-packages/gtk-2.0/codegen/h2def.py vncdisplay.h > vnc.defs
pygtk-codegen-2.0 --prefix gtkvnc \
                          --register /usr/share/pygtk/2.0/defs/gdk-types.defs \
                          --register /usr/share/pygtk/2.0/defs/gtk-types.defs \
                          --override ./vnc.override vnc.defs > vncmodule.defs.c
/usr/bin/python: can't open file '/lib64/python2.5/site-packages/gtk-2.0/codegen/codegen.py': [Errno 2] No such file or directory
make[2]: *** [vncmodule.defs.c] Ошибка 2

make[2]: *** Ожидание завершения заданий...
 x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gtkglext-1.0 -I/usr/lib64/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O3 -pipe -march=k8 -MT gtkvnc_la-vncmodule.lo -MD -MP -MF .deps/gtkvnc_la-vncmodule.Tpo -c vncmodule.c  -fPIC -DPIC -o .libs/gtkvnc_la-vncmodule.o
 x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gtkglext-1.0 -I/usr/lib64/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O3 -pipe -march=k8 -MT gtkvnc_la-vncmodule.lo -MD -MP -MF .deps/gtkvnc_la-vncmodule.Tpo -c vncmodule.c -o gtkvnc_la-vncmodule.o >/dev/null 2>&1
mv -f .deps/gtkvnc_la-vncmodule.Tpo .deps/gtkvnc_la-vncmodule.Plo
mv -f .deps/libgtk_vnc_1_0_la-gvnc.Tpo .deps/libgtk_vnc_1_0_la-gvnc.Plo
make[2]: Leaving directory `/var/tmp/portage/net-libs/gtk-vnc-0.3.6/work/gtk-vnc-0.3.6/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/gtk-vnc-0.3.6/work/gtk-vnc-0.3.6'
make: *** [all] Ошибка 2

There really is no '/lib64/python2.5/site-packages/gtk-2.0/codegen/codegen.py', python resides in '/usr/lib64/'. Symlink from /usr/lib/python2.5 to /lib/python2.5 was enough.
Comment 1 Ian Abbott 2008-05-29 14:33:12 UTC
See bug #224039 for the solution....
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2008-05-29 16:05:41 UTC
Resync and update pygtk to 2.12.1-r2

*** This bug has been marked as a duplicate of bug 224039 ***