Skip to content

Electron bundled dependencies conflict during RPM install and install fails (not sure if this is an FPM issue?) #2142

@rathboma

Description

@rathboma

Hello all!

As usual big ++ to @jordansissel and this library for making DEB and RPM building 10x more sane.

I'm hitting a bug in my RPM build of Beekeeper Studio where bundled dependencies are conflicting with dependencies from other apps in some way, notably Slack

Transaction failed: Rpm transaction failed.
  - file /usr/lib/.build-id/be/ffc50b8076e4eac5a913fca05e8f10eb93fa0b from install of beekeeper-studio-5.6.0-1.x86_64 conflicts with file from package slack-4.47.69-0.1.el8.x86_64

You can also see the same issue in the Signal desktop linux version.

  - file /usr/lib/.build-id/20/b01355ef9acbaeba9fdb08c40c2d31c9c17f15 from install of signal-desktop-7.83.0-1.x86_64 conflicts with file from package slack-4.47.69-0.1.el8.x86_64
  - file /usr/lib/.build-id/3b/0ca80b2a979f8371eac66476c598b2c96e3dff from install of signal-desktop-7.83.0-1.x86_64 conflicts with file from package slack-4.47.69-0.1.el8.x86_64
  - file /usr/lib/.build-id/69/54cec325d24b9d56a3182accaaab32ea5164a8 from install of signal-desktop-7.83.0-1.x86_64 conflicts with file from package slack-4.47.69-0.1.el8.x86_64
  - file /usr/lib/.build-id/72/079ccdf946faf03d3ee1da2de10367a95738fc from install of signal-desktop-7.83.0-1.x86_64 conflicts with file from package slack-4.47.69-0.1.el8.x86_64
  - file /usr/lib/.build-id/a1/f9981aece98364f115c84e8b029ab5efec7ca7 from install of signal-desktop-7.83.0-1.x86_64 conflicts with file from package slack-4.47.69-0.1.el8.x86_64
  - file /usr/lib/.build-id/be/ffc50b8076e4eac5a913fca05e8f10eb93fa0b from install of signal-desktop-7.83.0-1.x86_64 conflicts with file from package slack-4.47.69-0.1.el8.x86_64
  - file /usr/lib/.build-id/de/2d36d2940179612036568367ac28d6135f01e8 from install of signal-desktop-7.83.0-1.x86_64 conflicts with file from package slack-4.47.69-0.1.el8.x86_64
  - file /usr/lib/.build-id/e8/3378af3677b91db7a731ee0bc2eb0b238689e7 from install of signal-desktop-7.83.0-1.x86_64 conflicts with file from package slack-4.47.69-0.1.el8.x86_64

Workaround:

We're adding --rpm-rpmbuild-define=_build_id_links none to our FPM invocation with Electron builder.

Question

I'm an RPM noob (Ubuntu guy)... is this intended behavior, user error (we just always need that flag), a bug with FPM, or a bug with something else?

Thanks to anyone who knows more about this than me! Either way I hope this helps others find and resolve the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions