python-poppler icon indicating copy to clipboard operation
python-poppler copied to clipboard

Meson Build

Open DesiBenz opened this issue 11 months ago • 2 comments

This error is in 0.4.0 and 0.4.1, python3.12

Collecting python-poppler==0.4.0 Downloading python_poppler-0.4.0.tar.gz (138 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [27 lines of output] + meson setup /tmp/pip-install-d9tarz7o/python-poppler_cbf30636d4ff4f70ad0e1bdb68dd63b8 /tmp/pip-install-d9tarz7o/python-poppler_cbf30636d4ff4f70ad0e1bdb68dd63b8/.mesonpy-r8nymd1w -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-d9tarz7o/python-poppler_cbf30636d4ff4f70ad0e1bdb68dd63b8/.mesonpy-r8nymd1w/meson-python-native-file.ini The Meson build system Version: 1.6.1 Source dir: /tmp/pip-install-d9tarz7o/python-poppler_cbf30636d4ff4f70ad0e1bdb68dd63b8 Build dir: /tmp/pip-install-d9tarz7o/python-poppler_cbf30636d4ff4f70ad0e1bdb68dd63b8/.mesonpy-r8nymd1w Build type: native build Project name: python-poppler Project version: 0.4.0 C++ compiler for the host machine: c++ (gcc 13.3.0 "c++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0") C++ linker for the host machine: c++ ld.bfd 2.42 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1 Run-time dependency poppler-cpp found: YES 24.02.0 Program python3 found: YES (/home/apll/docmgnt/.venv/bin/python3) Downloading pybind11 source from https://github.com/pybind/pybind11/archive/refs/tags/v2.10.3.tar.gz Downloading pybind11 patch from https://wrapdb.mesonbuild.com/v2/pybind11_2.10.3-1/get_patch WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/pybind11_2.10.3-1/get_patch with error <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>.. Trying after a delay... WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/pybind11_2.10.3-1/get_patch with error <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>.. Trying after a delay... WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/pybind11_2.10.3-1/get_patch with error <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>.. Trying after a delay... WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/pybind11_2.10.3-1/get_patch with error <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>.. Trying after a delay... WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/pybind11_2.10.3-1/get_patch with error <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>.. Trying after a delay... A fallback URL could be specified using patch_fallback_url key in the wrap file

  ../meson.build:15:16: ERROR: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/pybind11_2.10.3-1/get_patch with error <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>.
  
  A full log can be found at /tmp/pip-install-d9tarz7o/python-poppler_cbf30636d4ff4f70ad0e1bdb68dd63b8/.mesonpy-r8nymd1w/meson-logs/meson-log.txt
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

DesiBenz avatar Dec 21 '24 04:12 DesiBenz

Same here! Even I have installed pybind11, it still raises this error.

ForcewithMe66 avatar Dec 25 '24 15:12 ForcewithMe66

Hello,

When I had this error on macOS, the workaround I use is the following :

  • remove poppler 25
  • installe poppler 24

==> no more issue

AntoineHus avatar Mar 15 '25 09:03 AntoineHus