Package Details: python-pymupdf 1.18.14-1

Git Clone URL: https://aur.archlinux.org/python-pymupdf.git (read-only, click to copy)
Package Base: python-pymupdf
Description: Python bindings for MuPDF
Upstream URL: https://github.com/pymupdf/PyMuPDF
Licenses: AGPL3
Submitter: cges30901
Maintainer: cges30901
Last Packager: cges30901
Votes: 7
Popularity: 1.46
First Submitted: 2019-12-26 14:55
Last Updated: 2021-06-03 16:33

Pinned Comments

cges30901 commented on 2019-12-27 13:22

If you want to install PyMuPDF from wheel instead of building from source, here is PKGBUILD.

Latest Comments

1 2 Next › Last »

cges30901 commented on 2021-03-31 14:31

@samueldy maybe it is related to this issue? Please check if /etc/os-release exists and the content contains ID=arch.

samueldy commented on 2021-03-25 16:59

Edit 28 Mar 2021: For some reason, cleanbuilding it works now.

Hi, I'm trying to update to the latest 1.18.10-1 version and am getting a check() error:

==> Starting check()...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/samueldy/.cache/yay/python-pymupdf/src/PyMuPDF-1.18.10/build/lib.linux-x86_64-3.7/fitz/__init__.py", line 2, in <module>
    from fitz.fitz import *
  File "/home/samueldy/.cache/yay/python-pymupdf/src/PyMuPDF-1.18.10/build/lib.linux-x86_64-3.7/fitz/fitz.py", line 17, in <module>
    from . import _fitz
ImportError: /home/samueldy/.cache/yay/python-pymupdf/src/PyMuPDF-1.18.10/build/lib.linux-x86_64-3.7/fitz/_fitz.cpython-37m-x86_64-linux-gnu.so: undefined symbol: hb_font_destroy
==> ERROR: A failure occurred in check().
    Aborting...
error making: python-pymupdf

This happens even when cleanbuilding. Any idea on what could be going wrong?

Thanks!

je-vv commented on 2020-11-29 07:35

@cges30901, thanks a lot it worked out fine !! Could you please make an AUR release with the patch? And thanks for the PR to upstream. Hopefully it gets merged soon as well. Thanks a lot !!!

cges30901 commented on 2020-11-29 07:05

@je-vv I created a patch to build on Artix, you can download from here.

Check failed because setup.py reads ID from /etc/os-release, and ID=artix is not recognized. I just sent a pull request.

je-vv commented on 2020-11-26 22:21

ohh, @cges30901, you're right, though I wouldn't have guessed building for arch based distro could be a problem, it usually isn't, :). I'm building on artix:

% cat /etc/os-release 
NAME="Artix Linux"
PRETTY_NAME="Artix Linux"
ID=artix
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://www.artixlinux.org/"
DOCUMENTATION_URL="https://wiki.artixlinux.org/"
SUPPORT_URL="https://forum.artixlinux.org/"
BUG_REPORT_URL="https://bugs.artixlinux.org/"
LOGO=artixlinux

cges30901 commented on 2020-11-26 18:52

@je-vv I think this is because setup.py does not recognize your distribution. Are you using Arch Linux or Arch-based distribution? Can you provide your /etc/os-release?

je-vv commented on 2020-11-24 21:28

@cges30901, here it's a gist of the makepkg log: https://gist.github.com/je-vv/5eba2d3662cc4a8ccb2a85a87dc7033f

cges30901 commented on 2020-11-24 15:22

@je-vv jbigdec is probably not linked correctly. Please provide full build log and content of /etc/os-release so I can figure out the problem.

je-vv commented on 2020-11-24 06:11

check is failing (1.18.4-1):

==> Starting check()... Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/vasqueja/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/build/lib.linux-x86_64-3.8/fitz/init.py", line 3, in <module> from fitz.fitz import * File "/home/vasqueja/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/build/lib.linux-x86_64-3.8/fitz/fitz.py", line 18, in <module> from . import _fitz ImportError: /home/vasqueja/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/build/lib.linux-x86_64-3.8/fitz/_fitz.cpython-38-x86_64-linux-gnu.so: undefined symbol: jbig2_page_out ==> ERROR: A failure occurred in check().

There's no cached previous build, building from scratch...

Knusperkeks commented on 2020-10-20 11:28

Version 1.18.1 can also be build with libmupdf from community repo :)