Need help fix build fail for mint-x-icon-theme

Hello, I need help fix build fail for mint-x-icon-theme. https://build.opensuse.org/package/show/X11:Cinnamon:Factory/mint-x-icon-the... I update it from version 1.5.5 to 1.5.9 which I did not change any macro except the version. The issue look like missing symbolic link. [ 24s] ERROR: link target doesn't exist (neither in build root nor in installed system): [ 24s] /usr/share/icons/Mint-X/apps/16/file-manager.png -> system-file-manager.png [ 24s] Add the package providing the target to BuildRequires and Requires Which I believe this macro have the issue, but I don't know how to fix it, because I did not write that macro. mkdir -p %{buildroot}%{_datadir}/icons/ ls .%{_datadir}/icons/ | while read icons; do sed -i 's/^\(Inherits=\).*$/\1Adwaita/' .%{_datadir}/icons/$icons/index.theme cp -a .%{_datadir}/icons/$icons %{buildroot}%{_datadir}/icons/$icons # %%icon_theme_cache_create_ghost fails to work here. touch %{buildroot}%{_datadir}/icons/$icons/icon-theme.cache done Any ideas? Kind regards, Andy

Hello Andy, Am Freitag, 15. Januar 2021, 09:36:23 CET schrieb andythe_great:
I need help fix build fail for mint-x-icon-theme. https://build.opensuse.org/package/show/X11:Cinnamon:Factory/mint-x-icon-the me
I update it from version 1.5.5 to 1.5.9 which I did not change any macro except the version.
Just a sidenote: The package in Factory is already version 1.5.8
The issue look like missing symbolic link.
[ 24s] ERROR: link target doesn't exist (neither in build root nor in installed system): [ 24s] /usr/share/icons/Mint-X/apps/16/file-manager.png -> system-file-manager.png [ 24s] Add the package providing the target to BuildRequires and Requires
The build in Factory shows the same error message, but the checker continues. This is strange. Maybe the projects are configures different? I dont know, but I hope someone from the OBS Team has an idea.... (Every now and then the checker comes up with new issues: One of my builds suddenly fails with hardlink-across-partition (Badness: 10000) in TW. Guess it comes from desktop_file_install macro...) Best, Axel

Hello Andy, Am Freitag, 15. Januar 2021, 09:36:23 CET schrieb andythe_great:
I need help fix build fail for mint-x-icon-theme. https://build.opensuse.org/package/show/X11:Cinnamon:Factory/mint-x-icon-the me
I update it from version 1.5.5 to 1.5.9 which I did not change any macro except the version.
Just a sidenote: The package in Factory is already version 1.5.8
The issue look like missing symbolic link.
[ 24s] ERROR: link target doesn't exist (neither in build root nor in installed system): [ 24s] /usr/share/icons/Mint-X/apps/16/file-manager.png -> system-file-manager.png [ 24s] Add the package providing the target to BuildRequires and Requires
The build in Factory shows the same error message, but the checker continues. This is strange. Maybe the projects are configures different? I dont know, but I hope someone from the OBS Team has an idea.... (Every now and then the checker comes up with new issues: One of my builds suddenly fails with hardlink-across-partition (Badness: 10000) in TW. Guess it comes from desktop_file_install macro...) Best, Axel

On Jan 15 2021, andythe_great wrote:
The issue look like missing symbolic link.
[ 24s] ERROR: link target doesn't exist (neither in build root nor in installed system): [ 24s] /usr/share/icons/Mint-X/apps/16/file-manager.png -> system-file-manager.png [ 24s] Add the package providing the target to BuildRequires and Requires
Which I believe this macro have the issue, but I don't know how to fix it, because I did not write that macro.
mkdir -p %{buildroot}%{_datadir}/icons/ ls .%{_datadir}/icons/ | while read icons; do sed -i 's/^\(Inherits=\).*$/\1Adwaita/' .%{_datadir}/icons/$icons/index.theme cp -a .%{_datadir}/icons/$icons %{buildroot}%{_datadir}/icons/$icons # %%icon_theme_cache_create_ghost fails to work here. touch %{buildroot}%{_datadir}/icons/$icons/icon-theme.cache done
Any ideas?
The dangling symlinks are already present in the source (only Mint-X has the problem). You should probably report that upstream. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

The dangling symlinks are already present in the source (only Mint-X has the problem). You should probably report that upstream.
Andreas.
---------------------------------------------------------------------------------------------------------------------------------------------
Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
Could you elaborate what this mean, so I can describe the issue to upstream? I'm don't know anything about this.

Just unpack the source tarball. The dangling symlinks are there, in the same directories the rpm check complains about. $ find -xtype l ./usr/share/icons/Mint-X/apps/16/redhat-filemanager.png ./usr/share/icons/Mint-X/apps/16/kfm.png ./usr/share/icons/Mint-X/apps/16/file-manager.png ./usr/share/icons/Mint-X/apps/16/nautilus.png ./usr/share/icons/Mint-X/apps/16/xfce-filemanager.png ./usr/share/icons/Mint-X/apps/32/redhat-filemanager.png ./usr/share/icons/Mint-X/apps/32/kfm.png ./usr/share/icons/Mint-X/apps/32/file-manager.png ./usr/share/icons/Mint-X/apps/32/nautilus.png ./usr/share/icons/Mint-X/apps/32/xfce-filemanager.png ./usr/share/icons/Mint-X/apps/22/redhat-filemanager.png ./usr/share/icons/Mint-X/apps/22/kfm.png ./usr/share/icons/Mint-X/apps/22/file-manager.png ./usr/share/icons/Mint-X/apps/22/nautilus.png ./usr/share/icons/Mint-X/apps/22/xfce-filemanager.png ./usr/share/icons/Mint-X/apps/24/redhat-filemanager.png ./usr/share/icons/Mint-X/apps/24/kfm.png ./usr/share/icons/Mint-X/apps/24/file-manager.png ./usr/share/icons/Mint-X/apps/24/nautilus.png ./usr/share/icons/Mint-X/apps/24/xfce-filemanager.png ./usr/share/icons/Mint-X/apps/48/redhat-filemanager.png ./usr/share/icons/Mint-X/apps/48/kfm.png ./usr/share/icons/Mint-X/apps/48/file-manager.png ./usr/share/icons/Mint-X/apps/48/nautilus.png ./usr/share/icons/Mint-X/apps/48/xfce-filemanager.png Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
participants (4)
-
Andreas Schwab
-
andythe_great
-
Axel Braun
-
Axel Braun