Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] R macOS and Windows jobs failing with errors related to installing LaTeX tools #5802

Closed
jameslamb opened this issue Mar 24, 2023 · 1 comment · Fixed by #5807
Closed

Comments

@jameslamb
Copy link
Collaborator

Description

For the last 2 days, all R macOS CI jobs have been failing with errors like the following

==> Running `brew cleanup qpdf`...
==> Caveats
You must restart your terminal window for the installation of MacTex CLI tools to take effect.
Alternatively, Bash and Zsh users can run the command:

  eval "$(/usr/libexec/path_helper)"

==> Downloading https://mirror.ctan.org/systems/mac/mactex/mactex-basictex-20220314.pkg
==> Downloading from https://mirror.math.princeton.edu/pub/CTAN/systems/mac/mactex/mactex-basictex-20220314.pkg
curl: (22) The requested URL returned error: 404
Error: Download failed on Cask 'basictex' with message: Download failed: https://mirror.ctan.org/systems/mac/mactex/mactex-basictex-20220314.pkg
Error: Process completed with exit code 2[55](https://github.com/microsoft/LightGBM/actions/runs/4497187259/jobs/7935165656#step:8:56).

And all CRAN-style Windows R CI jobs have been failing with errors like the following encountered during R CMD check.

* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
* checking PDF version of manual without hyperrefs or index ... ERROR
Re-running with no redirection of stdout/stderr.
Hmm ... looks like a package
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  : 

  pdflatex is not available

Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  : 

  pdflatex is not available

You may want to clean up by 'rm -Rf Error in running tools::texi2pdf()
C:/Users/RUNNER~1/AppData/Local/Temp/Rtmp61WeNc/Rd2pdfee030646015'

Reproducible example

See, for example, recent builds from master: https://github.com/microsoft/LightGBM/actions/runs/4497187259/jobs/7935166021

Additional Comments

Not the first time that TeX installation has broken this project's CI 😭

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed.
To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues
including a reference to this.

@github-actions github-actions bot removed the blocking label Aug 15, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant