From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert P. J. Day" Newsgroups: gmane.lisp.guile.devel Subject: Re: build failure just trying to build guile-1.8.7 natively Date: Thu, 19 Nov 2009 13:01:32 -0500 (EST) Message-ID: References: <20091119172426.GH31313@localhost> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: ger.gmane.org 1258653872 20866 80.91.229.12 (19 Nov 2009 18:04:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 18:04:32 +0000 (UTC) Cc: guile-devel@gnu.org To: Miroslav Lichvar Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Nov 19 19:04:24 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NBBMl-0006pC-RD for guile-devel@m.gmane.org; Thu, 19 Nov 2009 19:04:24 +0100 Original-Received: from localhost ([127.0.0.1]:34841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBBMl-0001ug-GY for guile-devel@m.gmane.org; Thu, 19 Nov 2009 13:04:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBBKF-0000cJ-9n for guile-devel@gnu.org; Thu, 19 Nov 2009 13:01:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBBKA-0000ZD-71 for guile-devel@gnu.org; Thu, 19 Nov 2009 13:01:46 -0500 Original-Received: from [199.232.76.173] (port=55744 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBBKA-0000Z0-05 for guile-devel@gnu.org; Thu, 19 Nov 2009 13:01:42 -0500 Original-Received: from astoria.ccjclearline.com ([64.235.106.9]:45951) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBBK9-0001e0-4F for guile-devel@gnu.org; Thu, 19 Nov 2009 13:01:41 -0500 Original-Received: from cpe002129687b04-cm001225dbafb6.cpe.net.cable.rogers.com ([99.235.241.187] helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NBBK3-0001mi-HU; Thu, 19 Nov 2009 13:01:35 -0500 X-X-Sender: rpjday@localhost In-Reply-To: <20091119172426.GH31313@localhost> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - astoria.ccjclearline.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9703 Archived-At: On Thu, 19 Nov 2009, Miroslav Lichvar wrote: > On Wed, Nov 18, 2009 at 12:11:51PM -0500, Robert P. J. Day wrote: > > > > as a followup to my earlier plea for help, i downloaded the > > guile-1.8.7 tarball and tried to build it on my (effectively) fedora > > 12 system, and ran into exactly the same error: > > > ERROR: unknown doc attribute: (location (string . alist.c) (int . 40) > > (hash . hash)) > > This is caused by new cpp which inserts linemarkers where it didn't > before. > > For example: > > #define X(a, b) a, __FILE__, __LINE__, b > X(a, > b) > > results in: > > a, > "a.c" > # 2 "a.c" > , > 3 > # 2 "a.c" > , b > > Adding -P option to cpp in guile-snarf-docs fixes the problem. so here's the patch file i added for the OE build, since we're building from the tarball. is this what you're talking about? diff -Nur guile-1.8.7.orig/libguile/guile-snarf-docs.in guile-1.8.7/libguile/guile-snarf-docs.in --- guile-1.8.7.orig/libguile/guile-snarf-docs.in 2009-07-03 18:19:00.000000000 -0400 +++ guile-1.8.7/libguile/guile-snarf-docs.in 2009-11-19 12:55:32.487266268 -0500 @@ -23,4 +23,4 @@ ## Let the user override the preprocessor autoconf found. test -n "${CPP+set}" || CPP="@CPP@" -${CPP} -DSCM_MAGIC_SNARF_DOCS "$@" +${CPP} -P -DSCM_MAGIC_SNARF_DOCS "$@" rday -- ======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday ========================================================================