[MacPorts] #52605: adwaita-icon-theme @3.22.0 fails building on 10.5.8 PPC
MacPorts
noreply at macports.org
Tue Oct 25 23:59:49 CEST 2016
#52605: adwaita-icon-theme @3.22.0 fails building on 10.5.8 PPC
---------------------------------+----------------------
Reporter: udbraumann | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: adwaita-icon-theme |
---------------------------------+----------------------
Comment (by udbraumann):
Here is what I have found out so far:
{{{
Breakpoint 1, load_symbolic_svg (file_data=0x100f600 "<?xml version='1.0'
encoding='UTF-8'?>\n<!-- Created with Inkscape (http://www.inkscape.org/)
-->\n\n<svg xmlns:dc='http://purl.org/dc/elements/1.1/' sodipodi:docname
='zoom-out-symbolic.svg' width='15.98"..., file_len=3552, width=128,
height=128, fg=0xbffff428, success_color=0xbffff408,
warning_color=0xbffff428, error_color=0xbffff428, error=0xbffff4d8) at
encodesymbolic.c:62
62 css_fg = gdk_rgba_to_string (fg);
(gdb) print *error
$1 = (GError *) 0x0
(gdb) n
64 css_success = css_warning = css_error = NULL;
(gdb) n
66 css_warning = gdk_rgba_to_string (warning_color);
(gdb) n
67 css_error = gdk_rgba_to_string (error_color);
(gdb) n
68 css_success = gdk_rgba_to_string (success_color);
(gdb) n
71 stream = g_memory_input_stream_new_from_data (file_data,
file_len, NULL);
(gdb) n
72 pixbuf = gdk_pixbuf_new_from_stream (stream, NULL, error);
(gdb) n
73 g_object_unref (stream);
(gdb) n
75 if (!pixbuf)
(gdb) n
76 return NULL;
(gdb) n
125 }
(gdb) n
make_symbolic_pixbuf (file=0xbffff62b
"/opt/local/share/icons/Adwaita/scalable/actions/zoom-out-symbolic.svg",
width=128, height=128, error=0xbffff4d8) at encodesymbolic.c:204
204 if (loaded == NULL)
(gdb) n
205 return NULL;
(gdb) n
218 }
(gdb) n
main (argc=3, argv=0xbffff550) at encodesymbolic.c:277
277 if (symbolic == NULL)
(gdb) n
279 g_printerr (_("Can't load file: %s\n"), error->message);
(gdb) n
Can't load file: Unrecognized image file format
280 return 1;
(gdb) bt
#0 main (argc=3, argv=0xbffff550) at encodesymbolic.c:280
}}}
So, for some unknown reason the function `gdk_pixbuf_new` inside
`make_symbolic_pixbuf` returns 0x0 (the variable `symbolic` is assigned
the return value of `make_symbolic_pixbuf`). So my impression is that
`gdk_pixbuf_new` is doing wrong.
--
Ticket URL: <https://trac.macports.org/ticket/52605#comment:23>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list