NetBSD Problem Report #59021

From www@netbsd.org  Wed Jan 22 07:02:35 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 426A31A923A
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 22 Jan 2025 07:02:35 +0000 (UTC)
Message-Id: <20250122070234.3D22D1A923B@mollari.NetBSD.org>
Date: Wed, 22 Jan 2025 07:02:34 +0000 (UTC)
From: mayuresh@acm.org
Reply-To: mayuresh@acm.org
To: gnats-bugs@NetBSD.org
Subject: gtk3: Conversion from character set _UTF-8_ to _646_ is not supported
X-Send-Pr-Version: www-1.0

>Number:         59021
>Category:       pkg
>Synopsis:       gtk3: Conversion from character set _UTF-8_ to _646_ is not supported
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 22 07:05:00 +0000 2025
>Originator:     Mayuresh
>Release:        NetBSD 10.1 pkgsrc current as of 21 Jan 2025
>Organization:
>Environment:
NetBSD warunjikar.in 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
https://mail-index.netbsd.org/pkgsrc-users/2025/01/19/msg040890.html

Note: x11/gtk2 also fails with different manifestation, but the fix looks same for both.
>How-To-Repeat:
cd /usr/pkgsrc/x11/gtk3
make
>Fix:
This worked for me but not sure if this is a good fix.

Note: Same fix worked for me for x11/gtk2 as well.

diff --git a/x11/gtk3/Makefile b/x11/gtk3/Makefile
index 5d12cab7b..0915cb187 100644
--- a/x11/gtk3/Makefile
+++ b/x11/gtk3/Makefile
@@ -124,3 +124,6 @@ BUILDLINK_API_DEPENDS.libepoxy+=    libepoxy>=1.4
 .include "../../lang/python/tool.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"
+
+MAKE_ENV+=     LANG=en_US.UTF-8
+MAKE_ENV+=     LC_ALL=en_US.UTF-8

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.