Package Details: asciidoctor-pdf 2.3.15-1

Git Clone URL: https://aur.archlinux.org/asciidoctor-pdf.git (read-only, click to copy)
Package Base: asciidoctor-pdf
Description: Translate asciidoctor directly to pdf
Upstream URL: https://github.com/asciidoctor/asciidoctor-pdf
Licenses: MIT
Submitter: gaelic
Maintainer: carsme
Last Packager: carsme
Votes: 13
Popularity: 0.134843
First Submitted: 2019-02-19 13:13 (UTC)
Last Updated: 2024-04-01 08:43 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

101100 commented on 2023-08-29 17:23 (UTC)

I attempted the process that @ThinkPad described. I removed ruby and asciidoctor-pdf. Then I deleted .local/share/gem and cleared the cache for yay and tried again and got the four failed tests relating to video and audio posters and captions.

culyun commented on 2023-08-24 10:45 (UTC)

I use paru.

Here's the tail end of the build..


Successfully installed asciidoctor-pdf-2.3.9 Parsing documentation for asciidoctor-pdf-2.3.9 Parsing sources... 100% [71/71] lib/asciidoctor/pdf/version.rb Installing ri documentation for asciidoctor-pdf-2.3.9 Done installing documentation for asciidoctor-pdf after 2 seconds 1 gem installed removed 'tmp_install//usr/lib/ruby/gems/3.0.0/cache/asciidoctor-pdf-2.3.9.gem' removed directory 'tmp_install//usr/lib/ruby/gems/3.0.0/cache/' ==> Starting check()... ...........................................................................................................................................................................F..F..................................................................................................................................................................................................................................................Syntax Warning: Mismatch between font type and embedded font file Syntax Warning: Mismatch between font type and embedded font file .........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.F................................

Failures:

1) Asciidoctor::PDF::Converter - Audio should replace audio block with right pointer, path to audio file, and audio label Failure/Error: (expect pdf.lines).to eql expected_lines

   expected: ["before", "► /home/steve/.cache/paru/clone/asciidoctor-pdf/src/asciidoctor-pdf-2.3.9/spec/fixtures/podcast.mp3 (audio)", "after"]
        got: ["before", "► /home/steve/.cache/paru/clone/asciidoctor-pdf/src/asciidoctor-pdf-2.3.9/spec/fixtures/podcast.mp3", "(audio)", "after"]

   (compared using eql?)
 # ./spec/audio_spec.rb:21:in `block (2 levels) in <top (required)>'

