All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mike (mwester)" <mwester@dls.net>
To: openembedded-devel@lists.openembedded.org
Subject: python-pygobject fails to build from scratch
Date: Sat, 28 Jun 2008 10:28:56 -0500	[thread overview]
Message-ID: <486658B8.2070403@dls.net> (raw)

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)



             reply	other threads:[~2008-06-28 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-28 15:28 Mike (mwester) [this message]
2008-06-29 22:27 ` python-pygobject fails to build from scratch Michael 'Mickey' Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=486658B8.2070403@dls.net \
    --to=mwester@dls.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.