Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473756 - sci-mathematics/octave-3.6.4 with sys-apps/texinfo-5.1: error about misplaced braces
Summary: sci-mathematics/octave-3.6.4 with sys-apps/texinfo-5.1: error about misplaced...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-18 23:11 UTC by Casper Ti. Vector
Modified: 2013-06-19 16:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Casper Ti. Vector 2013-06-18 23:11:00 UTC
With sys-apps/texinfo-5.1 installed, sci-mathematics/octave-3.6.4 produces errors about misplaced braces in the src_install phase.


Reproducible: Always

Steps to Reproduce:
1. emerge '=sys-apps/texinfo-5.1'
2. emerge '=sci-mathematics/octave-3.6.4'

Actual Results:  
../../../doc/liboctave/liboctave.texi:83: misplaced {
../../../doc/liboctave/liboctave.texi:83: misplaced }
../../../doc/liboctave/liboctave.texi:84: misplaced {
../../../doc/liboctave/liboctave.texi:84: misplaced }
../../../doc/liboctave/liboctave.texi:85: misplaced {
../../../doc/liboctave/liboctave.texi:85: misplaced }
../../../doc/liboctave/liboctave.texi:86: misplaced {
../../../doc/liboctave/liboctave.texi:86: misplaced }
make[1]: *** [../../../doc/liboctave/liboctave.info] Error 1
make[1]: Leaving directory `/home/amod/workspace/octave/build/doc/liboctave'


Expected Results:  
The package should merge smoothly.


Excerpt from <https://lists.gnu.org/archive/html/info-gnu/2013-03/msg00007.html>:

> . @-commands are now recognized in raw format blocks.  Therefore, for
>   example, lone @, { and } characters in @tex, @html and similar
>   environments must be converted to the normal @@, @{, and @} commands.

Following is a patch (seems quite short, so not uploading it as an attachment).
I'm not sure whether this goes well with older texinfo versions, and you might need to make a test.

diff -Nur octave-3.6.4-orig/doc/liboctave/liboctave.texi octave-3.6.4/doc/liboctave/liboctave.texi
--- octave-3.6.4-orig/doc/liboctave/liboctave.texi	2013-02-22 04:19:23.000000000 +0800
+++ octave-3.6.4/doc/liboctave/liboctave.texi	2013-06-19 06:46:26.701783000 +0800
@@ -80,10 +80,10 @@
 @end ifnottex
 
 @titlepage
-@title{Octave C++ Classes}
-@subtitle{Edition 1.0 for Octave version @value{VERSION}}
-@subtitle{September 1993}
-@author{John W. Eaton}
+@title@{Octave C++ Classes@}
+@subtitle@{Edition 1.0 for Octave version @value{VERSION}@}
+@subtitle@{September 1993@}
+@author@{John W. Eaton@}
 @page
 @vskip 0pt plus 1filll
 Copyright @copyright{} 1996, 1997 John W. Eaton.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-19 11:01:43 UTC
  22 May 2013; Sébastien Fabbro <bicatali@gentoo.org>
  +files/octave-3.6.4-texinfo.patch, octave-3.6.4.ebuild:
  Fixed texinfo build thanks Denis Duchier (bug #465536)
Comment 2 Casper Ti. Vector 2013-06-19 11:24:26 UTC
(In reply to Jeroen Roovers from comment #1)
>   22 May 2013; Sébastien Fabbro <bicatali@gentoo.org>
>   +files/octave-3.6.4-texinfo.patch, octave-3.6.4.ebuild:
>   Fixed texinfo build thanks Denis Duchier (bug #465536)

Yeah, I have seen that patch, but it did not (at least seemingly) cope with the brace issue.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2013-06-19 16:17:38 UTC
+  19 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org>
+  -files/octave-3.6.3-rcond.patch, -octave-3.6.3.ebuild,
+  files/octave-3.6.4-texinfo.patch, octave-3.6.4.ebuild:
+  More texinfo fix, thanks Caster Ti.Vector (bug #473756)
+