#3124 closed defect (fixed)
guile-1.8.7 build failure related to recent gcc versions
Reported by: | Dominic Jones | Owned by: | Randy McMurchy |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
guile-1.8.7 failed to build following the blfs development version instructions and gave the following error:
ERROR: unknown doc attribute: (location (string .alist.c) (int . 40) (hash .has))
This error has been diagnosed in another context; see http://www.linuxfromscratch.org/blfs/view/svn/general/guile.html for information about the issue and resolution. I couldn't get the patch embedded in the page to work (in hindsight, it appears to assume a different directory), but was able to manually copy the change the patch would have made (adding the -P flag) into the appropriate file (guile-1.8.7/libguile/guile-snarf-docs.in) and it fixed the problem.
Based on the discussion in the referenced page, it appears that recent versions of gcc (4.4.2 and later; I'm using 4.5.0 per lfs-dev) changed their behavior in a way that broke the guile build.
Change History (5)
comment:1 by , 14 years ago
comment:3 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added an upstream patch to fix the issue. The message thread mentioned above was a workaround, the patch that is now in the book should be a permanent fix and will be included in the next version of Guile.
Thanks for reporting the issue.
Copy/paste betrayed me. The correct URL for the message thread discussing the issue is http://old.nabble.com/build-failure-just-trying-to-build-guile-1.8.7-natively-td26411839.html.