-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for s390x #166
Comments
Chromium contains many references to @sandeepb2013, if you do need this, I suggest you get in touch with the PDFium development team and ask them how you can cross-build from x86 to s390x. |
Thanks @bblanchon let me know if i can do anything from my end to move forward. |
@sandeepb2013 Sorry for the late reply, I missed this thread.
I think you may have mixed up pypdfium2 and pdfium here. You can reach out to pdfium at its mailing list: https://groups.google.com/g/pdfium In the meantime, you could consider the libreoffice trick: pypdfium2-team/pypdfium2#313 (comment) |
@mara004 sorry for the late response, thanks for your reference i'll be looking into the pdfium team. i''l keep you posted the updates. |
Hi,
i'm trying to install python-docTR on S390x, but dependency pypdfium2 build failed.
i'm tring to install pypdfium2 from pip getting the following error .
`pip install pypdfium2
Collecting pypdfium2
Downloading pypdfium2-4.30.0.tar.gz (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.2/140.2 kB 3.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python3.10/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-iw42b6xf/overlay/local/lib/python3.10/dist-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-iw42b6xf/overlay/local/lib/python3.10/dist-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-iw42b6xf/overlay/local/lib/python3.10/dist-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 161, in
File "", line 152, in main
File "/tmp/pip-install-96eku2nd/pypdfium2_5345d99864474a78ac39d1b0c222be99/setupsrc/pypdfium2_setup/packaging_base.py", line 610, in parse_pl_spec
raise RuntimeError(f"No pre-built binaries available for {Host}. You may place custom binaries & bindings in data/sourcebuild and install with
{PlatSpec_EnvVar}=sourcebuild
.")RuntimeError: No pre-built binaries available for <Host: linux s390x, glibc 2.35>. You may place custom binaries & bindings in data/sourcebuild and install with
PDFIUM_PLATFORM=sourcebuild
.[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.`
The text was updated successfully, but these errors were encountered: