Package Details: pdf2djvu 0.9.19-2

Git Clone URL: https://aur.archlinux.org/pdf2djvu.git (read-only, click to copy)
Package Base: pdf2djvu
Description: Creates DjVu files from PDF files
Upstream URL: https://jwilk.net/software/pdf2djvu
Licenses: GPL
Submitter: arojas
Maintainer: blueowl
Last Packager: blueowl
Votes: 6
Popularity: 0.000350
First Submitted: 2021-05-08 09:21 (UTC)
Last Updated: 2022-09-27 14:36 (UTC)

Latest Comments

1 2 Next › Last »

TheGreatAndyChow commented on 2022-09-22 06:02 (UTC)

requires poppler-data or fails to compile. poppler-data is not required by poppler.

renatocan commented on 2022-04-03 13:39 (UTC)

I tried to compile, commenting out the dependency on python2-nose and check() stage but got the following error:

pdf-backend.cc:133:64: error: no matching function for call to ‘PDFDoc::PDFDoc(pdf::String*, std::nullptr_t, std::nullptr_t)’

zoidberg commented on 2022-02-19 13:50 (UTC)

@Amolith you can just comment out the make PYTHON=python2 test line in the check() function of the PKGBUILD

Amolith commented on 2022-02-14 01:18 (UTC)

Is there a decent way to work around the missing python2-nose dependency?

Kamilcuk commented on 2021-11-18 08:50 (UTC)

I added an issue upstream https://github.com/jwilk/pdf2djvu/issues/149

frankspace commented on 2021-11-16 15:53 (UTC)

Thanks! That would be helpful.

ed_o commented on 2021-11-16 09:46 (UTC)

@frankspace No, I am not really familiar with using chroot to test packages. I do not have either packages you mentioned installed in my system, but please let me know if sending to your email address the list of my installed packages may help you narrow down the possible cause of the issue

frankspace commented on 2021-11-16 05:23 (UTC)

Interesting. Are you compiling it in a chroot? I'm trying to figure this out, and I have a suspicion that it may have something to do with the upstream author inexplicably refusing to port the tests to python3 and refusing to explain why. Do you by any chance happen to have an old version of python2-exiv2 installed? Or possibly python2-xmp-toolkit? It's just the tests that are failing; when I comment out the check() section, this compiles (and seems to work) just fine.

ed_o commented on 2021-11-15 18:35 (UTC)

@frankspace Unfortunately I cannot replicate the error, it compiles correctly on my machine.

frankspace commented on 2021-11-14 19:55 (UTC)

Compilation fails for me, even in a clean chroot:

======================================================================
FAIL: test-xmp-broken.test.test_no_verbatim
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/pdf2djvu/src/pdf2djvu-0.9.18.1/tests/test-xmp-broken.py", line 30, in test_no_verbatim
    r.assert_(stderr='XMP metadata error: XMP Toolkit error 201: XML parsing failure\n')
  File "/build/pdf2djvu/src/pdf2djvu-0.9.18.1/tests/tools.py", line 98, in assert_
    assert_multi_line_equal(self.stderr, stderr)
AssertionError: 'XMP metadata error: XMP Toolkit error 201: Error in XMLValidator\n' != 'XMP metadata error: XMP Toolkit error 201: XML parsing failure\n'
- XMP metadata error: XMP Toolkit error 201: Error in XMLValidator
?                                            ---------   ^  ^^^^^
+ XMP metadata error: XMP Toolkit error 201: XML parsing failure
?                                               ^^ +++++++++ ^ +

-------------------- >> begin captured stdout << ---------------------
$ ../pdf2djvu -q /build/pdf2djvu/src/pdf2djvu-0.9.18.1/tests/test-xmp-broken.pdf -o /build/pdf2djvu/src/pdf2djvu-0.9.18.1/tests/test-xmp-broken.djvu --version
$ ../pdf2djvu -q /build/pdf2djvu/src/pdf2djvu-0.9.18.1/tests/test-xmp-broken.pdf -o /build/pdf2djvu/src/pdf2djvu-0.9.18.1/tests/test-xmp-broken.djvu

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 86 tests in 6.106s

FAILED (SKIP=2, failures=1)
make[1]: *** [Makefile:38: all] Error 1
make[1]: Leaving directory '/build/pdf2djvu/src/pdf2djvu-0.9.18.1/tests'
make: *** [Makefile:81: test] Error 2