deskreen icon indicating copy to clipboard operation
deskreen copied to clipboard

RPM /usr/lib/.build-id/ conflict

Open frenzymadness opened this issue 3 years ago • 0 comments

Sorry for not using the template but this issue is kinda different and I know exactly where the problem lies. First of all, thank you for your work and for providing the RPM package.

The problem is that your package bundles some binary files. For those files (usually compiled during the build of rpm) there are special files in /usr/lib/.build-id/ allowing to simply connect the package with its -debuginfo counterpart for easier debugging of the compiled parts. For more info, see https://unix.stackexchange.com/questions/411727/what-is-the-purpose-of-usr-lib-build-id-dir

The root cause is that more and more unofficial RPM packages are bundling the same binary files (chrome core, vulkan …) and the same binaries produce the same files in /usr/lib/.build-id/ which then causes that those packages are not installable together.

The same problem was recently fixed in Visual studio code: https://github.com/microsoft/vscode/commit/1da95321b14f4fa68e8b3a23b72c12e1fc4a4ca1

Could you please disable generating the files? All you need to do is to add %define _build_id_links none to the specfile.

frenzymadness avatar Mar 08 '21 08:03 frenzymadness