Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 616220

Summary: x11-themes/adwaita-icon-theme-3.22.0-r1 : "Can't load file: Error writing"
Product: Gentoo Linux Reporter: Phil Stracchino (Unix Ronin) <phils>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch

Description Phil Stracchino (Unix Ronin) 2017-04-21 15:25:57 UTC
I don't know if this is actually serious or not, but it doesn't look good:


for file in `cd ../../Adwaita/scalable; find . -name "*.svg"`; do \
        context="`dirname $file`"; \
        /bin/mkdir -p /var/tmp/portage/x11-themes/adwaita-icon-theme-3.22.0-r1/image//usr/share/icons/Adwaita/scalable/$context; \
        /bin/sh /var/tmp/portage/x11-themes/adwaita-icon-theme-3.22.0-r1/work/adwaita-icon-theme-3.22.0/install-sh -c -m 644 ../../Adwaita/scalable/$file /var/tmp/portage/x11-themes/adwaita-icon-theme-3.22.0-r1/image//usr/share/icons/Adwaita/scalable/$file; \
        for size in 16x16 24x24 32x32 48x48 64x64 96x96; do \
                /bin/mkdir -p /var/tmp/portage/x11-themes/adwaita-icon-theme-3.22.0-r1/image//usr/share/icons/Adwaita/$size/$context; \
                /usr/bin/gtk-encode-symbolic-svg ../../Adwaita/scalable/$file $size -o /var/tmp/portage/x11-themes/adwaita-icon-theme-3.22.0-r1/image//usr/share/icons/Adwaita/$size/$context; \
        done \
done
Can't load file: Error writing
Can't load file: Error writing
Can't load file: Error writing
Can't load file: Error writing
Can't load file: Error writing
Can't load file: Error writing
make[3]: Leaving directory '/var/tmp/portage/x11-themes/adwaita-icon-theme-3.22.0-r1/work/adwaita-icon-theme-3.22.0/src/symbolic'
make[2]: Leaving directory '/var/tmp/portage/x11-themes/adwaita-icon-theme-3.22.0-r1/work/adwaita-icon-theme-3.22.0/src/symbolic'
Making install in spinner


This is repeatable across three different machines, all with LOTS of disk space available.  Is it expected?
Comment 1 Mart Raudsepp gentoo-dev 2017-04-21 15:58:28 UTC
This is some funny business with librsvg and its gdk-pixbuf loader, I believe.
Possibly duplicate of bug 580356, which could use some fresh insight or report details.
Comment 2 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-04-22 19:50:08 UTC
Confirmed, I'm running into the same thing on another computer. The workarounds from bug 580356 doesn't seem to have helped with this one
Comment 3 Michael Buchfink 2017-05-04 11:02:56 UTC
Created attachment 471602 [details, diff]
Patch

This patch solved the issue for me. The file send-to-symbolic.svg is corrupt. I patched it against the latest version in the repository.
Comment 4 Mart Raudsepp gentoo-dev 2017-05-23 16:37:28 UTC
commit caa0d3685ae6bf9fd60bbfc3311d64499cd1d778
Author: Mart Raudsepp <leio@gentoo.org>
Date:   Tue May 23 19:33:54 2017 +0300

    x11-themes/adwaita-icon-theme: fix corrupted send-to-symbolic.svg
    
    This icon is used at least in gnome-maps "What's here" popup, where
    it's displaying a missing image icon without the fix.
    
    Gentoo-bug: 616220


commit 79fb1fa7d35f449744e00b3768c7b541612f7b13
Author: Mart Raudsepp <leio@gentoo.org>
Date:   Tue May 23 19:36:20 2017 +0300

    x11-themes/adwaita-icon-theme-3.22.0-r2: ALLARCHES stabilize where -r1 was stable
    
    -r2 over -r1 has a SVG image only architecture independent fix, so just stabilize
    for all arches that had 3.22.0 tested via -r1.