bindep: SUSE & dpkg-based platforms require some fixes
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Glance | Status tracked in Zed | |||||
Xena |
New
|
Undecided
|
Unassigned | |||
Yoga |
New
|
Undecided
|
Unassigned | |||
Zed |
Fix Released
|
Undecided
|
Cyril Roelandt |
Bug Description
tl;dr:
- On OpenSUSE Tumbleweed, pg_config is provided by postgresql-
- On OpenSUSE Tumbleweed, qemu-img is provided by qemu-tools (not qemu-img)
Details:
On Tumbleweed, I ran the following commands:
$ tox -ebindep
...
Missing packages:
gcc libffi48-devel libmysqlclient-
...
$ sudo zypper install gcc libffi48-devel libmysqlclient-
$ tox -epy3
...
Collecting psycopg2>=2.8.4 Using cached psycopg2-
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-
│ exit code: 1
╰─> [25 lines of output]
running egg_info
creating /tmp/pip-
writing /tmp/pip-
writing dependency_links to /tmp/pip-
writing top-level names to /tmp/pip-
writing manifest file '/tmp/pip-
/
recated, use license_files instead.
Error: pg_config executable not found.
...
$ sudo zypper install postgresql-
# Now pg_config is available
$ which qemu-img
which: no qemu-img in (/home/
# Installing qemu-tools made qemu-img available.
I still could not run "tox -epy3" successfully because of issues with stestr on this OS, but it's pretty clear that bindep.txt should be fixed for OpenSUSE.
Changed in glance: | |
assignee: | nobody → Cyril Roelandt (cyril-roelandt) |
Changed in glance: | |
status: | New → In Progress |
Reviewed: https:/ /review. opendev. org/c/openstack /glance/ +/844596 /opendev. org/openstack/ glance/ commit/ 53f322f1d8c0a5c 1e8c494f88f1f05 c47b29729a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 53f322f1d8c0a5c 1e8c494f88f1f05 c47b29729a
Author: Cyril Roelandt <email address hidden>
Date: Fri Jun 3 15:49:20 2022 +0200
Bindep fixes for SUSE-like systems
- qemu-img is provided by qemu-tools server- devel
- pg_config is provided by postgresql-
Closes-Bug: #1978869 306a8776762d18a 56c6df1e2f5
Change-Id: Ia0e5f52f3841b3