ports/183338: [mat/octave] installation stops with error of liboctave.texi

Mamoru Iwaki 1wkmmr at gmail.com
Sat Oct 26 16:00:00 UTC 2013


>Number:         183338
>Category:       ports
>Synopsis:       [mat/octave] installation stops with error of liboctave.texi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 16:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Mamoru Iwaki
>Release:        FreeBSD9-stable
>Organization:
>Environment:
>Description:
math/octave passed compilation stage, but stopped in installation stage, for a while.  This is because some lines in doc/liboctave/liboctave.texi are illegal or make info is old.  
>How-To-Repeat:
Just try to make install.  I's 100% surely reproducible.  

cd math/octave
make
make install

>Fix:
As a tentative workaround, I attached a new patch file of files/patch-octave-doc which includes a modification to the relevant lines in liboctave.texi.  


Patch attached with submission follows:


--- doc/interpreter/audio.texi	2013-02-21 21:37:50.000000000 +0100
+++ doc/interpreter/audio.texi	2013-05-01 23:23:21.338665377 +0200
@@ -146,18 +146,18 @@
 Load the RIFF/WAVE sound file @var{filename}, and return the samples
 in vector @var{y}.  If the file contains multichannel data, then
 @var{y} is a matrix with the channels represented as columns.
-
- at deftypefnx {Function File} {[@var{y}, @var{Fs}, @var{bps}] =} wavread (@var{filename})
+ at end deftypefn
+ at deftypefn {Function File} {[@var{y}, @var{Fs}, @var{bps}] =} wavread (@var{filename})
 Additionally return the sample rate (@var{fs}) in Hz and the number of bits
 per sample (@var{bps}).
-
- at deftypefnx {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n})
+ at end deftypefn
+ at deftypefn {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n})
 Read only the first @var{n} samples from each channel.
-
- at deftypefnx {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n1} @var{n2})
+ at end deftypefn
+ at deftypefn {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n1} @var{n2})
 Read only samples @var{n1} through @var{n2} from each channel.
-
- at deftypefnx {Function File} {[@var{samples}, @var{channels}] =} wavread (@var{filename}, "size")
+ at end deftypefn
+ at deftypefn {Function File} {[@var{samples}, @var{channels}] =} wavread (@var{filename}, "size")
 Return the number of samples (@var{n}) and channels (@var{ch})
 instead of the audio data.
 @seealso{@ref{doc-wavwrite,,wavwrite}}

--- doc/interpreter/io.texi	2013-02-21 21:37:51.000000000 +0100
+++ doc/interpreter/io.texi	2013-05-01 22:59:08.537582265 +0200
@@ -1391,22 +1391,22 @@
 for the file.  Valid values for @var{arch} are:
 
 @table @asis
- at samp{native}
+ at item @samp{native}
 The format of the current machine (this is the default).
 
- at samp{ieee-be}
+ at item @samp{ieee-be}
 IEEE big endian format.
 
- at samp{ieee-le}
+ at item @samp{ieee-le}
 IEEE little endian format.
 
- at samp{vaxd}
+ at item @samp{vaxd}
 VAX D floating format.
 
- at samp{vaxg}
+ at item @samp{vaxg}
 VAX G floating format.
 
- at samp{cray}
+ at item @samp{cray}
 Cray floating format.
 @end table
 

--- doc/interpreter/octave.texi	2013-02-21 21:19:23.000000000 +0100
+++ doc/interpreter/octave.texi	2013-05-01 22:58:26.561420772 +0200
@@ -129,7 +129,9 @@
 @sp 2
 @multitable @columnfractions 0.4 0.025 0.65
 @item
- at flushright @image{octave_logo,2.1in} @end flushright
+ at flushright
+ at image{octave_logo,2.1in}
+ at end flushright
 @tab
 @c this is a spacer column
 @tab

--- doc/interpreter/plot.texi	2013-02-21 21:37:52.000000000 +0100
+++ doc/interpreter/plot.texi	2013-05-01 23:07:36.586442176 +0200
@@ -2707,21 +2707,20 @@
 Set the data aspect ratio of the current axes.  The aspect ratio is
 a normalized 3-element vector representing the span of the x, y, and
 z-axes limits.
-
- at deftypefnx {Function File} {@var{data_aspect_ratio} =} daspect ( )
+ at end deftypefn
+ at deftypefn {Function File} {@var{data_aspect_ratio} =} daspect ( )
 Return the data aspect ratio of the current axes.
