After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 387409 - Compile error with latest revision
Compile error with latest revision
Status: RESOLVED DUPLICATE of bug 381389
Product: GIMP
Classification: Other
Component: General
git master
Other All
: Normal critical
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-12-19 04:37 UTC by Aries-Belgium
Modified: 2006-12-19 05:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Aries-Belgium 2006-12-19 04:37:14 UTC
Steps to reproduce:
When compiling the latest revision I get a compile error:

Stack trace:
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
gimpthumb.c:643: warning: no previous prototype for 'gimpthumb_add_constants'
gimpthumb.c:655: warning: no previous prototype for 'gimpthumb_register_classes'
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
/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -O2 -march=k8 -fomit-frame-pointer -pipe -funroll-loops -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith  -W1,--as-needed -o gimpthumb.la -rpath /usr/lib64/gimp/2.0/python -module -avoid-version  -export-symbols-regex initgimpthumb gimpthumbmodule.lo gimpthumb.lo ../../libgimpthumb/libgimpthumb-2.0.la -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    
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
(cd .libs && rm -f _gimpenums.la && ln -s ../_gimpenums.la _gimpenums.la)
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.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]: *** Waiting for unfinished jobs....
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../..//libgdk_pixbuf-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../..//libgobject-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../..//libgmodule-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../..//libglib-2.0.la' seems to be moved
generating symbol list for `gimpthumb.la'
/usr/bin/nm -B  .libs/gimpthumbmodule.o .libs/gimpthumb.o  | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[  ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/gimpthumb.exp
/bin/grep -E -e "initgimpthumb" ".libs/gimpthumb.exp" > ".libs/gimpthumb.expT"
mv -f ".libs/gimpthumb.expT" ".libs/gimpthumb.exp"
echo "{ global:" > .libs/gimpthumb.ver
 cat .libs/gimpthumb.exp | sed -e "s/\(.*\)/\1;/" >> .libs/gimpthumb.ver
 echo "local: *; };" >> .libs/gimpthumb.ver
 x86_64-pc-linux-gnu-gcc -shared  .libs/gimpthumbmodule.o .libs/gimpthumb.o  -Wl,--rpath -Wl,/var/tmp/portage/gimp-9999/work/gimp/libgimpthumb/.libs ../../libgimpthumb/.libs/libgimpthumb-2.0.so -L/var/tmp/portage/gimp-9999/work/gimp/libgimpmath/.libs -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../ -L/usr/lib64 /usr/lib64/libgdk_pixbuf-2.0.so -lm /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so  -march=k8 -Wl,-soname -Wl,gimpthumb.so -Wl,-version-script -Wl,.libs/gimpthumb.ver -o .libs/gimpthumb.so
creating gimpthumb.la
(cd .libs && rm -f gimpthumb.la && ln -s ../gimpthumb.la gimpthumb.la)
make[4]: Leaving directory `/var/tmp/portage/gimp-9999/work/gimp/plug-ins/pygimp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gimp-9999/work/gimp/plug-ins/pygimp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-9999/work/gimp/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-9999/work/gimp'
make: *** [all] Error 2


Other information:
Comment 1 Manish Singh 2006-12-19 05:29:00 UTC

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