Re: [R] Building R-4,3,3 fails

2024-04-09 Thread Rich Shepard

On Tue, 9 Apr 2024, Ivan Krylov wrote:


That's fine, R will run straight from the build directory. It has to do
so in order to compile the vignettes.


Ivan,

That's good to know. Thanks.


But let's skip this step. Here's reshape.tex from R-4.3.3:
https://0x0.st/XidU.tex/reshape.tex

(Feel free to inspect the plain text before running LaTeX on it. TeX
has primitives that may execute arbitrary commands.)

If you run texi2pdf -V reshape.tex on your system, does it break in a
similar manner? What about pdflatex reshape.tex?


Will do. Busy this week, probably get back to this on the weekend.

Regards,

Rich

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Building R-4,3,3 fails

2024-04-09 Thread Rich Shepard

On Tue, 9 Apr 2024, Ivan Krylov wrote:


At this point in the build, R already exists, is quite operable and
even has all the recommended packages installed. The build system then
uses this freshly compiled R to run Sweave on the vignettes. Let me
break the build in a similar manner and see what happens:


Ivan,

The R.SlackBuild script does not install a package unless the build
compeletes with exit code 0. Because building the vignettes failed it exited
with a non-0 exit code and is not installed. This is standard
SlackBuilds.org practice for non-core packages.

I could send you the build script off the mail list, but like all linux
distros each has a reason for building packages as they do.

Thanks,

Rich

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Building R-4,3,3 fails

2024-04-08 Thread Rich Shepard

On Mon, 8 Apr 2024, Ivan Krylov wrote:


A Web search suggests that texi2dvi may output this message by mistake
when the TeX installation is subject to a different problem:
https://web.archive.org/web/20191006123002/https://lists.gnu.org/r/bug-texinfo/2016-10/msg00036.html


Ivan,

That thread is 8 years old and may no longer apply to TeXLive2024.


Find the reshape.Rnw file and try running bin/R CMD Sweave
path/to/reshape.Rnw. It should produce reshape.tex. When you run pdflatex
reshape.tex, do you get a more useful error message?


The error occurs when building R. Since R's not installed I cannot run it to
build reshape.tex.

Thanks,

Rich

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Building R-4,3,3 fails

2024-04-08 Thread Rich Shepard

On Mon, 8 Apr 2024, Ivan Krylov wrote:


Questions about building R do get asked here and R-devel. Since you're
compiling a released version of R and we don't have an R-SIG-Slackware
mailing list, R-help sounds like the right place.


Ivan,

Okay:


What are the last lines of the build log, containing the error message? If
it's a LaTeX error, it may be that you need some extra TeX Live packages,
there is a list in R-admin:
https://cran.r-project.org/doc/manuals/R-admin.html#Making-the-manuals


* DONE (mgcv)
make[2]: Leaving directory '/tmp/SBo/R-4.3.3/src/library/Recommended'
make[1]: Leaving directory '/tmp/SBo/R-4.3.3/src/library/Recommended'
make[1]: Entering directory '/tmp/SBo/R-4.3.3/src/library'
building/updating vignettes for package 'grid' ...
building/updating vignettes for package 'parallel' ...
building/updating vignettes for package 'utils' ...
building/updating vignettes for package 'stats' ...
processing 'reshape.Rnw'
Error: compiling TeX file 'reshape.tex' failed with message:
Running 'texi2dvi' on 'reshape.tex' failed.
Messages:
/usr/bin/texi2dvi: TeX neither supports -recorder nor outputs \openout lines in 
its log file
Execution halted
make[1]: *** [Makefile:103: vignettes] Error 1
make[1]: Leaving directory '/tmp/SBo/R-4.3.3/src/library'
make: *** [Makefile:81: vignettes] Error 2
# (running time: 12m3.057s)

I don't know why /usr/bin/texi2dvi doesn't support -recorder nor the other
error. TeXLive2023 had no issues building R-4.1.1.

Thanks,

Rich

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.