FS#52333 - [gdk-pixbuf2] 2.36.1+31+gecea71eb6-1 cannot load png file
Attached to Project:
Arch Linux
Opened by Yang Yang (reliveyy) - Monday, 02 January 2017, 13:32 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 02 January 2017, 20:53 GMT
Opened by Yang Yang (reliveyy) - Monday, 02 January 2017, 13:32 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 02 January 2017, 20:53 GMT
|
Details
Description:
https://www.archlinux.org/packages/extra/x86_64/gdk-pixbuf2/ gdk-pixbuf2 2.36.1+31+gecea71eb6-1 cannot load png file and that leads to a fail loading of awesome WM https://github.com/awesomeWM/awesome/issues/1349 Steps to reproduce: Test code: (test.c) #include <gdk-pixbuf/gdk-pixbuf.h> #include <stdio.h> int main(int argc, char *argv[]) { int files = argc-1; int cur; for (cur = 1; cur < argc; cur++) { GdkPixbuf *pbuf; GError *error = NULL; printf("Trying to load '%s'...", argv[cur]); pbuf = gdk_pixbuf_new_from_file(argv[cur], &error); if (pbuf != NULL) { puts("Success"); g_object_unref(pbuf); } if (error != NULL) { printf("Error: %s\n", error->message); g_error_free(error); } } printf("Done loading %d files\n", files); return 0; } gcc test.c $(pkg-config --libs --cflags gdk-pixbuf-2.0) -Wall -Wextra -O3 ./a.out /usr/share/awesome/themes/default/background.png |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Monday, 02 January 2017, 20:53 GMT
Reason for closing: Fixed
Additional comments about closing: gdk-pixbuf2 2.36.2
Monday, 02 January 2017, 20:53 GMT
Reason for closing: Fixed
Additional comments about closing: gdk-pixbuf2 2.36.2
I cannot reproduce with your example.
* new archlinux on VirtualBox
* xorg (all) xorg-xinit xorg-server xorg-server-utils
* virtualbox-guest-utils
* xterm
* xf86-video-vesa
* awesome
So it appears to be some missing dependency.
Could be the same issue.
Edit: someone on IRC just confirmed it. Missing dep on shared-mime-info.