Search Criteria
Package Details: asciidoctor-pdf 2.3.9-3
Package Actions
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: | 11 |
Popularity: | 0.004931 |
First Submitted: | 2019-02-19 13:13 (UTC) |
Last Updated: | 2023-09-02 09:25 (UTC) |
Dependencies (15)
- asciidoctor
- ruby
- ruby-prawn
- ruby-prawn-icon
- ruby-prawn-svg
- ruby-prawn-table
- ruby-prawn-templates
- ruby-treetop
- rubygems (rubygems-user) (make)
- poppler (poppler-lcd, poppler-git) (check)
- ruby-chunky_png (check)
- ruby-coderay (check)
- ruby-pdf-inspector (check)
- ruby-rspec (check)
- ruby-coderay (optional) – for syntax highlighting
Latest Comments
1 2 3 4 Next › Last »
SpotlightKid commented on 2023-09-05 11:47 (UTC)
@culyun: Also the makepkg
--nocheck
option exists.carsme commented on 2023-09-05 09:36 (UTC)
@culyun Having tests in the package is best practices and ensures the software is functional on Arch Linux. This provides a great value and comfort to packagers. The test failure for some users in this comment section is exactly why tests should be run. This time it was a problem with the test suite, but it could just as well have been a problem with the software that upstream failed to capture.
Long compilation and/or testing times is a consequence of AUR packages being built from source when you install them.
The end goal, for me, would be for this package to end up in [extra] and be distributed pre-built. This would eliminate the requirement for users to build it themselves. The more votes and users of this package (and others), the more likely that is to happen :)
culyun commented on 2023-09-04 03:49 (UTC)
2.3.9.3 resolves the test failures reported in 2.9.9.2. Thanks :-)
The tests take a long time to run on older hardware. Are they necessary as part of the PKGBUILD? Surely upstream runs regression tests against releases.
carsme commented on 2023-09-02 09:26 (UTC)
I've released a new pkgver with the failing tests removed and reported the issue upstream: https://github.com/asciidoctor/asciidoctor-pdf/issues/2444.
101100 commented on 2023-08-29 17:23 (UTC)
I attempted the process that @ThinkPad described. I removed
ruby
andasciidoctor-pdf
. Then I deleted.local/share/gem
and cleared the cache foryay
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
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']
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))]
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']
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
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.1 2 3 4 Next › Last »