on 01/06/2011 09:14 Andriy Gapon said the following:
> 
> lang/guile build fails in my environment with CURRENT amd64 FreeBSD and gcc45 
> as
> ports compiler:
> 
> ./guile_filter_doc_snarfage --filter-snarfage) > regex-posix.doc || { rm
> regex-posix.doc; false; }
> cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc chars.doc
> continuations.doc debug.doc deprecation.doc deprecated.doc discouraged.doc
> dynl.doc dynwind.doc environments.doc eq.doc error.doc eval.doc evalext.doc
> extensions.doc feature.doc fluids.doc fports.doc futures.doc gc.doc goops.doc
> gsubr.doc gc-mark.doc gc-segment.doc gc-malloc.doc gc-card.doc guardians.doc
> hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc 
> lang.doc
> list.doc load.doc macros.doc mallocs.doc modules.doc numbers.doc objects.doc
> objprop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc
> properties.doc random.doc rdelim.doc read.doc root.doc rw.doc scmsigs.doc
> script.doc simpos.doc smob.doc sort.doc srcprop.doc stackchk.doc stacks.doc
> stime.doc strings.doc srfi-4.doc srfi-13.doc srfi-14.doc strorder.doc
> strports.doc struct.doc symbols.doc threads.doc throw.doc values.doc
> variable.doc vectors.doc version.doc vports.doc weaks.doc ramap.doc unif.doc
> dynl.doc filesys.doc posix.doc net_db.doc socket.doc regex-posix.doc |
> GUILE="/usr/obj/usr/ports/lang/guile/work/guile-1.8.6/pre-inst-guile"
> ../scripts/snarf-check-and-output-texi          > guile-procedures.texi || { 
> rm
> guile-procedures.texi; false; }
> ERROR: unknown doc attribute: (location (string . alist.c) (int . 40) (hash . 
> hash))
> gmake[3]: *** [guile-procedures.texi] Error 1
> gmake[3]: Leaving directory
> `/usr/obj/usr/ports/lang/guile/work/guile-1.8.6/libguile'
> gmake[2]: *** [all] Error 2

This one seems to be a known and fixed issue:
http://bugs.gentoo.org/show_bug.cgi?id=317175

I guess we could either update to a version that has the fix (when it's
released) or use the following simple patch:
--- libguile/guile-snarf-docs.in.orig   2011-06-02 11:49:24.423491408 +0300
+++ libguile/guile-snarf-docs.in        2011-06-02 11:49:26.174492567 +0300
@@ -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 "$@"



-- 
Andriy Gapon
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to