xpra icon
Bug tracker and wiki

Opened 10 days ago

Closed 10 days ago

#1842 closed defect (fixed)

x264 packages missing for CentOS/RHEL 7

Reported by: SeanD Owned by: SeanD
Priority: major Milestone: 2.4
Component: packaging Version: 2.3.x
Keywords: Cc:

Description (last modified by Antoine Martin)

When trying to install using the CentOS 7 or RHEL 7 repos, I get this error:

--> Finished Dependency Resolution
Error: Package: python2-xpra-2.3-2.r19255.el7_5.x86_64 (winswitch)
           Requires: x264-xpra
Error: Package: ffmpeg-xpra-4.0-1.el7_5.x86_64 (winswitch)
           Requires: libx264.so.148()(64bit)
Error: Package: python2-xpra-2.3-2.r19255.el7_5.x86_64 (winswitch)
           Requires: libx264.so.148()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I see the x264-xpra package in the RHEL 6 repo, and other distros, but not RHEL 7.

Change History (5)

comment:1 Changed 10 days ago by Antoine Martin

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

Sorry about that. All the rpms were meant to be rebuilt for the centos 7.5 release. This particular one failed because the newer x264 source snapshots require a version of nasm which is not available on centos.
(and I should have spotted that if I had done a clean install, but I didn't, upgrades from 7.4 worked fine..)

@SeanD: The rebuilt packages are there now, please close this ticket if that works for you.

comment:2 Changed 10 days ago by SeanD

Owner: changed from SeanD to Antoine Martin

Thanks for the quick turnaround.

If I use RedHat in my repo URL, I get the same error. If I use CentOS the error has been reduced to:

--> Finished Dependency Resolution
Error: Package: python2-xpra-2.3-2.r19255.el7_5.x86_64 (xpra)
           Requires: libx264.so.148()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

comment:3 Changed 10 days ago by Antoine Martin

If I use RedHat in my repo URL, I get the same error. If I use CentOS the error has been reduced to:

That's very strange, RedHat is actually a symlink to CentOS on the web server.
Are you sure it isn't just a refresh issue? (try yum clean all && yum update)

I have pushed rebuilt xpra-2.3-3 packages now linked against the latest libx264.so. Those packages had failed for a different reason: one of the unit tests is now failing... and I'm not sure why.
So I have skipped the tests for this rebuild. I now have to find the time to go and investigate that...

TLDR: yum update should work, this time.

Last edited 10 days ago by Antoine Martin (previous) (diff)

comment:4 Changed 10 days ago by Antoine Martin

Milestone: 2.4
Owner: changed from Antoine Martin to SeanD

Blimey! More problems when I finally tested in a VM:

  • I had forgotten to bump the revision number - then had to rebuild xpra again...
  • python2-rencode was missing (the source archive had gone MIA) - rebuilt that
  • the current python2-lz4 specfile no longer builds on centos7 (requires new dependencies which just aren't available), the one from the 2.2.x branch also fails because it requires a newer version of setuptools.. and older versions than that just fail to build entirely. Oh joy. Then setuptools fails to update itself, but you can install pip from it, and then use that to update setuptools.

Rant: building a simple python extension for a C library should never be that hard. So maybe we should just drop it and use native Cython bindings instead.
(and at my end, I should modify the buildbot to send notifications when package builds fail)

comment:5 Changed 10 days ago by SeanD

Resolution: fixed
Status: newclosed

Thanks! The packages are now installing.

Note: See TracTickets for help on using tickets.