Tight coupling of `pyside2` to `Qt` version can cause build regressions

オープン
#727 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@claraberendsen がすでに取り組んでいます。

2023年11月15日 から。

評価

この issue はまだ評価されていません。

説明

Description

RHEL nightlies have started to fail since Nov 12th with an issue with unprovided dependencies for Qt 5.15.3 private APIs for the python3-pyside2-devel package.

00:01:05.746 Error: 
00:01:05.746  Problem: package python3-pyside2-devel-1:5.15.7-2.el9.x86_64 requires libpyside2.cpython-39-x86_64-linux-gnu.so.5.15()(64bit), but none of the providers can be installed
00:01:05.746   - conflicting requests
00:01:05.746   - nothing provides libQt5Charts.so.5(Qt_5.15.3_PRIVATE_API)(64bit) needed by python3-pyside2-1:5.15.7-2.el9.x86_64

OS version on ci is not pinned to a specific minor version of an OS but rather pulls the latest docker image for that given major version to build upon. On Nov 13th a version 9.3 of AlmaLinux was released with updates to Qt moving it from 5.15.3 to 5.15.9 likely prompted by security issue ALSA-2022:8022

EPEL which provides the python3-pyside2-devel package does not manage minor and major version of the updates therefore upon breaking changes to almalinux it need to be rebuilt pointing to the newer package. Previous errors derived from this were resolved by pinning to a previous version of almalinux with the necessary packages. ( See #701 )

However pinning to 9.2 or 9.1 didn't solve the issue (details in #726) which seemed odd.

Looking up which package provides the missing file (https://pkgs.org/search/?q=libQt5Charts.so.5) it seems that in most OS is the qt5-qtcharts package which is not available in AlmaLinux but it was being provided by EPEL as well.

This package was updated with the 9.3 AlmaLinux release to reflect the newer version of Qt (See) thus resulting on the system not being able to find the necessary dependency.

Therefore any breaking change introduced to Qt on Qt packages provided by EPEL and not AlmaLinux will likely cause build failures.

Details

OS: AlmaLinux 9.3 / 9.2
EPEL: 9

Further comments and debugging can be found on #726

主要言語
Python
スター
55
フォーク
40
平均マージ
3日 5時間
マージ済み PR(30日)
6

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ros2/ci のほかの issue

ros2/ci の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。