pkgsrc-Users archive

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

Re: glib2 failure on NetBSD 9



On 1/27/23 06:45, Joerg Sonnenberger wrote:
Am Fri, Jan 27, 2023 at 09:44:28AM +0000 schrieb Patrick Welche:
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?

ISO 646 is ASCII.

Joerg

Here's my locale, which hasn't changed in years:

NetBSD netbsd9.acadix  bacon ~ 1004: (pkgsrc): printenv|grep UTF
LC_ALL=C.UTF-8
LANG=C.UTF-8

Changing it to en_US.UTF-8 or en_GB.UTF-8 has no effect.


Home | Main Index | Thread Index | Old Index