Project

General

Profile

Actions

action #122584

closed

build-docs-nightly fails with "Error installing asciidoctor-pdf" size:M

Added by tinita over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
Due date:
2023-01-20
% Done:

0%

Estimated time:

Description

Observation

https://app.circleci.com/pipelines/github/os-autoinst/openQA/10818/workflows/b49a8733-6c22-4809-9374-e4c674bd6b96/jobs/101315

+ gem install asciidoctor-pdf -v 1.6.2
Fetching: polyglot-0.3.5.gem (100%)
Successfully installed polyglot-0.3.5
Fetching: treetop-1.6.12.gem (100%)
Successfully installed treetop-1.6.12
Fetching: concurrent-ruby-1.1.10.gem (100%)
Successfully installed concurrent-ruby-1.1.10
Fetching: safe_yaml-1.0.5.gem (100%)
Successfully installed safe_yaml-1.0.5
Fetching: ttfunk-1.7.0.gem (100%)
Successfully installed ttfunk-1.7.0
Fetching: pdf-core-0.9.0.gem (100%)
Successfully installed pdf-core-0.9.0
Fetching: prawn-2.4.0.gem (100%)
Successfully installed prawn-2.4.0
Fetching: prawn-icon-3.0.0.gem (100%)
Successfully installed prawn-icon-3.0.0
Fetching: rexml-3.2.5.gem (100%)
Successfully installed rexml-3.2.5
Fetching: addressable-2.8.1.gem (100%)
Successfully installed addressable-2.8.1
Fetching: css_parser-1.13.0.gem (100%)
ERROR:  Error installing asciidoctor-pdf:
    The last version of css_parser (~> 1.6) to support your Ruby & RubyGems was 1.12.0. Try installing it with `gem install css_parser -v 1.12.0` and then running the current command again
    css_parser requires Ruby version >= 2.7. The current ruby version is 2.5.0.

Acceptance criteria

  • AC1: nightly CI jobs are able to build docs again including PDF

Suggestions

  • Use new version of Ruby -> look for versions in leap 15.4 image, e.g. using podman
  • … or operating system -> switch to Tumbleweed, see https://github.com/os-autoinst/openQA/pull/4744
  • … or build ruby manually
  • … or find alternative to asciidoctor-pdf: Maybe we just need an extra tool converting the html to PDF instead of also using asciidoctor for that

Related issues 1 (0 open1 closed)

Related to openQA Project - action #110181: ci:build-docs broken and not clear how to use tools/generate-documentation Resolvedtinita2022-04-212022-05-06

Actions
Actions

Also available in: Atom PDF