NetBSD Problem Report #56142
From www@netbsd.org Mon May 3 06:06:07 2021
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))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0EF2D1A923B
for <gnats-bugs@gnats.NetBSD.org>; Mon, 3 May 2021 06:06:07 +0000 (UTC)
Message-Id: <20210503060605.860C71A924A@mollari.NetBSD.org>
Date: Mon, 3 May 2021 06:06:05 +0000 (UTC)
From: oshima-ya@yagoto-urayama.jp
Reply-To: oshima-ya@yagoto-urayama.jp
To: gnats-bugs@NetBSD.org
Subject: Many localized messags for Japanese were not used after 7.1.2.2
X-Send-Pr-Version: www-1.0
>Number: 56142
>Category: pkg
>Synopsis: Many localized messags for Japanese were not used after 7.1.2.2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 03 06:10:00 +0000 2021
>Closed-Date: Mon May 03 06:13:13 +0000 2021
>Last-Modified: Mon May 03 06:13:13 +0000 2021
>Originator: Yasushi Oshima
>Release: pkgsrc-current
>Organization:
>Environment:
NetBSD sudachi 9.1_STABLE NetBSD 9.1_STABLE (GENERIC) #0: Thu Apr 29 16:55:20 JST 2021 oshima@sudachi:/export/netbsd-9/20210429/obj/amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
After 7.1.2.2, japanese localized message/text were not used in many GUI panel/dialog/messages when LANG=ja_JP.UTF-8.
Before this version (ex. 7.1.1.2), its all right.
Screenshot:
- 7.1.2.2(NG): https://gist.github.com/oshimaya/5825a6bc32b04428fb734d1c4a6caf2e#file-libre7122-jpg
- 7.1.1.2(OK): https://gist.github.com/oshimaya/5825a6bc32b04428fb734d1c4a6caf2e#file-libre7112-jpg
>How-To-Repeat:
After install libreoffice 7.1.2.2,
% setenv LANG ja_JP.UTF-8
% libreoffice
See some messages in window of libreoffice
>Fix:
I don't know how to fix.
I think this problem is probably caused by libintl.so in NetBSD distribution.
For workaround,
when devel/gettext-lib is installed and
force use this libintl.so:
% env LD_PRELOAD=/usr/pkg/lib/libintl.so libreoffice
then, Japanese messages will appear.
https://gist.github.com/oshimaya/5825a6bc32b04428fb734d1c4a6caf2e#file-libre7122g-jpg
However, I don't know if this is correct, and I don't know how to set when build/run time with pkgsrc.
For workaround,
when devel/gettext-lib is installed,
force use this libintl.so:
% env LD_PRELOAD=/usr/pkg/lib/libintl.so libreoffice
It seems right, Japanese messages will appear.
https://gist.github.com/oshimaya/5825a6bc32b04428fb734d1c4a6caf2e#file-libre7122g-jpg
However, I don't know if this is correct, and I don't know how to set when build/run time with pkgsrc.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 03 May 2021 06:13:13 +0000
State-Changed-Why:
Duplicate of 56141
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.