Bugzilla – Bug 1219420
Unexpected EOF errors when installing upgrades to Vivaldi browsers - xdg-icon-resource
Last modified: 2024-02-01 09:54:02 UTC
Upgraded my Vivaldi browsers on Tumbleweed and the following errors were displayed during the upgrade (using zypper dup): /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' (77/78) Installing: vivaldi-stable-6.5.3206.59-1.x86_64 ................................................[done] /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' /bin/xdg-icon-resource: line 1041: unexpected EOF while looking for matching ``' (78/78) Installing: vivaldi-snapshot-6.6.3256.4-1.x86_64 ...............................................[done] This was discussed with a Vivaldi developer and was told the bug is in /bin/xdg-icon-resource. xdg-utils was upgraded today. Information for package xdg-utils: ---------------------------------- Repository : Main Repository (OSS) Name : xdg-utils Version : 1.2.0+20240130-1.1 Arch : noarch Vendor : openSUSE Installed Size : 385.0 KiB Installed : Yes (automatically) Status : up-to-date
https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=af2fe0d1dcbcd982d84ddf2bbd174afe90976ed9
Here is a simpler test to demostrate the issue • Fetch a test icon like so wget https://commons.wikimedia.org/wiki/File:OpenSUSE_button_bling.png • Use xdg-icon-resource to install it sudo xdg-icon-resource install --size 256 File:OpenSUSE_button_bling.png --novendor xdgtest Expected result: No error messages and the file should be installed --- You can check the file is present like so (assuming a more advanced shell like ksh, bash, zsh, etc.) find /usr/{local/,}share/icons/hicolor/256x256/apps -name xdgtest.png The file can then be removed with a standard `rm` command or you should also be able to use xdg-icon-resource like so: sudo xdg-icon-resource uninstall --size 256 xdgtest
Sorry, I missed that Andreas already pointed to a patch
given we are using git based packaging i'll roll a tumbleweed update now, I was waiting to see if there was any other issues before doing the upstream one.
Fix sent as https://build.opensuse.org/request/show/1143271