Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616220 - x11-themes/adwaita-icon-theme-3.22.0-r1 : "Can't load file: Error writing"
Summary: x11-themes/adwaita-icon-theme-3.22.0-r1 : "Can't load file: Error writing"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-21 15:25 UTC by Phil Stracchino (Unix Ronin)
Modified: 2017-05-23 16:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch (send-to-symbolic.patch,4.71 KB, patch)
2017-05-04 11:02 UTC, Michael Buchfink
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.