3.24.26 does not build on raspberry pi: Failed to load / recognize file format for bullet-symbolic.symbolic.png
3.24.26 does not build on rpi:
- Linux raspberrypi 5.10.17-v7+ # 1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux
- gcc 10.2.0
- glib 2.67.4
i suspect glib (which provides resource compiler) does not support libpng, at least i was not able to find any signs of it supporting/using libpng:
ninja: Entering directory `_build'
[1/1307] Generating gdkresources_h with a custom command
[2/1307] Generating gdkresources_c with a custom command
[3/1307] Generating gtkresources_h with a custom command
FAILED: gtk/gtkresources.h
/home/pi/prod/10.2.0/glib/bin/glib-compile-resources gtk/gtk.gresources.xml --sourcedir /home/pi/stage/libs/builds/10.2.0/gtk/3.24.26/src/gtk/_build/gtk --sourcedir /home/pi/stage/libs/builds/10.2.0/gtk/3.24.26/src/gtk/gtk --sourcedir ../gtk --c-name _gtk --internal --generate --target gtk/gtkresources.h --manual-register
failed to load "/home/pi/stage/libs/builds/10.2.0/gtk/3.24.26/src/gtk/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png": Couldn?t recognize the image file format for file ?/home/pi/stage/libs/builds/10.2.0/gtk/3.24.26/src/gtk/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png?
gtk/gtk.gresources.xml: Child process exited with code 1.
[4/1307] Generating gtkresources_c with a custom command
FAILED: gtk/gtkresources.c
/home/pi/prod/10.2.0/glib/bin/glib-compile-resources gtk/gtk.gresources.xml --sourcedir /home/pi/stage/libs/builds/10.2.0/gtk/3.24.26/src/gtk/_build/gtk --sourcedir /home/pi/stage/libs/builds/10.2.0/gtk/3.24.26/src/gtk/gtk --sourcedir ../gtk --c-name _gtk --internal --generate --target gtk/gtkresources.c --manual-register --dependency-file gtk/gtkresources.c.d
failed to load "/home/pi/stage/libs/builds/10.2.0/gtk/3.24.26/src/gtk/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png": Couldn?t recognize the image file format for file ?/home/pi/stage/libs/builds/10.2.0/gtk/3.24.26/src/gtk/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png?
gtk/gtk.gresources.xml: Child process exited with code 1.
[5/1307] Generating gdkmarshalers_h with a custom command
INFO: Reading ../gdk/gdkmarshalers.list...
[6/1307] Generating gdkmarshalers_c with a custom command
INFO: Reading ../gdk/gdkmarshalers.list...
[7/1307] Generating gtkdbusgenerated.c with a custom command
[8/1307] Generating gdkenumtypes.h with a custom command (wrapped by meson to capture output)
ninja: build stopped: subcommand failed.
Edited by Sergey Kachanovskiy