All of lore.kernel.org
 help / color / mirror / Atom feed
* python-pygobject fails to build from scratch
@ 2008-06-28 15:28 Mike (mwester)
  2008-06-29 22:27 ` Michael 'Mickey' Lauer
  0 siblings, 1 reply; 2+ messages in thread
From: Mike (mwester) @ 2008-06-28 15:28 UTC (permalink / raw)
  To: openembedded-devel

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)



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: python-pygobject fails to build from scratch
  2008-06-28 15:28 python-pygobject fails to build from scratch Mike (mwester)
@ 2008-06-29 22:27 ` Michael 'Mickey' Lauer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael 'Mickey' Lauer @ 2008-06-29 22:27 UTC (permalink / raw)
  To: openembedded-devel

Am Samstag 28 Juni 2008 17:28:56 schrieb Mike (mwester):
> 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).

That's strange. The situation is that pygobject 2.14.x compiles a helper which 
it calls during the build process which fails. Since we already had a 
pygobject-native for various other packages laying around, i made that stage 
the necessary helper and made pygobject DEPEND on pygobject-native.

Can you check whether pygobject-native is getting build and staged for you at 
the time pygobject is going to be compiled?

Update: Sorry, forget what I said, I had a patch to pygobject-native to 
commited :/

It should work now.
-- 
:M:



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-29 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-28 15:28 python-pygobject fails to build from scratch Mike (mwester)
2008-06-29 22:27 ` Michael 'Mickey' Lauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.