The r5rs.texi document can be fixed by importing fixes from guile-2.0 code base.
Build further fails for me at test-suite however. Updated debdiff attached. -- Regards, Dimitri.
diff -Nru guile-1.8-1.8.8+1/debian/changelog guile-1.8-1.8.8+1/debian/changelog --- guile-1.8-1.8.8+1/debian/changelog 2012-03-18 15:23:35.000000000 +0000 +++ guile-1.8-1.8.8+1/debian/changelog 2013-12-24 21:00:47.000000000 +0000 @@ -1,3 +1,14 @@ +guile-1.8 (1.8.8+1-8.1) unstable; urgency=low + + [ Hideki Yamane ] + * add debian/patches/fix-texinfo-warning.patch (Closes: #711029) + + [ Dimitri John Ledkov ] + * Non-maintainer upload. + * Update r5rs.texi from guile-2.0 source (Closes: #711029) + + -- Dimitri John Ledkov <x...@ubuntu.com> Tue, 24 Dec 2013 21:00:47 +0000 + guile-1.8 (1.8.8+1-8) unstable; urgency=low * Add 0007-Mark-Unused-modules-are-removed-gc-test-as-unresolve.patch. diff -Nru guile-1.8-1.8.8+1/debian/patches/cherry-pick-texi-formatting.patch guile-1.8-1.8.8+1/debian/patches/cherry-pick-texi-formatting.patch --- guile-1.8-1.8.8+1/debian/patches/cherry-pick-texi-formatting.patch 1970-01-01 01:00:00.000000000 +0100 +++ guile-1.8-1.8.8+1/debian/patches/cherry-pick-texi-formatting.patch 2013-12-24 21:01:27.000000000 +0000 @@ -0,0 +1,53 @@ +Description: Update r5rs.texi from guile-2.0 source +Author: Dimitri John Ledkov <x...@ubuntu.com> +Bug-Debian: http://bugs.debian.org/711029 + +--- guile-1.8-1.8.8+1.orig/doc/r5rs/r5rs.texi ++++ guile-1.8-1.8.8+1/doc/r5rs/r5rs.texi +@@ -106,7 +106,6 @@ + @author C. H@sc{ANSON} + @author K. M. P@sc{ITMAN} + @author M. W@sc{AND} +-@author + + + @c {\it Dedicated to the Memory of ALGOL 60} +@@ -116,7 +115,7 @@ + + + +-@unnumbered Summary ++@majorheading Summary + + + The report gives a defining description of the programming language +@@ -4429,9 +4428,9 @@ all. + These procedures are part of every implementation that supports + @c %R4%% + general +-real numbers; they compute the usual transcendental functions. @samp{Log} ++real numbers; they compute the usual transcendental functions. @samp{log} + computes the natural logarithm of @var{z} (not the base ten logarithm). +-@samp{Asin}, @samp{acos}, and @samp{atan} compute arcsine (sin^-1), ++@samp{asin}, @samp{acos}, and @samp{atan} compute arcsine (sin^-1), + arccosine (cos^-1), and arctangent (tan^-1), respectively. + The two-argument variant of @samp{atan} computes @t{(angle + (make-rectangular @var{x} @var{y}))} (see below), even in implementations +@@ -4446,7 +4445,7 @@ With log defined this way, the values of + and tan^-1 z are according to the following formulae: + + +-@center sin^-1 z = -i log (i z + sqrt1 - z^2) ++@center sin^-1 z = -i log (i z + sqrt(1 - z^2)) + + + +@@ -5988,7 +5987,7 @@ unspecified value. + + + +-Vectors are heterogenous structures whose elements are indexed ++Vectors are heterogeneous structures whose elements are indexed + by integers. A vector typically occupies less space than a list + of the same length, and the average time required to access a randomly + chosen element is typically less for the vector than for the list. diff -Nru guile-1.8-1.8.8+1/debian/patches/fix-texinfo-warning.patch guile-1.8-1.8.8+1/debian/patches/fix-texinfo-warning.patch --- guile-1.8-1.8.8+1/debian/patches/fix-texinfo-warning.patch 1970-01-01 01:00:00.000000000 +0100 +++ guile-1.8-1.8.8+1/debian/patches/fix-texinfo-warning.patch 2013-12-24 20:58:45.000000000 +0000 @@ -0,0 +1,44 @@ +Description: fix texinfo warning +Bug-Debian: http://bugs.debian.org/711029 +Forwarded: no +Last-Update: 2013-10-11 + +--- guile-1.8-1.8.8+1.orig/doc/tutorial/guile-tut.texi ++++ guile-1.8-1.8.8+1/doc/tutorial/guile-tut.texi +@@ -446,7 +446,7 @@ get started, look at the books @cite{Sim + Schemer} from that list.} + + +-@subsection Hello World ++@section Hello World + @cindex hello world + + Our first program is the typical Scheme "hello world" program. Put the +@@ -535,12 +535,12 @@ guile> @kbd{(memq 4 ls)} + guile> @kbd{(if (memq 4 ls) + (display "hey, it's true!\n") + (display "dude, it's false\n"))} +- @print{hey, it's true!} ++ @print{} hey, it's true! + @result{} + guile> @kbd{(if (memq 12 ls) + (display "hey, it's true!\n") + (display "dude, it's false\n"))} +- @print{dude, it's false} ++ @print{} dude, it's false + @result{} + guile> @kbd{(memq 4 (reverse ls))} + @result{} (4 3 2 1) +@@ -656,9 +656,9 @@ And then invoke it with + (represent-matrix m + (lambda (x) (begin (display x) (display " "))) + (lambda (l) (begin (display "\n")))) +-@print{7 2 1 3 2 8 5 3 6} +-@print{4 1 1 1 3 8 9 8 1} +-@print{5 5 4 8 1 8 2 2 4} ++@print{} 7 2 1 3 2 8 5 3 6 ++@print{} 4 1 1 1 3 8 9 8 1 ++@print{} 5 5 4 8 1 8 2 2 4 + @end smalllisp + + @cindex objects diff -Nru guile-1.8-1.8.8+1/debian/patches/series guile-1.8-1.8.8+1/debian/patches/series --- guile-1.8-1.8.8+1/debian/patches/series 2012-03-18 15:07:56.000000000 +0000 +++ guile-1.8-1.8.8+1/debian/patches/series 2013-12-24 21:01:13.000000000 +0000 @@ -5,3 +5,5 @@ 0005-Don-t-access-uninitialised-memory-in-scm_to_sockaddr.patch 0006-Make-sockets.test-more-robust.patch 0007-Mark-Unused-modules-are-removed-gc-test-as-unresolve.patch +fix-texinfo-warning.patch +cherry-pick-texi-formatting.patch