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

Switch CI to GitHub Actions #93

Open
2 of 5 tasks
Kernald opened this issue Oct 4, 2022 · 3 comments
Open
2 of 5 tasks

Switch CI to GitHub Actions #93

Kernald opened this issue Oct 4, 2022 · 3 comments

Comments

@Kernald
Copy link
Collaborator

Kernald commented Oct 4, 2022

@Kernald
Copy link
Collaborator Author

Kernald commented Oct 10, 2022

Looking into the Ubuntu issue, building the same thing on an Ubuntu 20.04 VM (which seems to be what ubuntu-latest is at the moment on GitHub CI) works fine.

From https://github.com/ProdriveTechnologies/bazel-latex/actions/runs/3216875591/jobs/5259232208:

  • This isn't specific to Ubuntu 20.04 (same happens on 22.04)
  • It seems to be quite specific to biber, as the examples are failing but packages build fine. Output:
ERROR: /home/runner/work/bazel-latex/bazel-latex/example/BUILD.bazel:16:15: LuaLatex example/my_dvi_report.dvi failed: (Exit 1): tool_wrapper_py failed: error executing command bazel-out/host/bin/tool_wrapper_py '--dep-tool=external/texlive_bin__x86_64-linux/kpsewhich' '--dep-tool=external/texlive_bin__x86_64-linux/luatex' '--dep-tool=external/texlive_bin__x86_64-linux/bibtex' ... (remaining 11 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/bazel_latex_latexrun/latexrun exited (1) with:
error: Can't chmod() /tmp/par-72756e6e6572/cache-d31705f85102d579faeed3daf7f26b3d37aae75b/cc949ed7.so.27: No such file or directory 
 at /tmp/par-72756e6e6572/cache-d31705f85102d579faeed3daf7f26b3d37aae75b/inc/lib/IPC/Cmd.pm line 37.
Attempt to reload Time/HiRes.pm aborted.
Compilation failed in require at /tmp/par-72756e6e6572/cache-d31705f85102d579faeed3daf7f26b3d37aae75b/inc/lib/Data/Uniqid.pm line 27.
BEGIN failed--compilation aborted at /tmp/par-72756e6e6572/cache-d31705f85102d579faeed3daf7f26b3d37aae75b/inc/lib/Data/Uniqid.pm line 27.
Compilation failed in require at /tmp/par-72756e6e6572/cache-d31705f85102d579faeed3daf7f26b3d37aae75b/inc/lib/Biber/Entry/Name.pm line 14.
BEGIN failed--compilation aborted at /tmp/par-72756e6e6572/cache-d31705f85102d579faeed3daf7f26b3d37aae75b/inc/lib/Biber/Entry/Name.pm line 14.
Compilation failed in require at /tmp/par-72756e6e6572/cache-d31705f85102d579faeed3daf7f26b3d37aae75b/inc/lib/Biber/Utils.pm line 20.
BEGIN failed--compilation aborted at /tmp/par-72756e6e6572/cache-d31705f85102d579faeed3daf7f26b3d37aae75b/inc/lib/Biber/Utils.pm line 20.
Compilation failed in require at /tmp/par-72756e6e6572/cache-d31705f85102d579faeed3daf7f26b3d37aae75b/inc/lib/Biber/Internals.pm line 8.
BEGIN failed--compilation aborted at /tmp/par-72756e6e6572/cache-d31705f85102d579faeed3daf7f26b3d37aae75b/inc/lib/Biber/Internals.pm line 8.
Compilation failed in require at /loader/HASH(0x1b78540)/parent.pm line 16.
BEGIN failed--compilation aborted at /tmp/par-72756e6e6572/cache-d31705f85102d579faeed3daf7f26b3d37aae75b/inc/lib/Biber.pm line 5.
Compilation failed in require at script/biber line 17.
BEGIN failed--compilation aborted at script/biber line 17.
Traceback (most recent call last):
  File "/home/runner/.cache/bazel/_bazel_runner/035df82e99f563e965083a2d561c9b1c/sandbox/linux-sandbox/1/execroot/bazel_latex/bin/latexrun", line 1980, in <module>
    main()
  File "/home/runner/.cache/bazel/_bazel_runner/035df82e99f563e965083a2d561c9b1c/sandbox/linux-sandbox/1/execroot/bazel_latex/bin/latexrun", line 169, in main
    stable = run_tasks(tasks, args.max_iterations)
  File "/home/runner/.cache/bazel/_bazel_runner/035df82e99f563e965083a2d561c9b1c/sandbox/linux-sandbox/1/execroot/bazel_latex/bin/latexrun", line 558, in run_tasks
    task.run()
  File "/home/runner/.cache/bazel/_bazel_runner/035df82e99f563e965083a2d561c9b1c/sandbox/linux-sandbox/1/execroot/bazel_latex/bin/latexrun", line 655, in run
    result = self._execute()
  File "/home/runner/.cache/bazel/_bazel_runner/035df82e99f563e965083a2d561c9b1c/sandbox/linux-sandbox/1/execroot/bazel_latex/bin/latexrun", line 1657, in _execute
    inputs, auxnames, outbase = self.__parse_inputs(stdout, cwd, env)
  File "/home/runner/.cache/bazel/_bazel_runner/035df82e99f563e965083a2d561c9b1c/sandbox/linux-sandbox/1/execroot/bazel_latex/bin/latexrun", line 1749, in __parse_inputs
    outbase = auxnames[0][:-4]
IndexError: list index out of range

(The out of range is just luatex failing to parse the logs above and seems to just be a red herring.)

@Kernald
Copy link
Collaborator Author

Kernald commented Oct 19, 2022

I'll disable Ubuntu on GitHub Actions for now, as it's covered by Cirrus CI, to unblock other PRs.

Kernald added a commit to Kernald/bazel-latex that referenced this issue Oct 19, 2022
It's currently failing for no obvious reason, and Linux is already
covered by Cirrus CI. This is just a temporary measure to unblock other
PRs. (ProdriveTechnologies#93)
@solsjo
Copy link
Collaborator

solsjo commented Feb 28, 2023

Ubuntu and Mac OS X now runs in the github actions CI, in svg support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants