Re: Error building Gimp-3.0.4

"Xi Ruoyao" ([email protected] via blfs-support Mailing List) <[email protected]> Wed, 12 Nov 2025 09:16:44 +0800
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
On Tue, 2025-11-11 at 14:48 -0600, Douglas R. Reno wrote:
> On 11/11/25 1:56 PM, Richard ([email protected] via blfs-support Mailing 
> List) wrote:
> > 
> > I have built all the required and recommended dependencies
> > for Gimp-3.0.4 in the blfs-12.4 stable book, but I get the
> > following build error.
> > 
> > Richard
> > 
> > [581/2586] Generating app/dialogs/welcome-dialog-data-c with a custom 
> > command (wrapped by meson to capture output)
> > FAILED: [code=1] app/dialogs/welcome-dialog-data.c
> > /usr/bin/meson --internal exe --capture 
> > app/dialogs/welcome-dialog-data.c -- /usr/bin/python3 
> > /sources/gimp-3.0.4/tools/generate-welcome-dialog-data.py 3.0.4
> > --- stderr ---
> > Traceback (most recent call last):
> >   File "/sources/gimp-3.0.4/tools/generate-welcome-dialog-data.py", 
> > line 139, in <module>
> >     print('  "{}",'.format(item))
> >     ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
> > UnicodeEncodeError: 'latin-1' codec can't encode character '\u2026' in 
> > position 48: ordinal not in range(256)
> > 
> > [586/2586] Compiling C object app/file/libappfile.a.p/file-open.c.o
> > ninja: build stopped: subcommand failed.
> 
> Hi Richard,
> 
> That's kind of a weird error.

It looks similar to something we've encountered with libxcb:
https://gitlab.freedesktop.org/xorg/lib/libxcb/-/issues/72.  Thus I
guess using the same workaround, i.e. "LC_ALL=C.UTF-8 ninja" would work
around it.

-- 
Xi Ruoyao <[email protected]>

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page