Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x264 and ffmpeg RPM conflicts #2827

Closed
totaam opened this issue Jul 6, 2020 · 3 comments
Closed

x264 and ffmpeg RPM conflicts #2827

totaam opened this issue Jul 6, 2020 · 3 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Jul 6, 2020

Issue migrated from trac ticket # 2827

component: packaging | priority: blocker | resolution: fixed

2020-07-06 17:22:19: antoine created the issue


Discovered as part of #1462, trying to inspect the 10-bit x264 stream.

Despite being located in our private library directory, because of some automagic during rpmbuild, our RPMs claim to provide a specific version of libx264.so and the ffmpeg shared libraries:

rpm -q --provides ./x264-xpra-20190929-1.fc32.x86_64.rpm
libx264.so.157()(64bit)
x264-xpra = 20190929-1.fc32
x264-xpra(x86-64) = 20190929-1.fc32
$ rpm -q --provides ./ffmpeg-xpra-4.2.2-2.fc32.x86_64.rpm
ffmpeg-xpra = 4.2.2-2.fc32
ffmpeg-xpra(x86-64) = 4.2.2-2.fc32
libavcodec.so.58()(64bit)
libavcodec.so.58(LIBAVCODEC_58)(64bit)
libavfilter.so.7()(64bit)
libavfilter.so.7(LIBAVFILTER_7)(64bit)
libavformat.so.58()(64bit)
libavformat.so.58(LIBAVFORMAT_58)(64bit)
libavutil.so.56()(64bit)
libavutil.so.56(LIBAVUTIL_56)(64bit)
libpostproc.so.55()(64bit)
libpostproc.so.55(LIBPOSTPROC_55)(64bit)
libswresample.so.3()(64bit)
libswresample.so.3(LIBSWRESAMPLE_3)(64bit)
libswscale.so.5()(64bit)
libswscale.so.5(LIBSWSCALE_5)(64bit)

This then conflicts with other repositories that provide x264 and / or ffmpeg.
Some tools may complain that one of the libraries is missing, since we do not pollute the LD_LIBRARY_PATH.
It gets worse when the library number changes.

@totaam
Copy link
Collaborator Author

totaam commented Jul 6, 2020

2020-07-06 17:25:25: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Jul 6, 2020

2020-07-06 17:25:25: antoine set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Jul 6, 2020

2020-07-06 17:25:25: antoine commented


Should be fixed in r26905.

New RPMs will need to be uploaded to stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant