Error spam from disk_cache_os.c caused by failure to create shader cache
I notice a spam of stderr warnings when I 'flatpak run org.gnome.Epiphany.Devel' and they're coming from mesa's src/util/disk_cache_os.c:
Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling.
Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling.
Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling.
Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling.
Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling.
Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling.
Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling.
Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling.
Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling.
Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling.
Failed to create /home/mcatanzaro/.var/app/org.gnome.Epiphany.Devel/cache for shader cache (No such file or directory)---disabling.
It looks like the code is doing the equivalent of 'mkdir' but it needs to do the equivalent of 'mkdir -p', i.e. it gives up if the immediate parent directory does not exist when it ought to create it.
Edited by Michael Catanzaro