[oe] python-pygobject fails to build from scratch

Mike (mwester) mwester at dls.net
Sat Jun 28 15:28:56 UTC 2008


The patch below causes build failures for me :(

Specifically, with an empty tmp directory (and parallel make specified,
but I don't think that makes a difference in this case),
gobject-generate-constants is not yet built and staged.  In fact, it is
both created and used by this makefile, so there's no way that this
recipe should use the one in staging (in fact, if it's working for folks
today, it's because their builds are finding (an older) one left around
in staging).

Since I don't know what problem this patch and the others in the
associated commit were solving, I can't provide a fix, other than to
note that backing out just this patch makes it Work For Me(tm).

Thanks,
Mike (mwester)




--- packages/python/python-pygobject/generate-constants.patch
1726f18a8e65fb7fe7a860bd1bd79e09c0dd2de1
+++ packages/python/python-pygobject/generate-constants.patch
1726f18a8e65fb7fe7a860bd1bd79e09c0dd2de1
@@ -0,0 +1,18 @@
+Index: pygobject-2.14.2/gobject/Makefile.am
+===================================================================
+--- pygobject-2.14.2.orig/gobject/Makefile.am
++++ pygobject-2.14.2/gobject/Makefile.am
+@@ -21,11 +21,11 @@ if PLATFORM_WIN32
+ common_ldflags += -no-undefined
+ endif
+
+-constants.py: generate-constants$(EXEEXT) constants.py.in
++constants.py: constants.py.in
+ 	rm -f constants.py
+ 	cp $(srcdir)/constants.py.in constants.py
+ 	chmod 644 constants.py
+-	$(top_builddir)/gobject/generate-constants$(EXEEXT) >> constants.py
++	gobject-generate-constants$(EXEEXT) >> constants.py
+ 	chmod 444 constants.py
+
+ generate_constants_CFLAGS = $(GLIB_CFLAGS)




More information about the Openembedded-devel mailing list