Cannot build gts as cairo.pc is called for in the build but only /usr/lib/pkgconfig/py3cairo.pc exists
Bug report
Step 1: Are you in the right place?
-
I have verified there are no duplicate active or recent bugs, questions, or requests -
I have verified that I am using the latest version of GtkStressTesting (GST)
Step 2: Describe your environment
- GST version:
d7b8e169
- Installed from source/Flatpak/other (specify):
source
- Distribution name and version (e.g. Ubuntu 18.10):
Ubuntu 22.04
- Desktop Environment (e.g. Gnome 3.30):
?
- CPU (e.g. AMD Ryzen 7 3800X):
Intel Core
Step 3: Describe the problem:
Steps to reproduce:
- Download and follow build instructions
- run pip3 install -r requirements.txt
- The pip step for pycairo failed to build
Observed Results:
× Building wheel for pycairo (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/cairo
copying cairo/__init__.py -> build/lib.linux-x86_64-3.10/cairo
copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.10/cairo
copying cairo/py.typed -> build/lib.linux-x86_64-3.10/cairo
running build_ext
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Expected Results:
Having never built successfully, I am not certain but I would have expected it to not fail.
I believe I have installed all the tools installed and in particular cairo. I have this file:
/usr/lib/pkgconfig/py3cairo.pc
According to apt I have cairo installed:
$ apt list --installed | grep cairo
libcairo-gobject-perl/jammy,now 1.005-3build1 amd64 [installed,automatic]
libcairo-gobject2/jammy,now 1.16.0-5ubuntu2 amd64 [installed,automatic]
libcairo-perl/jammy,now 1.109-2build1 amd64 [installed,automatic]
libcairo-script-interpreter2/jammy,now 1.16.0-5ubuntu2 amd64 [installed,automatic]
libcairo2/jammy,now 1.16.0-5ubuntu2 amd64 [installed,automatic]
libcairomm-1.0-1v5/jammy,now 1.12.2-4build3 amd64 [installed,automatic]
libpangocairo-1.0-0/jammy,now 1.50.6+ds-2 amd64 [installed,automatic]
python3-cairo-dev/jammy,jammy,now 1.20.1-3build1 all [installed]
python3-cairo/jammy,now 1.20.1-3build1 amd64 [installed,automatic]
python3-gi-cairo/jammy-updates,now 3.42.1-0ubuntu1 amd64 [installed,automatic]
Console logs:
<PASTE CONSOLE OUTPUT HERE>