-
- at deftypefnx {Function File} {} daspect (@var{mode})
+ at end deftypefn
+ at deftypefn {Function File} {} daspect (@var{mode})
 Set the data aspect ratio mode of the current axes.
-
- at deftypefnx {Function File} {@var{data_aspect_ratio_mode} =} daspect ("mode")
+ at end deftypefn
+ at deftypefn {Function File} {@var{data_aspect_ratio_mode} =} daspect ("mode")
 Return the data aspect ratio mode of the current axes.
-
- at deftypefnx {Function File} {} daspect (@var{hax}, @dots{})
+ at end deftypefn
+ at deftypefn {Function File} {} daspect (@var{hax}, @dots{})
 Use the axes, with handle @var{hax}, instead of the current axes.
-
- at seealso{@ref{doc-axis,,axis}, @ref{doc-pbaspect,,pbaspect}, @ref{doc-xlim,,xlim}, @ref{doc-ylim,,ylim}, @ref{doc-zlim,,zlim}}
 @end deftypefn
+ at seealso{@ref{doc-axis,,axis}, @ref{doc-pbaspect,,pbaspect}, @ref{doc-xlim,,xlim}, @ref{doc-ylim,,ylim}, @ref{doc-zlim,,zlim}}
 
 
 @c pbaspect scripts/plot/pbaspect.m
@@ -2730,21 +2729,20 @@
 Set the plot box aspect ratio of the current axes.  The aspect ratio
 is a normalized 3-element vector representing the rendered lengths of
 the x, y, and z-axes.
-
- at deftypefnx {Function File} {@var{plot_box_aspect_ratio} =} pbaspect ( )
+ at end deftypefn
+ at deftypefn {Function File} {@var{plot_box_aspect_ratio} =} pbaspect ( )
 Return the plot box aspect ratio of the current axes.
-
- at deftypefnx {Function File} {} pbaspect (@var{mode})
+ at end deftypefn
+ at deftypefn {Function File} {} pbaspect (@var{mode})
 Set the plot box aspect ratio mode of the current axes.
-
- at deftypefnx {Function File} {@var{plot_box_aspect_ratio_mode} =} pbaspect ("mode")
+ at end deftypefn
+ at deftypefn {Function File} {@var{plot_box_aspect_ratio_mode} =} pbaspect ("mode")
 Return the plot box aspect ratio mode of the current axes.
-
- at deftypefnx {Function File} {} pbaspect (@var{hax}, @dots{})
+ at end deftypefn
+ at deftypefn {Function File} {} pbaspect (@var{hax}, @dots{})
 Use the axes, with handle @var{hax}, instead of the current axes.
-
- at seealso{@ref{doc-axis,,axis}, @ref{doc-daspect,,daspect}, @ref{doc-xlim,,xlim}, @ref{doc-ylim,,ylim}, @ref{doc-zlim,,zlim}}
 @end deftypefn
+ at seealso{@ref{doc-axis,,axis}, @ref{doc-daspect,,daspect}, @ref{doc-xlim,,xlim}, @ref{doc-ylim,,ylim}, @ref{doc-zlim,,zlim}}
 
 
 @node Three-dimensional Function Plotting
@@ -3147,7 +3145,7 @@
 @item "hide"
   Hide legend on the plot
 
- at itemx "toggle"
+ at item "toggle"
   Toggles between "hide" and "show"
 
 @item "boxon"
@@ -3162,7 +3160,7 @@
 @item "right"
   Place text to the right of the keys
 
- at itemx "off"
+ at item "off"
   Delete the legend object
 @end table
 @end deftypefn
@@ -4139,11 +4137,11 @@
 is sent to a file the size is determined by the plot box defined by
 the figure's "paperposition" property.
 
- at itemx -append
+ at item -append
   Appends the PS, or PDF output to a pre-existing file of the
 same type.
 
- at itemx -r at var{NUM}
+ at item -r at var{NUM}
   Resolution of bitmaps in pixels per inch.  For both metafiles and
 SVG the default is the screen resolution, for other it is 150 dpi.
 To specify screen resolution, use "-r0".
@@ -6296,15 +6294,15 @@
 A character indicating a plot marker to be place at each data point, or
 @code{"none"}, meaning no markers should be displayed.
 
