help - no more able to compile from cvs
This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
help - no more able to compile from cvs | Marco Ciampa | 06 Dec 00:27 |
help - no more able to compile from cvs | Kevin Cozens | 06 Dec 04:22 |
help - no more able to compile from cvs | Marco Ciampa | 11 Dec 10:12 |
help - no more able to compile from cvs
I've recently upgraded from ubuntu dapper to edgy and I'm no more able to compile gimp from cvs. The error seems related to the pygimp section. Here is the make log:
make[4]: Entering directory `/home/marco/cvs-ssh-gnome/gimp/plug-ins/pygimp'
(cd . \
&& /usr/bin/pygtk-codegen-2.0 \
--override gimpui.override \
--register /usr/share/pygtk/2.0/defs/gdk-types.defs \
--register /usr/share/pygtk/2.0/defs/gtk-types.defs \
--register ./gimpcolor-types.defs \
--register ./gimpenums-types.defs \
--prefix gimpui gimpui.defs) > gen-gimpui.c \
&& cp gen-gimpui.c gimpui.c \
&& rm -f gen-gimpui.c
Warning: generating old-style constructor for:gimp_color_display_new
Could not write method GimpColorDisplay.load_state: No ArgType for
GimpParasite*
Could not write method GimpColorDisplay.save_state: No ArgType for
GimpParasite*
Warning: generating old-style constructor for:gimp_color_selector_new
Warning: generating old-style constructor for:gimp_frame_new
Could not write method GimpIntComboBox.prepend: varargs functions not
supported
Could not write method GimpIntComboBox.append: varargs functions not
supported
Could not write method GimpIntComboBox.connect: No ArgType for GCallback
Could not write method GimpIntComboBox.set_sensitivity: No ArgType for
GimpIntSensitivityFunc
Warning: generating old-style constructor for:gimp_enum_combo_box_new
Warning: generating old-style constructor for:gimp_enum_store_new
Warning: generating old-style constructor for:gimp_memsize_entry_new
Warning: generating old-style constructor for:gimp_offset_area_new
Could not write method GimpPageSelector.get_selected_pages: No ArgType for
gint*
Warning: generating old-style constructor for:gimp_path_editor_new
Could not write method GimpPreview.get_position: No ArgType for gint*
Could not write method GimpPreview.get_size: No ArgType for gint*
Could not write method GimpPreviewArea.draw: No ArgType for GimpImageType
Could not write method GimpPreviewArea.blend: No ArgType for GimpImageType
Could not write method GimpPreviewArea.mask: No ArgType for GimpImageType
Could not write method GimpDrawablePreview.get_drawable: No ArgType for
GimpDrawable*
Could not write method GimpDrawablePreview.draw_region: No ArgType for
const-GimpPixelRgn*
Warning: generating old-style constructor for:gimp_size_entry_new
Could not write constructor for GimpSizeEntry: No ArgType for GimpUnit
Could not write method GimpSizeEntry.get_unit: No ArgType for GimpUnit
Could not write method GimpSizeEntry.get_unit: No ArgType for GimpUnit
Could not write method GimpSizeEntry.set_unit: No ArgType for GimpUnit
Warning: generating old-style constructor for:gimp_unit_menu_new
Could not write constructor for GimpUnitMenu: No ArgType for GimpUnit
Could not write method GimpUnitMenu.set_unit: No ArgType for GimpUnit
Could not write method GimpUnitMenu.get_unit: No ArgType for GimpUnit
Could not write method GimpZoomModel.get_fraction: No ArgType for gint*
Could not write method GimpZoomPreview.get_source: No ArgType for gint*
Could not write method GimpZoomPreview.get_drawable: No ArgType for
GimpDrawable*
Traceback (most recent call last):
File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1707, in ?
sys.exit(main(sys.argv))
File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1698, in main
sw.write(py_ssize_t_clean)
File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1340, in write
self.write_classes()
File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1437, in
write_classes
instance.write_class()
File "/usr/share/pygtk/2.0/codegen/codegen.py", line 283, in write_class
substdict['tp_methods'] = self.write_methods()
File "/usr/share/pygtk/2.0/codegen/codegen.py", line 519, in write_methods
methods.append(self.methdef_tmpl %
UnboundLocalError: local variable 'meth' referenced before assignment
make[4]: *** [gimpui.c] Error 1
make[4]: Leaving directory `/home/marco/cvs-ssh-gnome/gimp/plug-ins/pygimp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/marco/cvs-ssh-gnome/gimp/plug-ins/pygimp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/marco/cvs-ssh-gnome/gimp/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marco/cvs-ssh-gnome/gimp'
make: *** [all] Error 2
marco@ibook:~/cvs-ssh-gnome/gimp$
Any hint?
help - no more able to compile from cvs
Marco Ciampa wrote:
I've recently upgraded from ubuntu dapper to edgy and I'm no more able to compile gimp from cvs. The error seems related to the pygimp section. Here is the make log:
[snip]
Any hint?
It is due to a bug in pygtk which has since been fixed. See bug #381389 in Gnome bugzilla (http://bugzilla.gnome.org/show_bug.cgi?id=381389).
help - no more able to compile from cvs
On Tue, Dec 05, 2006 at 10:22:18PM -0500, Kevin Cozens wrote:
Marco Ciampa wrote:
I've recently upgraded from ubuntu dapper to edgy and I'm no more able to compile gimp from cvs. The error seems related to the pygimp section. Here is the make log:
[snip]
Any hint?
It is due to a bug in pygtk which has since been fixed. See bug #381389 in Gnome bugzilla (http://bugzilla.gnome.org/show_bug.cgi?id=381389).
Applied, it works, thanks!
I'll do a bug report for Ubuntu Edgy...