Bug 276200 - x11-toolkits/gtk30 build fails with "couldn't recognize the image file format"
Summary: x11-toolkits/gtk30 build fails with "couldn't recognize the image file format"
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-08 17:03 UTC by doctor
Modified: 2024-01-09 14:53 UTC (History)
2 users (show)

See Also:
linimon: maintainer-feedback? (desktop)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description doctor 2024-01-08 17:03:19 UTC
I am getting 

[ 13% 163/1208] /usr/local/bin/glib-compile-resources gtk/gtk.gresources.xml --sourcedir /usr/ports/x11-toolkits/gtk30/work/gtk+-3.24.38/_build/gtk --sourcedir /usr/ports/x11-toolkits/gtk30/work/gtk+-3.24.38/gtk --sourcedir gtk/theme/Adwaita --sourcedir gtk/theme/HighContrast --sourcedir ../gtk --c-name _gtk --internal --generate --target gtk/gtkresources.c --manual-register --dependency-file gtk/gtkresources.c.d
FAILED: gtk/gtkresources.c 
/usr/local/bin/glib-compile-resources gtk/gtk.gresources.xml --sourcedir /usr/ports/x11-toolkits/gtk30/work/gtk+-3.24.38/_build/gtk --sourcedir /usr/ports/x11-toolkits/gtk30/work/gtk+-3.24.38/gtk --sourcedir gtk/theme/Adwaita --sourcedir gtk/theme/HighContrast --sourcedir ../gtk --c-name _gtk --internal --generate --target gtk/gtkresources.c --manual-register --dependency-file gtk/gtkresources.c.d
failed to load "/usr/ports/x11-toolkits/gtk30/work/gtk+-3.24.38/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png": Couldn?t recognize the image file format for file ?/usr/ports/x11-toolkits/gtk30/work/gtk+-3.24.38/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png?
gtk/gtk.gresources.xml: Child process exited with code 1.
ninja: build stopped: subcommand failed.

What is the fix?
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2024-01-09 10:43:21 UTC
I wasn't able to reproduce this. What options are you building with?
Comment 2 doctor 2024-01-09 14:32:08 UTC
all options
Comment 3 Gleb Popov freebsd_committer freebsd_triage 2024-01-09 14:39:43 UTC
Nope, still can't reproduce. Are you building in a jail with Poudriere?
Comment 4 Baptiste Daroussin freebsd_committer freebsd_triage 2024-01-09 14:53:36 UTC
can you provide the full build and the encironement you are building on:
- FreeBSD version
- portmaaster/poudriere/make command
- arch