2) Asciidoctor::PDF::Converter - Audio should show caption for audio if title is specified Failure/Error: (expect pdf.lines).to eql [%(\uf04b\u00a0#{fixture_file 'podcast-e1.mp3'} (audio)), 'Episode 1 of my podcast']

   expected: [" /home/steve/.cache/paru/clone/asciidoctor-pdf/src/asciidoctor-pdf-2.3.9/spec/fixtures/podcast-e1.mp3 (audio)", "Episode 1 of my podcast"]
        got: [" /home/steve/.cache/paru/clone/asciidoctor-pdf/src/asciidoctor-pdf-2.3.9/spec/fixtures/podcast-", "e1.mp3 (audio)", "Episode 1 of my podcast"]

   (compared using eql?)
 # ./spec/audio_spec.rb:56:in `block (2 levels) in <top (required)>'

3) Asciidoctor::PDF::Converter - Video Local should replace video with video path and play icon if poster not specified Failure/Error: (expect pdf.lines).to eql [%(\uf04b\u00a0#{fixture_file 'asciidoctor.mp4'} (video))]

   expected: [" /home/steve/.cache/paru/clone/asciidoctor-pdf/src/asciidoctor-pdf-2.3.9/spec/fixtures/asciidoctor.mp4 (video)"]
        got: [" /home/steve/.cache/paru/clone/asciidoctor-pdf/src/asciidoctor-pdf-", "2.3.9/spec/fixtures/asciidoctor.mp4 (video)"]

   (compared using eql?)
 # ./spec/video_spec.rb:22:in `block (3 levels) in <top (required)>'

4) Asciidoctor::PDF::Converter - Video Local should show caption for video with no poster if title is specified Failure/Error: (expect pdf.lines).to eql [%(\uf04b\u00a0#{fixture_file 'asciidoctor.mp4'} (video)), 'Asciidoctor training']

   expected: [" /home/steve/.cache/paru/clone/asciidoctor-pdf/src/asciidoctor-pdf-2.3.9/spec/fixtures/asciidoctor.mp4 (video)", "Asciidoctor training"]
        got: [" /home/steve/.cache/paru/clone/asciidoctor-pdf/src/asciidoctor-pdf-", "2.3.9/spec/fixtures/asciidoctor.mp4 (video)", "Asciidoctor training"]

   (compared using eql?)
 # ./spec/video_spec.rb:43:in `block (3 levels) in <top (required)>'

Finished in 9 minutes 22 seconds (files took 1.69 seconds to load) 2141 examples, 4 failures

Failed examples:

rspec ./spec/audio_spec.rb:6 # Asciidoctor::PDF::Converter - Audio should replace audio block with right pointer, path to audio file, and audio label rspec ./spec/audio_spec.rb:48 # Asciidoctor::PDF::Converter - Audio should show caption for audio if title is specified rspec ./spec/video_spec.rb:15 # Asciidoctor::PDF::Converter - Video Local should replace video with video path and play icon if poster not specified rspec ./spec/video_spec.rb:35 # Asciidoctor::PDF::Converter - Video Local should show caption for video with no poster if title is specified

==> ERROR: A failure occurred in check(). Aborting... error: failed to build 'asciidoctor-pdf-2.3.9-2': error: packages failed to build: asciidoctor-pdf-2.3.9-2

FunctionalHacker commented on 2023-08-24 06:44 (UTC)

I was able to build the package in a clean chroot with aurutils

aur sync -c asciidoctor-pdf

culyun commented on 2023-08-24 03:13 (UTC)

2.3.9-2 won't build for me either.

It's failing unit tests.

FunctionalHacker commented on 2023-08-22 06:34 (UTC)

I would like to add that I'm also getting failed checks during building. Changing the locale did not help.

SpotlightKid commented on 2023-08-07 18:00 (UTC)

@carsme: my local is de_DE.utf8. I'm also on Manjaro, fully updated. Maybe some of the ruby gems still have older versions here and cause this?

I get the same errors with LC_ALL=en_US.UTF-8 pikaur -Syu --rebuild asciidoctor-pdf.

I then checked out the package repo and ran LC_ALL=en_US.UTF-8 makepkg -s. Interestingly, I get only three test failures then, instead of four.

Failed examples:

rspec ./spec/audio_spec.rb:48 # Asciidoctor::PDF::Converter - Audio should show caption for audio if title is specified
rspec ./spec/video_spec.rb:15 # Asciidoctor::PDF::Converter - Video Local should replace video with video path and play icon if poster not specified
rspec ./spec/video_spec.rb:35 # Asciidoctor::PDF::Converter - Video Local should show caption for video with no poster if title is specified

carsme commented on 2023-08-07 17:05 (UTC)

@SpotlightKid I'm unable to replicate these errors, neither on my system nor in a chroot.

What locale are using? Could you try setting it temporarily to en_US.UTF-8 and see if that fixes the issue?

SpotlightKid commented on 2023-08-07 16:18 (UTC)

I get failing checks when trying to build:

==> Beginne check()...
...........................................................................................................................................................................F..F..................................................................................................................................................................................................................................................Syntax Warning: Mismatch between font type and embedded font file
Syntax Warning: Mismatch between font type and embedded font file
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.F................................

Failures:

  1) Asciidoctor::PDF::Converter - Audio should replace audio block with right pointer, path to audio file, and audio label
     Failure/Error: (expect pdf.lines).to eql expected_lines

       expected: ["before", "► /home/chris/.cache/pikaur/build/asciidoctor-pdf/src/asciidoctor-pdf-2.3.9/spec/fixtures/podcast.mp3 (audio)", "after"]
            got: ["before", "► /home/chris/.cache/pikaur/build/asciidoctor-pdf/src/asciidoctor-pdf-", "2.3.9/spec/fixtures/podcast.mp3 (audio)", "after"]

       (compared using eql?)
     # ./spec/audio_spec.rb:21:in `block (2 levels) in <top (required)>'

  2) Asciidoctor::PDF::Converter - Audio should show caption for audio if title is specified
     Failure/Error: (expect pdf.lines).to eql [%(\uf04b\u00a0#{fixture_file 'podcast-e1.mp3'} (audio)), 'Episode 1 of my podcast']

       expected: [" /home/chris/.cache/pikaur/build/asciidoctor-pdf/src/asciidoctor-pdf-2.3.9/spec/fixtures/podcast-e1.mp3 (audio)", "Episode 1 of my podcast"]
            got: [" /home/chris/.cache/pikaur/build/asciidoctor-pdf/src/asciidoctor-pdf-2.3.9/spec/fixtures/podcast-", "e1.mp3 (audio)", "Episode 1 of my podcast"]

       (compared using eql?)
     # ./spec/audio_spec.rb:56:in `block (2 levels) in <top (required)>'

  3) Asciidoctor::PDF::Converter - Video Local should replace video with video path and play icon if poster not specified
     Failure/Error: (expect pdf.lines).to eql [%(\uf04b\u00a0#{fixture_file 'asciidoctor.mp4'} (video))]

       expected: [" /home/chris/.cache/pikaur/build/asciidoctor-pdf/src/asciidoctor-pdf-2.3.9/spec/fixtures/asciidoctor.mp4 (video)"]
            got: [" /home/chris/.cache/pikaur/build/asciidoctor-pdf/src/asciidoctor-pdf-", "2.3.9/spec/fixtures/asciidoctor.mp4 (video)"]

       (compared using eql?)
     # ./spec/video_spec.rb:22:in `block (3 levels) in <top (required)>'

  4) Asciidoctor::PDF::Converter - Video Local should show caption for video with no poster if title is specified
     Failure/Error: (expect pdf.lines).to eql [%(\uf04b\u00a0#{fixture_file 'asciidoctor.mp4'} (video)), 'Asciidoctor training']

       expected: [" /home/chris/.cache/pikaur/build/asciidoctor-pdf/src/asciidoctor-pdf-2.3.9/spec/fixtures/asciidoctor.mp4 (video)", "Asciidoctor training"]
            got: [" /home/chris/.cache/pikaur/build/asciidoctor-pdf/src/asciidoctor-pdf-", "2.3.9/spec/fixtures/asciidoctor.mp4 (video)", "Asciidoctor training"]

       (compared using eql?)
     # ./spec/video_spec.rb:43:in `block (3 levels) in <top (required)>'

Finished in 4 minutes 19.1 seconds (files took 0.98803 seconds to load)
2141 examples, 4 failures

Failed examples:

rspec ./spec/audio_spec.rb:6 # Asciidoctor::PDF::Converter - Audio should replace audio block with right pointer, path to audio file, and audio label
rspec ./spec/audio_spec.rb:48 # Asciidoctor::PDF::Converter - Audio should show caption for audio if title is specified
rspec ./spec/video_spec.rb:15 # Asciidoctor::PDF::Converter - Video Local should replace video with video path and play icon if poster not specified
rspec ./spec/video_spec.rb:35 # Asciidoctor::PDF::Converter - Video Local should show caption for video with no poster if title is specified

==> FEHLER: Ein Fehler geschah in check().
    Breche ab...

ThinkPad commented on 2022-09-14 16:43 (UTC)

Please update to 2.3. 1.6 is no longer supported and lacking fixes and features.

ThinkPad commented on 2022-04-19 20:41 (UTC) (edited on 2022-04-19 20:42 (UTC) by ThinkPad)

Uninstalled asciidoctor-pdf, uninstalled ruby, deleted ~/.local/share/gem, re-installed asciidoctor-pdf clean-building all. Now it works.