NetBSD Problem Report #56141

From www@netbsd.org  Mon May  3 06:05:29 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 8DEEB1A923B
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  3 May 2021 06:05:29 +0000 (UTC)
Message-Id: <20210503060528.0207B1A924A@mollari.NetBSD.org>
Date: Mon,  3 May 2021 06:05:27 +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:         56141
>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 03 06:10:00 +0000 2021
>Last-Modified:  Mon May 03 08:10:01 +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:
From: Yasushi Oshima <oshima-ya@yagoto-urayama.jp>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/56141: Many localized messags for Japanese were not used
 after 7.1.2.2
Date: Mon, 03 May 2021 15:24:24 +0900 (JST)

 Sorry, I mistake my mail address in the send-pr forms.

 Prease change and send me to this email: oshima-ya@yagoto-urayama.jp

 thanks.

From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/56141: Many localized messags for Japanese were not used
 after 7.1.2.2
Date: Mon, 3 May 2021 10:08:57 +0200

 On Mon, May 03, 2021 at 07:45:01AM +0000, Yasushi Oshima wrote:
 >  Sorry, I mistake my mail address in the send-pr forms.
 >  
 >  Prease change and send me to this email: oshima-ya@yagoto-urayama.jp

 Done!
  Thomas

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.