This bug was reported by a debian user
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551254

Texmacs 1.0.7.2 fails to build on amd64 machine running Debian with the
following errors.

> make[1]: Entering directory
`/build/user-texmacs_1.0.7.2-1-amd64-pGAPKf/texmacs-1.0.7.2'
> for i
in ./config.guess ./misc/autotroll/config.guess ./config.sub 
./misc/autotroll/config.sub  ;
do \
>               if test -e $i.cdbs-orig ; then \
>                       mv $i.cdbs-orig $i ; \
>               fi ; \
>       done
> make[1]: Leaving directory
`/build/user-texmacs_1.0.7.2-1-amd64-pGAPKf/texmacs-1.0.7.2'
> dpatch apply-all
> applying patch 01_american to ./ ... ok.
> applying patch 03_mupad to ./ ... ok.
> applying patch 04_axiom to ./ ... ok.
> applying patch 06_rebuild-r to ./ ...* installing *source*
package 'TeXmacs' ...
> ** R
> ** demo
> ** preparing package for lazy loading
> ** help
> Warning: ./man/TeXmacs.Rd:44: unexpected UNKNOWN '\eof'
> Warning: ./man/TeXmacs.Rd:84: unexpected UNKNOWN '\eof'
> Warning: ./man/TeXmacs.Rd:23: All text must be in a section
> Warning: ./man/TeXmacs.Rd: Only one \examples section is allowed: the
first will be used
> Error : ./man/TeXmacs.Rd: Sections \title, and \name must exist and be
unique in Rd files
> ERROR: installing Rd objects failed for package 'TeXmacs'
> *
removing 
'/build/user-texmacs_1.0.7.2-1-amd64-pGAPKf/texmacs-1.0.7.2/plugins/r/r/TeXmacs'
> * restoring
previous 
'/build/user-texmacs_1.0.7.2-1-amd64-pGAPKf/texmacs-1.0.7.2/plugins/r/r/TeXmacs'
>  failed.
> make: *** [debian/stamp-patched] Error 1

The problem appears to be with the multiple declarations of \name, \title.
For example, commenting out lines 45 and 50, fixes the problem. The new
Texmacs.Rd is attached for your reference. However, I do not know if this
is the right fix. If there is a better solution, could you please let me
know?


hth
raju

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/
\name{TeXmacsView}
\alias{start.view}
\alias{end.view}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ function to start postscript TeXmacs interface  }
\description{
   Usually one uses the X11 device when interacting with TeXmacs. When
  X11 is not available (for example in a remote login, start.view() will
  open a postscript file with all defaults set correctly. end.view()
  will close that file. While working, use v() to insert the current
  file into the TeXmacs buffer.
}
\usage{
start.view()
end.view()
}
%- maybe also 'usage' for other objects documented here.
\details{
   
}
\author{ Michael Lachmann Tamarlin }

Make other sections like Warning with \section{Warning }{....} 
\seealso{ See also \code{\link{TeXmacs}},  }
\examples{
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--    or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function()
  {
    dev.off()
    op <- options("texmacs")$texmacs
    op$nox11 <- F
    options(texmacs=op)
    unlink(op$file)
  }
}
\keyword{ TeXmacs }% at least one, from doc/KEYWORDS
\keyword{ view }% __ONLY ONE__ keyword per line
\keyword{ device }
\keyword{ graphics }
EOF
%\name{view}
\alias{v}
\alias{plotv}
\alias{pointsv}
\alias{linev}
% \title{ Insert current graphic into TeXmacs }
\description{
  Once a graph is plotted and ready to go into the TeXmacs buffer,
  you insert it into the buffer using the v() function. The plotv,
  linev, and pointsv are just shortcuts for plot and then v. 
}
\usage{
v(width = 4, height = 4, ...)
plotv(...)
pointsv(...)
linev(...)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{width}{ Width of graph in inches. }
  \item{height}{ Height of graph in inches. }
  \item{\dots}{ Additional arguments for postscript. }
}
\author{ Michael Lachmann Tamarlin }

\seealso{ See Also \code{\link{TeXmacs}},  }
\examples{
x<-(0:600)/100;
plot(x,sin(x),type="l");
lines(x,cos(x),col=2);
legend(0,-0.5,c("sin(x)","cos(x)"),lty=1,col=c(1:2));
v();
plotv(x,sin(60/x),type="l");
}
\keyword{ TeXmacs }% at least one, from doc/KEYWORDS
\keyword{ graphics }% __ONLY ONE__ keyword per line
\keyword{ view }% __ONLY ONE__ keyword per line
\keyword{ device }% __ONLY ONE__ keyword per line
\keyword{ plot }% __ONLY ONE__ keyword per line
EOF

_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to