When the gartoon icon theme is installed along with the new gtk+-2.12.1-r1 version, gtk-update-icon-cache cannot build the icon cache. This causes a lengthy delay upon installation of gnome-based ebuilds since they call for gtk-update-icon-cache to run in post_install. You will notice this error: * Updating icons cache ... The generated cache was invalid. [!!] Reproducible: Always Steps to Reproduce: 1. Update to latest gtk+ 2. Install x11-themes/gartoon 3. Install any gnome package that builds the icon cache. 4. Notice lengthy delay and cache error. Actual Results: After noticing the error above I went through /usr/share/icons and ran gtk-update-icon-cache -f /usr/share/icons/{DIR} and noticed that gartoon was the only offending icon theme. It would say "The generated icon cache is invalid" There could be others. Expected Results: Update the cache successfully. The removal of x11-themes/gartoon also removed the error. I had this occur on both x86 & amd64 boxes running stable.
This happens to me too on PPC.
I am also suffering this problem in all my machines (amd64 and x86) after upgrading to gtk-2.12, and I don't have this icon set installed :-/
Seemed caused by an "external" icon set, I get no error after removing all orphaned icon-sets in /usr/share/icons Sorry for the inconvenience
This bug in gartoon has been around long before GTK+-2.12 was release.. well, I've known about it but haven't had time or intrest to look at it yet, patch would be nice.
Hey, I think I found a solution to the problem! Just delete the file gartoon-pallete.svg, which doesn't seem to be used anyway, and everything should be OK: $ rm /usr/share/icons/gartoon/gartoon-pallete.svg $ gtk-update-icon-cache -f /usr/share/icons/gartoon/ Cache file created successfully. Man, I was sick of that error message. Can you guys reproduce the solution?
Created attachment 139514 [details] ebuild that solves this issue This is an ebuild that solves the issue presented in this bug report. The only change is not installing the offending file.
Created attachment 139516 [details, diff] patch to solve this issue
Commited: Using commit message: ------------------------------------------------------------------------------ Remove gartoon-pallete.svg to fix icon cache generation, see bug #199110. (Portage version: 2.1.4_rc14) ------------------------------------------------------------------------------
Shouldn't there be an incremented version bump (example: 0.5-r3), so that this fix applies to everyone that already has gartoon installed?