Date: Wed, 20 Sep 2017 07:46:03 +0200 From: Karli =?ISO-8859-1?Q?Sj=F6berg?= <karli@inparadise.se> To: Romain =?ISO-8859-1?Q?Tarti=E8re?= <romain@FreeBSD.org>, Zach <zleslie@freebsd.org> Cc: ports@freebsd.org, puppet@freebsd.org Subject: Re: gettextsetup warnings Message-ID: <1505886363.2296.61.camel@inparadise.se> In-Reply-To: <20170919224759.GA25389@blogreen.org> References: <08c976dd-c1c3-4fb5-8455-4495aa74b75e@email.android.com> <20170919160959.fzkfc5kheny47naq@celtis.u.larch.space> <20170919224759.GA25389@blogreen.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On ons, 2017-09-20 at 00:47 +0200, Romain Tarti=C3=A8re wrote: > Hello! >=20 > On Tue, Sep 19, 2017 at 09:09:59AM -0700, Zach wrote: > >=20 > > On Tue 19.Sep.17 17:28, Karli Sj=C3=B6berg wrote: > > >=20 > > > Recently I've been noticing hundreds of these messages that > > > SirDice reports in > > > this thread on ask.puppet.com: > > > https://ask.puppet.com/question/31933/gettextsetup-warnings/ > > 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. >=20 > I guess this problem is partly fixed with the update to 5.2.0, not in > the Ports tree yet (for sysutils/puppet5).=C2=A0=C2=A0I just found a fe= w more > problems, I will try to address them tomorrow before leaving to > EuroBSDcon.=C2=A0=C2=A0 >=20 > There where a few problems: > =C2=A0 - The locales are installed in a weird location > =C2=A0=C2=A0=C2=A0=C2=A0(/usr/local/share/locale would be more usual th= an > =C2=A0=C2=A0=C2=A0=C2=A0/var/puppet/share/locales); > =C2=A0 - Some files should not be installed into this directory > =C2=A0=C2=A0=C2=A0=C2=A0(/var/puppet/share/locales/config.yaml and > =C2=A0=C2=A0=C2=A0=C2=A0/var/puppet/share/locales/puppet.pot as far as = I understand). >=20 > However: > =C2=A0 1. The locales directory itself has not the usual layout (e.g. n= o > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0LC_MESSAGES subdirectory); > =C2=A0 2. The installed files are not the good ones (.po instead of .mo= ) > =C2=A0 3. I was not able to switch language by setting LC_ALL / LANG to > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Japanese (the only locale that is current= ly installed). >=20 > As I said in the beginning I found a few more problems, and points 2 > and > 3 seems to be fixed with some efforts.=C2=A0=C2=A0I'll try to integrate= d this > in > the puppet5 port in the GitHub repo! >=20 > Regards, > Romain Thank you both for the awesome response, two people working on this problem are definitely more than zero :) @Zach So it seems to me that if you two just talk this through after Romain makes his fixes into "sysutils/puppet5", you can grap those and put them into "sysutils/puppetserver", right? /K
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1505886363.2296.61.camel>