Bug 6166

Summary: packaging of discord collides with latest version of skype
Product: Fedora Reporter: Martin <mwolf>
Component: discordAssignee: Sean Callaway <seancallaway>
Status: RESOLVED FIXED    
Severity: enhancement CC: dreua, leigh123linux, roman, sergio
Priority: P1    
Version: f35   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Martin 2021-12-06 13:39:57 CET
With the most recent version of Skype (8.79.0.92-1) I get a translation error when updating it with dnf.

Error: Transaction test error:
  file /usr/lib/.build-id/34/feaa549462e8818baa0629ce11da344465882b from install of skypeforlinux-8.79.0.92-1.x86_64 conflicts with file from package discord-0.0.16-1.fc35.x86_64

Is there a way, that you can fix it, or does Microsoft have to put out a fix?

Basically both packages want to install it's own chrome sandbox at the same spot:
lrwxrwxrwx. 1 root root   44 22. Sep 22:43 feaa549462e8818baa0629ce11da344465882b -> ../../../../usr/lib64/discord/chrome-sandbox
Comment 1 leigh scott 2021-12-06 15:43:32 CET
Adding this to the spec file would disable build-id.

%define _build_id_links none
Comment 2 Martin 2021-12-06 16:33:01 CET
ty, I built discord for myself with that flag.

Is it possible that you include that in the package on your side, or will that have side effects?
Comment 3 Sérgio Basto 2022-02-19 15:11:40 CET
*** Bug 5691 has been marked as a duplicate of this bug. ***
Comment 4 Sérgio Basto 2022-02-19 16:13:18 CET
(In reply to leigh scott from comment #1)
> Adding this to the spec file would disable build-id.
> 
> %define _build_id_links none

works for me too, can I apply ?
Comment 5 dreua 2022-02-19 19:44:42 CET
Negativo's Spotify also uses this workaround, I'd say it's a good idea to apply it here, too. (Unless you want to unbundle the chrome sandbox, that is ;))

https://github.com/negativo17/spotify-client/blob/422247845f6491807e08f1f5b588c165b18bd9a5/spotify-client.spec#L4-L5