Error in packaging icon-theme

Hi,

I am trying to package reversal icon theme.

Building fails with:

  217s] ERROR: link target doesn't exist (neither in build root nor in installed system):
  217s]   /usr/share/icons/Reversal-cyan/mimes/48/application-x-ms-wim.svg -> /usr/share/icons/Reversal-cyan/mimes/apps/wine.svg
  217s] Add the package providing the target to BuildRequires and Requires


The spec-file is here: https://build.opensuse.org/package/view_file/home:Herbster0815/reversal-icon-theme/reversal-icon-theme.spec?expand=1

I have no idea which package to add to the (Build)Requires:
Can anyone help?

Thx!

Neither do we. This is really not a Build Service question.

Your application creates link to non-existent file during installation. Contact application developer and ask where link target is supposed to come from. And that is really not the only one case. Just look at your build log.

   62s] ERROR: link target doesn't exist (neither in build root nor in installed system):
   62s]   /usr/share/icons/Reversal-black/apps/scalable/Dropbox.svg -> dropbox.svg
   62s] Add the package providing the target to BuildRequires and Requires
...

(I am not going to copy all errors).

Got it working. Added “export NO_BRP_STALE_LINK_ERROR=yes” to %build.

Solution found here: https://issuehint.com/issue/openSUSE/brp-check-suse/42

You ignored build time error and packaged broken links. But whatever works for you …