Closed asciidoctor-updateclibot[bot] closed 3 months ago
I can reproduce locally using the 1.67.0 image (I have a M2 mac so I need to emulate linux/amd64
):
$ docker run --user=root -ti -v $(pwd)/tests:/documents --entrypoint=bash --platform=linux/amd64 asciidoctor/docker-asciidoctor:1.67.0
8215fe7092d9:/documents# asciidoctor -D /documents/tmp -r asciidoctor-kroki \
/documents/fixtures/sample-with-diagram.adoc
8215fe7092d9:/documents# echo $?
0
8215fe7092d9:/documents# gem install --no-document asciidoctor:2.0.22
Fetching asciidoctor-2.0.22.gem
Successfully installed asciidoctor-2.0.22
1 gem installed
A new release of RubyGems is available: 3.4.10 → 3.5.6!
Run `gem update --system 3.5.6` to update your installation.
8215fe7092d9:/documents# asciidoctor -D /documents/tmp -r asciidoctor-kroki /documents/fixtures/sample-with-diagram.adoc
asciidoctor: FAILED: /documents/fixtures/sample-with-diagram.adoc: Failed to load AsciiDoc document - uninitialized constant AsciidoctorExtensions::KrokiDiagram::Base64
Use --trace to show backtrace
Exact error seems to be:
uninitialized constant AsciidoctorExtensions::KrokiDiagram::Base64
(but it could be a qemu error in my case)
Asciidoctor core no longer loads Base64. At this point, it's a burned library. It should no longer be used by any project in Asciidoctor. The low-level String#pack and String#unpack1 methods should be used instead.
See https://github.com/asciidoctor/asciidoctor/issues/4561 and https://twitter.com/mojavelinux/status/1765870415753183732 for context.
I'm not sure why this PR has been merged as I did no further action since Dan's comment above.
However GitHub indicates I've merged it: I believe I've left the auto-merge feature and the checks API said "green" at a moment on time.
However #437 is open with the same change which, again, unexpected : I believe GitHub actions had issue recently. Let's continue in #437
Bump Asciidoctor version
Update the value of ARG asciidoctor_version in the Dockerfile
changed lines [16] of file "/tmp/updatecli/github/asciidoctor/docker-asciidoctor/Dockerfile"
2.0.22
Update the key ASCIIDOCTOR_VERSION in the test harness
1 file(s) updated with "ASCIIDOCTOR_VERSION=2.0.22": * tests/asciidoctor.bats
2.0.22
Update the key ASCIIDOCTOR_VERSION in the README.adoc file
1 file(s) updated with ":ASCIIDOCTOR_VERSION: 2.0.22": * README.adoc
2.0.22
Created automatically by Updatecli
Options:
Most of Updatecli configuration is done via its manifest(s).
Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!