pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: glib2 failure on NetBSD 9



On Wed, Jan 25, 2023 at 02:05:31PM -0600, Jason Bacon wrote:
> 
> Getting this build error in glib2.  This is being run from pkg_chk -su, so
> in theory all installed dependencies should be up-to-date.
> 
> [815/1255] Generating gio/tests/plugin-resources.c with a custom command
> FAILED: gio/tests/plugin-resources.c
> /home/bacon/Pkgsrc/pkgsrc/devel/glib2/work/glib-2.74.4/output/gio/glib-compile-resources
> --compiler=gcc --target=gio/tests/plugin-resources.c
> --sourcedir=/home/bacon/Pkgsrc/pkgsrc/devel/glib2/work/glib-2.74.4/gio/tests
> --internal --generate-source --c-name _g_plugin
> ../gio/tests/test4.gresource.xml
> GLib: Cannot convert message: Conversion from character set “UTF-8” to “646”
> is not supported
> Conversion from character set “646” to “UTF-8” is not supported

I'm at a loss where the "646" is coming from. AFAICT the test tries to
encode a file containing the word "test1" + 0xa LF, which "file" guesses
as ASCII, into UTF-8.

Guessing "646" has something to do with your build environment?

(I just built successfully in an environment with en_GB.UTF-8 and one
with no locale specific environment variables set, admittedly on -current
rather than 9, but AFAIK nothing changed in that respect.)


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index