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 07:15, Jason Bacon wrote:
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.

I removed everything except the core packages:

cwrappers-20220403  pkgsrc compiler wrappers
bootstrap-mk-files-20180901 *.mk files for the bootstrap bmake utility
bmake-20200524nb1   Portable (autoconf) version of NetBSD 'make' utility
pkg_install-20211115 Package management and administration tools for pkgsrc
openssl-1.1.1s      Secure Socket Layer and cryptographic library
mozilla-rootcerts-openssl-2.10 Wedge for installing and managing mozilla-rootcerts

Then ran cvs up.

Still getting the same error.

Here's my mk.conf:

# Example /home/bacon/Pkgsrc/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Tue Oct 19 19:27:40 CDT 2021

.ifdef BSD_PKG_MK       # begin pkgsrc settings

ABI=                    64

UNPRIVILEGED=           yes
PKG_DBDIR=              /home/bacon/Pkgsrc/pkg/pkgdb
LOCALBASE=              /home/bacon/Pkgsrc/pkg
SYSCONFBASE=            /home/bacon/Pkgsrc/pkg/etc
VARBASE=                /home/bacon/Pkgsrc/pkg/var
PKG_TOOLS_BIN=          /home/bacon/Pkgsrc/pkg/sbin
PKGINFODIR=             info
PKGMANDIR=              man

# WARNING: Changing PREFER_* after bootstrap will require rebuilding all
# packages with a dependency that switched between native/pkgsrc.
PREFER_PKGSRC=          yes


.endif                  # end pkgsrc settings

.ifdef BSD_PKG_MK       # Begin auto-pkgsrc-setup customizations

# For pkg_chk, etc.
PKGSRCDIR=              /home/bacon/Pkgsrc/pkgsrc
PKGSRC_USE_RELRO=       yes
PKGSRC_FORTRAN=         gfortran
PKG_DEVELOPER=          yes
FETCH_USING=            ftp
SKIP_LICENSE_CHECK=     yes
PKG_OPTIONS.libfetch=   inet6 openssl
MAKE_JOBS=              2
X11_TYPE=               modular

.endif                  # End auto-pkgsrc-setup customizations



Home | Main Index | Thread Index | Old Index