Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2017 00:47:59 +0200
From:      Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@FreeBSD.org>
To:        Zach <zleslie@freebsd.org>
Cc:        Karli =?iso-8859-1?Q?Sj=F6berg?= <karli@inparadise.se>, ports@freebsd.org, puppet@freebsd.org
Subject:   Re: gettextsetup warnings
Message-ID:  <20170919224759.GA25389@blogreen.org>
In-Reply-To: <20170919160959.fzkfc5kheny47naq@celtis.u.larch.space>
References:  <08c976dd-c1c3-4fb5-8455-4495aa74b75e@email.android.com> <20170919160959.fzkfc5kheny47naq@celtis.u.larch.space>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <romain@FreeBSD.org>  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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170919224759.GA25389>