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 344845 - Missing gdk-base-types.defs causes gedit build to fail
Missing gdk-base-types.defs causes gedit build to fail
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: codegen
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-14 05:42 UTC by Elijah Newren
Modified: 2008-07-16 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elijah Newren 2006-06-14 05:42:02 UTC
I'm getting build failures with gedit that go away when I revert pygtk to the version from yesterday.  The build error is:

make[2]: Entering directory `/floss/building/gnome/gedit/bindings/python'
( cd . && /opt/gnome2/bin/python /opt/gnome2/share/pygtk/2.0/codegen/codegen.py \
	--register /opt/gnome2/share/pygtk/2.0/defs/pango-types.defs \
	--register /opt/gnome2/share/pygtk/2.0/defs/gdk-types.defs \
	--register /opt/gnome2/share/pygtk/2.0/defs/gtk-types.defs \
	--register /opt/gnome2/share/pygtk/2.0/defs/gtksourceview.defs \
	--override gedit.override \
	--prefix pygedit gedit.defs ) > gedit.c 
Traceback (most recent call last):
make[2]: Leaving directory `/floss/building/gnome/gedit/bindings/python'
make[1]: Leaving directory `/floss/building/gnome/gedit/bindings'
  • File "/opt/gnome2/share/pygtk/2.0/codegen/codegen.py", line 1486 in ?
    sys.exit(main(sys.argv))
  • File "/opt/gnome2/share/pygtk/2.0/codegen/codegen.py", line 1446 in main
    p.startParsing()
  • File "/opt/gnome2/share/pygtk/2.0/codegen/scmexpr.py", line 114 in startParsing
    self.handle(statement)
  • File "/opt/gnome2/share/pygtk/2.0/codegen/scmexpr.py", line 118 in handle
    getattr(self, cmd)(*tup[1:])
  • File "/opt/gnome2/share/pygtk/2.0/codegen/defsparser.py", line 33 in include
    raise IOError("%s not found in include path %s" % (input_filename, inc_path))
IOError: gdk-base-types.defs not found in include path ['/opt/gnome2/share/pygtk/2.0/defs', '.']
make[2]: *** [gedit.c] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
Comment 1 Gustavo Carneiro 2006-06-14 18:05:05 UTC
mea culpa :P
Comment 2 Gustavo Carneiro 2006-06-14 18:21:51 UTC
Should be fixed now in CVS:

-                             for path_entry in include_path]:
+                             for path_entry in inc_path]:

stupid typo... :(

I'll see if I have time to make a new pygtk release soon :P