[Bug 234784] graphics/gdk-pixbuf2: Fails to build with PNG option disabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Feb 2023 22:21:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234784

Patrick LoPresti <lopresti@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lopresti@gmail.com

--- Comment #20 from Patrick LoPresti <lopresti@gmail.com> ---
(In reply to John Hein from comment #4)

> Couldn't recognize the image file format for file '/wrkdirs/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/tests/icc-profile.png'

> It's funny that someone else is seeing this error - I hit this last month locally.
> In my case, it was a failure of devel/glib20's glib-compile-resources program (it is called by the gdk-pixbuf2 build - specifically gen-resources.py) to find the mime data to identify a file as a png file
> - it didn't know how to look in share/ and find mime/image/png.xml because of a local problem.

Just wanted to say "thank you". In my case, the "local problem" was setting
XDG_DATA_DIRS as part of testing a local toolchain build.  Appending /usr/share
resolves the problem while keeping my local toolchain visible.

I have to say this is a pretty unfriendly failure mode; I am not sure I would
have been able to figure it out without your comment on this bug report.

Anyway thanks again.

-- 
You are receiving this mail because:
You are the assignee for the bug.