From owner-freebsd-ports@freebsd.org Tue Sep 19 22:48:01 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BDBFE0AE20 for ; Tue, 19 Sep 2017 22:48:01 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8613670382 for ; Tue, 19 Sep 2017 22:48:01 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8282BE0AE1F; Tue, 19 Sep 2017 22:48:01 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 820A7E0AE1E for ; Tue, 19 Sep 2017 22:48:01 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from marvin.blogreen.org (blogreen.org [IPv6:2001:41d0:fea8:8901::2]) by mx1.freebsd.org (Postfix) with ESMTP id 363E370380; Tue, 19 Sep 2017 22:48:00 +0000 (UTC) (envelope-from romain@blogreen.org) Received: by marvin.blogreen.org (Postfix, from userid 1001) id C6B0E962A9; Wed, 20 Sep 2017 00:47:59 +0200 (CEST) Date: Wed, 20 Sep 2017 00:47:59 +0200 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: Zach Cc: Karli =?iso-8859-1?Q?Sj=F6berg?= , ports@freebsd.org, puppet@freebsd.org Subject: Re: gettextsetup warnings Message-ID: <20170919224759.GA25389@blogreen.org> Mail-Followup-To: Zach , Karli =?iso-8859-1?Q?Sj=F6berg?= , ports@freebsd.org, puppet@freebsd.org References: <08c976dd-c1c3-4fb5-8455-4495aa74b75e@email.android.com> <20170919160959.fzkfc5kheny47naq@celtis.u.larch.space> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <20170919160959.fzkfc5kheny47naq@celtis.u.larch.space> X-PGP-Key: http://romain.blogreen.org/pubkey.asc User-Agent: Mutt/1.9.0 (2017-09-02) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2017 22:48:01 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! On Tue, Sep 19, 2017 at 09:09:59AM -0700, Zach wrote: > On Tue 19.Sep.17 17:28, Karli Sj=F6berg wrote: > > Recently I've been noticing hundreds of these messages that SirDice rep= orts in > > this thread on ask.puppet.com: > > https://ask.puppet.com/question/31933/gettextsetup-warnings/ >=20 > Indeed, I was looking at this about an hour ago. > ;/ I am missing the initial context so please forgive me if this is out of topic. I guess this problem is partly fixed with the update to 5.2.0, not in the Ports tree yet (for sysutils/puppet5). I just found a few more problems, I will try to address them tomorrow before leaving to EuroBSDcon. =20 There where a few problems: - The locales are installed in a weird location (/usr/local/share/locale would be more usual than /var/puppet/share/locales); - Some files should not be installed into this directory (/var/puppet/share/locales/config.yaml and /var/puppet/share/locales/puppet.pot as far as I understand). However: 1. The locales directory itself has not the usual layout (e.g. no LC_MESSAGES subdirectory); 2. The installed files are not the good ones (.po instead of .mo) 3. I was not able to switch language by setting LC_ALL / LANG to Japanese (the only locale that is currently installed). As I said in the beginning I found a few more problems, and points 2 and 3 seems to be fixed with some efforts. I'll try to integrated this in the puppet5 port in the GitHub repo! Regards, Romain --=20 Romain Tarti=E8re http://people.FreeBSD.org/~romain/ pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEgjSaeOfAuAcLWYD/uk0dlVESM28FAlnBnpwACgkQuk0dlVES M28fLQwAw2frvaUAQ2+eK3SyttLauw1AC+h3dD8SVDVZWCMeuScCZKhU1zd82SMi 8suHpxxqXA/JLIDvL7k/xoOnpiQXs1oUltHN590aQu2Q0//pc+6vhyKeUpuQLQgK 7cu7pBAWmtcnyfbbV7xMu+cklG8eq38/IoECmdvxqMQbpFK3tzPfq3FryzofnfC+ QbddUqwHzdas9EWpSKhvGiKnQk6SO2aVa3ueEDeJ+dh6t6Hf0f3/xgyN/a7aq2K/ j/NvWUokubJP8mc9OBCrCb0iB9CHfbvkocT2f0pBEo2zHpPLHnZfdOjfZh7GDff6 qqXEuK906xU1XAx+cpwwflaVvIwmmIjEqgKuU1bi3mcWjbOuSloTN8dgK+8WpsqW z0TIIoSKw13B46bPFgbHepedPU0/2eNymnM7PBzjPVXOjgt34Kc++Hn7584Z0n5P oQsauTHGBHzp0XvYlduriMFDOOJdSG4qcCdOFE0jsGPuTtCDK5lxNTftYn7ZJIMv AieaxlSU =hIl1 -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--