- at itemx markeredgecolor
+ at item markeredgecolor
 The color of the edge around the marker, or @code{"auto"}, meaning that
 the edge color is the same as the face color.  @xref{Colors}.
 
- at itemx markerfacecolor
+ at item markerfacecolor
 The color of the marker, or @code{"none"} to indicate that the marker
 should not be filled.  @xref{Colors}.
 
- at itemx markersize
+ at item markersize
 A number specifying the size of the marker.  The default is 1.  A value
 of 2 is twice as large as the default, etc.
 @end table
@@ -6442,7 +6440,8 @@
 @deftypefn {Function File} {@var{value} =} getappdata (@var{h}, @var{name})
 Return the @var{value} for named application data for the object(s) with
 handle(s) @var{h}.
- at deftypefnx {Function File} {@var{appdata} =} getappdata (@var{h})
+ at end deftypefn
+ at deftypefn {Function File} {@var{appdata} =} getappdata (@var{h})
 Return a structure, @var{appdata}, whose fields correspond to the appdata
 properties.
 @end deftypefn

--- doc/interpreter/poly.texi	2013-02-21 21:37:52.000000000 +0100
+++ doc/interpreter/poly.texi	2013-05-01 23:28:59.515000917 +0200
@@ -82,8 +82,8 @@
 (@var{x}- at var{mu}(1))/@var{mu}(2).
 If @var{x} is a vector or matrix, the polynomial is evaluated for each of
 the elements of @var{x}.
-
- at deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s})
+ at end deftypefn
+ at deftypefn {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s})
 @deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s}, @var{mu})
 In addition to evaluating the polynomial, the second output
 represents the prediction interval, @var{y} +/- @var{dy}, which

--- doc/interpreter/set.texi	2013-02-21 21:37:52.000000000 +0100
+++ doc/interpreter/set.texi	2013-05-01 23:30:00.161810855 +0200
@@ -150,8 +150,9 @@
        3   4
 @end group
 @end example
+ at end deftypefn
 
- at deftypefnx {Function File} {[@var{c}, @var{ia}, @var{ib}] =} union (@var{a}, @var{b})
+ at deftypefn {Function File} {[@var{c}, @var{ia}, @var{ib}] =} union (@var{a}, @var{b})
 
 Return index vectors @var{ia} and @var{ib} such that @code{a(ia)} and
 @code{b(ib)} are disjoint sets whose union is @var{c}.

--- doc/interpreter/signal.texi	2013-02-21 21:37:52.000000000 +0100
+++ doc/interpreter/signal.texi	2013-05-01 23:31:41.111833440 +0200
@@ -454,17 +454,17 @@
 
 For fastest computation, @var{n} should factor into a small number of
 small primes.
-
- at deftypefnx {Function File} {@var{h} =} freqz (@var{b}, @var{a}, @var{w})
+ at end deftypefn
+ at deftypefn {Function File} {@var{h} =} freqz (@var{b}, @var{a}, @var{w})
 Evaluate the response at the specific frequencies in the vector @var{w}.
 The values for @var{w} are measured in radians.
-
- at deftypefnx {Function File} {[@dots{}] =} freqz (@dots{}, @var{Fs})
+ at end deftypefn
+ at deftypefn {Function File} {[@dots{}] =} freqz (@dots{}, @var{Fs})
 Return frequencies in Hz instead of radians assuming a sampling rate
 @var{Fs}.  If you are evaluating the response at specific frequencies
 @var{w}, those frequencies should be requested in Hz rather than radians.
-
- at deftypefnx {Function File} {} freqz (@dots{})
+ at end deftypefn
+ at deftypefn {Function File} {} freqz (@dots{})
 Plot the pass band, stop band and phase response of @var{h} rather
 than returning them.
 @end deftypefn

--- doc/interpreter/strings.texi	2013-02-21 21:37:52.000000000 +0100
+++ doc/interpreter/strings.texi	2013-05-01 22:27:29.646311770 +0200
@@ -1136,7 +1136,7 @@
 @item %s
 The word is parsed as a string.
 
- at itemx %f
+ at item %f
 @itemx %n
 The word is parsed as a number and converted to double.
 

