xpra icon
Bug tracker and wiki

Opened 3 weeks ago

Closed 3 weeks ago

Last modified 2 weeks ago

#2568 closed defect (fixed)

dependency failures on RHEL 7.7

Reported by: Bill Randle Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: packaging Version: 3.0.x
Keywords: Cc:

Description (last modified by Antoine Martin)

I did look through open tickets and saw some similar ones, but not addressing this exact issue. If there is a known workaround, feel free to close this with a reference.

Added the xpra.repo file to /etc/yum.repos.d and set the url to:

  https://xpra.org/dists/RedHat/$releasever/$basearch/

On install, I got the following dependency errors:

Error: Package: python2-xpra-3.0.5-0.r24939xpra1.el7_7.x86_64 (xpra)
           Requires: libturbojpeg.so.0()(64bit)
Error: Package: python2-xpra-3.0.5-0.r24939xpra1.el7_7.x86_64 (xpra)
           Requires: libturbojpeg.so.0(TURBOJPEG_1.2)(64bit)
Error: Package: python2-xpra-3.0.5-0.r24939xpra1.el7_7.x86_64 (xpra)
           Requires: libturbojpeg.so.0(TURBOJPEG_1.0)(64bit)

RHEL7.7 provides:

  libjpeg-turbo-1.2.90-8.el7.x86_64
  libjpeg-turbo-utils-1.2.90-8.el7.x86_64

which I have installed.

The libjpeg-turbo package installs:

  /usr/lib64/libjpeg.so.62
  /usr/lib64/libjpeg.so.62.1.0

Change History (6)

comment:1 Changed 3 weeks ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to Bill Randle

That's odd, the turbojpeg dependencies have not changed since r17388, 2 years ago.
I did find r24346 and the r24347 backport but this only applies to python3 packages and therefore not relevant to centos7, so the installation should have pulled turbojpeg which does provide libturbojpeg.so.0.

Last edited 3 weeks ago by Antoine Martin (previous) (diff)

comment:2 Changed 3 weeks ago by Bill Randle

RHEL 7.7 does not have a turbojpeg package - at least in the standard repo. They call it libjpeg-turbo instead, and that is installed, as I indicated above. Perhaps I need to find the CentOS 7 turbojpeg packages and install them to get libturbojpeg.so.0.
P.S. Sorry for the lack of formatting in the original report.

comment:3 Changed 3 weeks ago by Antoine Martin

Owner: changed from Bill Randle to Antoine Martin
Status: newassigned

They call it libjpeg-turbo instead

No, that's a different thing: libjpeg-turbo != TurboJPEG

Perhaps I need to find the CentOS 7 turbojpeg packages and install them

Yes, installing turbojpeg should fix your installation problem.

I'll try to rebuild the turbojpeg package from centos and stick it in the repo.

Last edited 3 weeks ago by Antoine Martin (previous) (diff)

comment:4 Changed 3 weeks ago by Bill Randle

That would be fantastic if you were able to include the TurboJPEG package(s) in the RedHat/7.7 repo.

Last edited 2 weeks ago by Antoine Martin (previous) (diff)

comment:5 Changed 3 weeks ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

That would be fantastic if you were able to include the TurboJPEG package(s) in the RedHat?/7.7 repo.

As usual, this is more complicated than it seems: the version shipped in centos7 is a 3 year old beta version with lots of security patches on top. (see r25116)
I'm not very comfortable publishing such a version in our repository.
Normally, we would ship a newer stable version, but since this would update the system library on centos7 systems, it would run the risk of causing incompatibilities too...
So I've added it to the repository, but I'm not happy with it because anyone running on RHEL instead of centos will need to rely on us for security updates to this library... Something I many not have time for when it is needed.

Last edited 2 weeks ago by Antoine Martin (previous) (diff)

comment:6 Changed 2 weeks ago by Bill Randle

Thankyou for the help. Once you pointed out what to look for, I did some additional searching tonight and managed to find a prebuilt CentOS7 rpm: turbojpeg-1.2.90-8.el7.x86_64.rpm which I installed. After that, xpra installed cleanly with no errors.

Note: See TracTickets for help on using tickets.