Created
October 17, 2024 10:19
-
-
Save Bazmundi/ee6d66329c430cab07bbae99bb426805 to your computer and use it in GitHub Desktop.
gaphor fails (dependencies probably not cited on install site).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(graphor) asterion@MonstaPC:~$ pip install gaphor | |
Collecting gaphor | |
Downloading gaphor-2.11.0-py3-none-any.whl.metadata (41 kB) | |
Collecting PyGObject<4.0,>=3.30 (from gaphor) | |
Downloading pygobject-3.50.0.tar.gz (1.1 MB) | |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 5.8 MB/s eta 0:00:00 | |
Installing build dependencies ... error | |
error: subprocess-exited-with-error | |
× pip subprocess to install build dependencies did not run successfully. | |
│ exit code: 1 | |
╰─> [74 lines of output] | |
Collecting meson-python>=0.12.1 | |
Downloading meson_python-0.16.0-py3-none-any.whl.metadata (4.1 kB) | |
Collecting pycairo>=1.16 | |
Downloading pycairo-1.27.0.tar.gz (661 kB) | |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 661.5/661.5 kB 4.9 MB/s eta 0:00:00 | |
Installing build dependencies: started | |
Installing build dependencies: finished with status 'done' | |
Getting requirements to build wheel: started | |
Getting requirements to build wheel: finished with status 'done' | |
Preparing metadata (pyproject.toml): started | |
Preparing metadata (pyproject.toml): finished with status 'error' | |
error: subprocess-exited-with-error | |
× Preparing metadata (pyproject.toml) did not run successfully. | |
│ exit code: 1 | |
╰─> [48 lines of output] | |
+ meson setup /tmp/pip-install-vmt5nm1l/pycairo_5fd881ec916340478c704edebec72274 /tmp/pip-install-vmt5nm1l/pycairo_5fd881ec916340478c704edebec72274/.mesonpy-tkynf1bd -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dwheel=true -Dtests=false --native-file=/tmp/pip-install-vmt5nm1l/pycairo_5fd881ec916340478c704edebec72274/.mesonpy-tkynf1bd/meson-python-native-file.ini | |
The Meson build system | |
Version: 1.5.2 | |
Source dir: /tmp/pip-install-vmt5nm1l/pycairo_5fd881ec916340478c704edebec72274 | |
Build dir: /tmp/pip-install-vmt5nm1l/pycairo_5fd881ec916340478c704edebec72274/.mesonpy-tkynf1bd | |
Build type: native build | |
Project name: pycairo | |
Project version: 1.27.0 | |
C compiler for the host machine: cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") | |
C linker for the host machine: cc ld.bfd 2.38 | |
Host machine cpu family: x86_64 | |
Host machine cpu: x86_64 | |
Program python3 found: YES (/home/asterion/.conda/envs/graphor/bin/python) | |
Compiler for C supports arguments -Wall: YES | |
Compiler for C supports arguments -Warray-bounds: YES | |
Compiler for C supports arguments -Wcast-align: YES | |
Compiler for C supports arguments -Wconversion: YES | |
Compiler for C supports arguments -Wextra: YES | |
Compiler for C supports arguments -Wformat=2: YES | |
Compiler for C supports arguments -Wformat-nonliteral: YES | |
Compiler for C supports arguments -Wformat-security: YES | |
Compiler for C supports arguments -Wimplicit-function-declaration: YES | |
Compiler for C supports arguments -Winit-self: YES | |
Compiler for C supports arguments -Winline: YES | |
Compiler for C supports arguments -Wmissing-format-attribute: YES | |
Compiler for C supports arguments -Wmissing-noreturn: YES | |
Compiler for C supports arguments -Wnested-externs: YES | |
Compiler for C supports arguments -Wold-style-definition: YES | |
Compiler for C supports arguments -Wpacked: YES | |
Compiler for C supports arguments -Wpointer-arith: YES | |
Compiler for C supports arguments -Wreturn-type: YES | |
Compiler for C supports arguments -Wshadow: YES | |
Compiler for C supports arguments -Wsign-compare: YES | |
Compiler for C supports arguments -Wstrict-aliasing: YES | |
Compiler for C supports arguments -Wundef: YES | |
Compiler for C supports arguments -Wunused-but-set-variable: YES | |
Compiler for C supports arguments -Wswitch-default: YES | |
Compiler for C supports arguments -Wno-missing-field-initializers: YES | |
Compiler for C supports arguments -Wno-unused-parameter: YES | |
Compiler for C supports arguments -fno-strict-aliasing: YES | |
Compiler for C supports arguments -fvisibility=hidden: YES | |
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2 | |
Found CMake: /usr/bin/cmake (3.25.1) | |
Run-time dependency cairo found: NO (tried pkgconfig and cmake) | |
../cairo/meson.build:31:12: ERROR: Dependency "cairo" not found, tried pkgconfig and cmake | |
A full log can be found at /tmp/pip-install-vmt5nm1l/pycairo_5fd881ec916340478c704edebec72274/.mesonpy-tkynf1bd/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 | |
× Encountered error while generating package metadata. | |
╰─> See above for output. | |
note: This is an issue with the package mentioned above, not pip. | |
hint: See above for details. | |
[end of output] | |
note: This error originates from a subprocess, and is likely not a problem with pip. | |
error: subprocess-exited-with-error | |
× pip subprocess to install build dependencies 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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment