Page MenuHomeSoftware Heritage
Paste P1423

(An Untitled Masterwork)
ActivePublic

Authored by bchauvet on Aug 17 2022, 12:58 PM.
(swh) ben@ben-deb:~/swh-environment/swh-objstorage(master *)$ pip install -e .
Obtaining file:///home/ben/swh-environment/swh-objstorage
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Installing backend dependencies ... done
Preparing editable metadata (pyproject.toml) ... done
Collecting swh.perfecthash>=0.1.2
Using cached swh.perfecthash-0.1.2.tar.gz (27 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: click in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (8.0.4)
Collecting sh
Using cached sh-1.14.3-py2.py3-none-any.whl
Requirement already satisfied: swh.model>=0.0.27 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (6.4.0)
Requirement already satisfied: psycopg2 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2.8.6)
Requirement already satisfied: requests in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2.27.1)
Requirement already satisfied: swh.core[http]>=0.3 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2.14.0)
Requirement already satisfied: aiohttp>=3 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (3.8.1)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from aiohttp>=3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (4.0.2)
Requirement already satisfied: yarl<2.0,>=1.0 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from aiohttp>=3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.7.2)
Requirement already satisfied: frozenlist>=1.1.1 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from aiohttp>=3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.3.0)
Requirement already satisfied: attrs>=17.3.0 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from aiohttp>=3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (21.4.0)
Requirement already satisfied: aiosignal>=1.1.2 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from aiohttp>=3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.2.0)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from aiohttp>=3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2.0.12)
Requirement already satisfied: multidict<7.0,>=4.5 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from aiohttp>=3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (6.0.2)
Requirement already satisfied: pyyaml in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (6.0)
Requirement already satisfied: python-magic in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (0.4.25)
Requirement already satisfied: sentry-sdk in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.5.6)
Requirement already satisfied: deprecated in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.2.13)
Requirement already satisfied: flask in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2.0.3)
Requirement already satisfied: blinker in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.4)
Requirement already satisfied: iso8601 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.0.2)
Requirement already satisfied: aiohttp-utils>=3.1.1 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (3.1.1)
Requirement already satisfied: msgpack>=1.0.0 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.0.3)
Requirement already satisfied: python-dateutil in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.model>=0.0.27->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2.8.2)
Requirement already satisfied: attrs-strict>=0.0.7 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.model>=0.0.27->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.0.0)
Requirement already satisfied: typing-extensions in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.model>=0.0.27->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (4.1.1)
Requirement already satisfied: hypothesis in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.model>=0.0.27->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (6.38.0)
Requirement already satisfied: cffi in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from swh.perfecthash>=0.1.2->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.15.0)
Requirement already satisfied: idna<4,>=2.5 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from requests->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (3.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from requests->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.26.8)
Requirement already satisfied: certifi>=2017.4.17 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from requests->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2021.10.8)
Requirement already satisfied: python-mimeparse in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from aiohttp-utils>=3.1.1->swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.6.0)
Requirement already satisfied: gunicorn in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from aiohttp-utils>=3.1.1->swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (20.1.0)
Requirement already satisfied: pycparser in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from cffi->swh.perfecthash>=0.1.2->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2.21)
Requirement already satisfied: wrapt<2,>=1.10 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from deprecated->swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.13.3)
Requirement already satisfied: Werkzeug>=2.0 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from flask->swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2.0.3)
Requirement already satisfied: Jinja2>=3.0 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from flask->swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (3.0.3)
Requirement already satisfied: itsdangerous>=2.0 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from flask->swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2.1.0)
Requirement already satisfied: sortedcontainers<3.0.0,>=2.1.0 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from hypothesis->swh.model>=0.0.27->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2.4.0)
Requirement already satisfied: six>=1.5 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from python-dateutil->swh.model>=0.0.27->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (1.16.0)
Requirement already satisfied: MarkupSafe>=2.0 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from Jinja2>=3.0->flask->swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (2.0.1)
Requirement already satisfied: setuptools>=3.0 in /home/ben/.virtualenvs/swh/lib/python3.9/site-packages (from gunicorn->aiohttp-utils>=3.1.1->swh.core[http]>=0.3->swh.objstorage==0.3.1.dev12+g76a5f36.d20220817) (59.6.0)
Building wheels for collected packages: swh.objstorage, swh.perfecthash
Building editable for swh.objstorage (pyproject.toml) ... done
Created wheel for swh.objstorage: filename=swh.objstorage-0.3.1.dev12+g76a5f36.d20220817-0.editable-py3-none-any.whl size=17018 sha256=2237e471ecd48a0bd1071f53d3e7e531f7510921db404f35f76864eb807d26ba
Stored in directory: /tmp/pip-ephem-wheel-cache-ykpu646q/wheels/35/7a/91/ac9f5b777895dea94c30acdc9392160775877d26551a3cc663
Building wheel for swh.perfecthash (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for swh.perfecthash (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-39
creating build/lib.linux-x86_64-cpython-39/swh
copying swh/__init__.py -> build/lib.linux-x86_64-cpython-39/swh
creating build/lib.linux-x86_64-cpython-39/swh/perfecthash
copying swh/perfecthash/__init__.py -> build/lib.linux-x86_64-cpython-39/swh/perfecthash
copying swh/perfecthash/build.py -> build/lib.linux-x86_64-cpython-39/swh/perfecthash
creating build/lib.linux-x86_64-cpython-39/swh/perfecthash/tests
copying swh/perfecthash/tests/test_hash.py -> build/lib.linux-x86_64-cpython-39/swh/perfecthash/tests
copying swh/perfecthash/tests/__init__.py -> build/lib.linux-x86_64-cpython-39/swh/perfecthash/tests
running build_ext
generating cffi module 'build/temp.linux-x86_64-cpython-39/swh.perfecthash._hash_cffi.c'
creating build/temp.linux-x86_64-cpython-39
building 'swh.perfecthash._hash_cffi' extension
creating build/temp.linux-x86_64-cpython-39/build
creating build/temp.linux-x86_64-cpython-39/build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/swh
creating build/temp.linux-x86_64-cpython-39/swh/perfecthash
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I. -I/home/ben/.virtualenvs/swh/include -I/usr/include/python3.9 -c build/temp.linux-x86_64-cpython-39/swh.perfecthash._hash_cffi.c -o build/temp.linux-x86_64-cpython-39/build/temp.linux-x86_64-cpython-39/swh.perfecthash._hash_cffi.o -D_FILE_OFFSET_BITS=64
In file included from build/temp.linux-x86_64-cpython-39/swh.perfecthash._hash_cffi.c:570:
./swh/perfecthash/hash.h:8:10: fatal error: cmph.h: No such file or directory
8 | #include <cmph.h>
| ^~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for swh.perfecthash
Successfully built swh.objstorage
Failed to build swh.perfecthash
ERROR: Could not build wheels for swh.perfecthash, which is required to install pyproject.toml-based projects