[oe] build failure just trying to build guile-1.8.7 natively

Robert P. J. Day rpjday at crashcourse.ca
Thu Nov 19 17:49:29 UTC 2009


  forwarded from the guile-devel list.  does this look like it's going
to cause grief with any other packages?


---------- Forwarded message ----------
Date: Thu, 19 Nov 2009 18:24:26 +0100
From: Miroslav Lichvar <mlichvar at redhat.com>
To: guile-devel at gnu.org
Subject: Re: build failure just trying to build guile-1.8.7 natively

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.

-- 
Miroslav Lichvar





More information about the Openembedded-devel mailing list