← All tasks
pythonpymupdf/pymupdf #574Not a task: not reproduced

Please fix the linking for openSUSE

envgap__pymupdf__pymupdf-574

01 / FAILURE SIGNATURE

As reported upstream

ImportError: /tmp/test_pymupdf/.venv/lib64/python3.6/site-packages/fitz/_fitz.cpython-36m-x86_64-linux-gnu.so: undefined symbol: jpeg_resync_to_restart
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
12d0201fdcea6854d04dc40ca52ebd9c0724723f
Manifest
setup.py
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

pymupdf/pymupdf #574 · read the original issue
## Describe the bug (mandatory)

The linking does not really work for openSUSE.



## To Reproduce (mandatory)

```

╭─jloehel@workmachine /tmp/test_pymupdf   

╰─➤  python3 -m venv .venv && source .venv/bin/activate                                                                                        

╭─jloehel@workmachine /tmp/test_pymupdf  (.venv) 

╰─➤  pip install pymupdf 

Collecting pymupdf

Installing collected packages: pymupdf

Successfully installed pymupdf-1.17.4

You are using pip version 18.1, however version 20.2 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

╭─jloehel@workmachine /tmp/test_pymupdf  (.venv) 

╰─➤  python

Python 3.6.10 (default, Jan 16 2020, 09:12:04) [GCC] on linux

Type "help", "copyright", "credits" or "license" for more information.

>>> import fitz

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/tmp/test_pymupdf/.venv/lib64/python3.6/site-packages/fitz/__init__.py", line 3, in <module>

    from fitz.fitz import *

  File "/tmp/test_pymupdf/.venv/lib64/python3.6/site-packages/fitz/fitz.py", line 18, in <module>

    from . import _fitz

ImportError: /tmp/test_pymupdf/.venv/lib64/python3.6/site-packages/fitz/_fitz.cpython-36m-x86_64-linux-gnu.so: undefined symbol: jpeg_resync_to_restart

>>> exit()

```



## Expected behavior (optional)

The installation from pip works without patching. (https://github.com/jloehel/PyMuPDF/commit/22e525391be67fd98ae72db87f33b03d70535296)



## Your configuration (mandatory)

```

╭─jloehel@workmachine /tmp/test_pymupdf  (.venv) 

╰─➤  cat /etc/os-release 

NAME="openSUSE Leap"

VERSION="15.1"

ID="opensuse-leap"

ID_LIKE="suse opensuse"

VERSION_ID="15.1"

PRETTY_NAME="openSUSE Leap 15.1"

ANSI_COLOR="0;32"

CPE_NAME="cpe:/o:opensuse:leap:15.1"

BUG_REPORT_URL="https://bugs.opensuse.org"

HOME_URL="https://www.opensuse.org/"

╭─jloehel@workmachine /tmp/test_pymupdf  (.venv) 

╰─➤  uname -a

Linux workmachine 4.12.14-lp151.28.52-default #1 SMP Wed Jun 10 15:32:08 UTC 2020 (464fb5f) x86_64 x86_64 x86_64 GNU/Linux

╭─jloehel@workmachine /tmp/test_pymupdf  (.venv) 

╰─➤  python --version

Python 3.6.10

```



Let me know if you need anything else.

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]