From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yan Li Newsgroups: gmane.lisp.guile.bugs Subject: [PATCH] Compiling DOT_X_FILES requires version.h Date: Wed, 4 Aug 2010 15:02:43 +0800 Message-ID: <26f7d03710529a3bae3a2b6b7417bd4348e908f8.1280904428.git.yan.i.li@intel.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" X-Trace: dough.gmane.org 1280910532 952 80.91.229.12 (4 Aug 2010 08:28:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Aug 2010 08:28:52 +0000 (UTC) Cc: yanli@gnome.org To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Aug 04 10:28:49 2010 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OgZLC-0000Bb-GE for guile-bugs@m.gmane.org; Wed, 04 Aug 2010 10:28:46 +0200 Original-Received: from localhost ([127.0.0.1]:34079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgZLC-0001Vq-1H for guile-bugs@m.gmane.org; Wed, 04 Aug 2010 04:28:46 -0400 Original-Received: from [140.186.70.92] (port=43047 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgY02-0007mT-N9 for bug-guile@gnu.org; Wed, 04 Aug 2010 03:02:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgY01-0003I5-9S for bug-guile@gnu.org; Wed, 04 Aug 2010 03:02:50 -0400 Original-Received: from mga02.intel.com ([134.134.136.20]:19186) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgY01-0003Hi-12 for bug-guile@gnu.org; Wed, 04 Aug 2010 03:02:49 -0400 Original-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 04 Aug 2010 00:00:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.55,314,1278313200"; d="asc'?scan'208";a="541765103" Original-Received: from sage.bj.intel.com ([172.16.180.91]) by orsmga002.jf.intel.com with ESMTP; 04 Aug 2010 00:02:59 -0700 Original-Received: from liyan by sage.bj.intel.com with local (Exim 4.72) (envelope-from ) id 1OgXzv-0001hl-Pu; Wed, 04 Aug 2010 15:02:43 +0800 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Wed, 04 Aug 2010 04:22:46 -0400 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4722 Archived-At: --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable There was a race condition when building Guile since DOT_X_FILES didn't depend on version.h, which is dynamically generated. Sometimes the DOT_X_FILES are compiled before the version.h is generated and leads to build failure. This patch fixed this problem. Signed-off-by: Yan Li --- libguile/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libguile/Makefile.am b/libguile/Makefile.am index a899b85..9836aa1 100644 --- a/libguile/Makefile.am +++ b/libguile/Makefile.am @@ -670,7 +670,7 @@ AM_V_FILTER_0 =3D @echo " FILTER" $@; .c.doc: -$(AM_V_FILTER)$(AWK) -f $(srcdir)/guile-func-name-check $< && (./guile-s= narf-docs $(snarfcppopts) $< | ./guile_filter_doc_snarfage$(EXEEXT) --filte= r-snarfage) > $@ || { rm $@; false; } =20 -$(DOT_X_FILES) $(EXTRA_DOT_X_FILES): scmconfig.h snarf.h guile-snarf.in +$(DOT_X_FILES) $(EXTRA_DOT_X_FILES): scmconfig.h snarf.h guile-snarf.in ve= rsion.h =20 $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES): scmconfig.h snarf.h guile-snarf-d= ocs.in guile_filter_doc_snarfage$(EXEEXT) =20 --=20 1.7.1 --=20 Best regards, Li, Yan MeeGo Team, Opensource Technology Center, SSG, Intel Office tel.: +86-10-82171695 (inet: 8-758-1695) OpenPGP key: 5C6C31EF IRC: yanli on network irc.freenode.net --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJMWRCTAAoJEO4BY5RcbDHv1dsP/2BinYNUVdpT8+lL9qiuSI1E D69fQMh4ARr2O+GNsEV6MoKjN1Vnyy9ExscFgPOJ0urzYhdX3Df1ZeemvWRCqoO3 pjLF1P/1/DfKRan26EgxTKgefDeZj+KeODmtJxVteeJcn/eZ07J2Akpe+/iU6wd2 wjrpUoc52yj1esohaKBr3jp/XGMMgVHDwHEJtUZV08fDA+r7b0fm8SQpTCpk0UE1 sCa/Nz6r7ddox4Nh6LiiOONZNPTz0Sl+x5s06mZh8913EWZYcG5XKcsnXPE2aOEy pHK6v3MZDOrXRkkD8bHNz87fDy3lNllizh6jTL6iX2f3C8qwggRZmsU0HM+L+qoG uwKvF6/tR/lo7WO3tXMze/8pOgCpf9blqTvzDDF6AZdqH8S0eODIDkuXJOCUhVcR Jmx4npovlabP+hm/eoDBhfK84Au1okOCIB5PGx9gzJRHDJ05QUkT3Xk7qeR7ZJkx cBL4+XyAtni1qZKoosrO/v0p7X65AbBtWKMStrl7lbBHBlzq4gB0jgRQ3i6yWmla EM07wWg0r/BLCCCM+uX7UfSJlnsErxSn7QSU6fPRHLRKJGd06L0mG2VcsG/661v4 bAWUaEaB2pHyxUiuf0cafgDiWbCm2wL6gDwYED5z43eDGPXAuImvO+pZZtsuH2Da MFYzUJAHiD2xtdX9fO4F =YiUF -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--