--- doc/interpreter/system.texi	2013-02-21 21:37:52.000000000 +0100
+++ doc/interpreter/system.texi	2013-05-01 23:45:09.981978551 +0200
@@ -839,7 +839,7 @@
 @deftypefnx {Function File} {} datetick (@var{axis}, @var{form})
 @deftypefnx {Function File} {} datetick (@dots{}, "keeplimits")
 @deftypefnx {Function File} {} datetick (@dots{}, "keepticks")
- at deftypefnx {Function File} {} datetick (@dots{ax}, @dots{})
+ at comment @deftypefnx {Function File} {} datetick (@dots{ax}, @dots{})
 Add date formatted tick labels to an axis.  The axis the apply the
 ticks to is determined by @var{axis} that can take the values "x",
 "y" or "z".  The default value is "x".  The formatting of the labels is
@@ -1261,9 +1261,10 @@
 interpreted as filename globbing patterns (as they are used by Unix shells).
 Within a pattern
 @table @code
- at itemx *
+
+ at item *
 matches any string, including the null string,
- at itemx ?
+ at item ?
 matches any single character, and
 
 @item [@dots{}]
@@ -2789,8 +2790,8 @@
 Display a header containing the current Octave version number, license
 string and operating system, followed by the installed package names,
 versions, and installation directories.
-
- at deftypefnx {Function File} {v =} ver ()
+ at end deftypefn
+ at deftypefn {Function File} {v =} ver ()
 Return a vector of structures, respecting Octave and each installed package.
 The structure includes the following fields.
 
@@ -2807,11 +2808,11 @@
 @item Date
 Date respecting the version/revision.
 @end table
-
- at deftypefnx {Function File} {v =} ver ("Octave")
+ at end deftypefn
+ at deftypefn {Function File} {v =} ver ("Octave")
 Return version information for Octave only.
-
- at deftypefnx {Function File} {v =} ver (@var{package})
+ at end deftypefn
+ at deftypefn {Function File} {v =} ver (@var{package})
 Return version information for @var{package}.
 
 @seealso{@ref{doc-version,,version}, @ref{doc-octave_config_info,,octave_config_info}}
@@ -2878,19 +2879,19 @@
 @anchor{doc-license}
 @deftypefn {Function File} {} license
 Display the license of Octave.
-
- at deftypefnx {Function File} {} license ("inuse")
+ at end deftypefn
+ at deftypefn {Function File} {} license ("inuse")
 Display a list of packages currently being used.
-
- at deftypefnx {Function File} {@var{retval} =} license ("inuse")
+ at end deftypefn
+ at deftypefn {Function File} {@var{retval} =} license ("inuse")
 Return a structure containing the fields @code{feature} and @code{user}.
-
- at deftypefnx {Function File} {@var{retval} =} license ("test", @var{feature})
+ at end deftypefn
+ at deftypefn {Function File} {@var{retval} =} license ("test", @var{feature})
 Return 1 if a license exists for the product identified by the string
 @var{feature} and 0 otherwise.  The argument @var{feature} is case
 insensitive and only the first 27 characters are checked.
-
- at deftypefnx {Function File} {} license ("test", @var{feature}, @var{toggle})
+ at end deftypefn
+ at deftypefn {Function File} {} license ("test", @var{feature}, @var{toggle})
 Enable or disable license testing for @var{feature}, depending on
 @var{toggle}, which may be one of:
 
@@ -2902,8 +2903,8 @@
 @item "disable"
 Future tests for the specified license of @var{feature} return 0.
 @end table
-
- at deftypefnx {Function File} {@var{retval} =} license ("checkout", @var{feature})
+ at end deftypefn
+ at deftypefn {Function File} {@var{retval} =} license ("checkout", @var{feature})
 Check out a license for @var{feature}, returning 1 on success and 0
 on failure.
 
--- doc/liboctave/liboctave.texi	2013-02-22 05:19:23.000000000 +0900
+++ doc/liboctave/liboctave.texi	2013-10-27 00:04:40.000000000 +0900
@@ -80,10 +80,10 @@
 @end ifnottex
 
 @titlepage
- at title{Octave C++ Classes}
- at subtitle{Edition 1.0 for Octave version @value{VERSION}}
- at subtitle{September 1993}
- at author{John W. Eaton}
+ at title Octave C++ Classes
+ at subtitle Edition 1.0 for Octave version @value{VERSION}
+ at subtitle September 1993
+ at author John W. Eaton
 @page
 @vskip 0pt plus 1filll
 Copyright @copyright{} 1996, 1997 John W. Eaton.


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list