From owner-freebsd-ports@freebsd.org Wed Sep 20 05:46:17 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 D1BA3E240E4 for ; Wed, 20 Sep 2017 05:46:17 +0000 (UTC) (envelope-from karli@inparadise.se) 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 AFC8980BC2 for ; Wed, 20 Sep 2017 05:46:17 +0000 (UTC) (envelope-from karli@inparadise.se) Received: by mailman.ysv.freebsd.org (Postfix) id AF18CE240E3; Wed, 20 Sep 2017 05:46:17 +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 AEB8BE240E2 for ; Wed, 20 Sep 2017 05:46:17 +0000 (UTC) (envelope-from karli@inparadise.se) Received: from mail.inparadise.se (h-246-50.A444.priv.bahnhof.se [155.4.246.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5395880BC1; Wed, 20 Sep 2017 05:46:16 +0000 (UTC) (envelope-from karli@inparadise.se) Received: from localhost (localhost [127.0.0.1]) by mail.inparadise.se (Postfix) with ESMTP id 85A1F58825; Wed, 20 Sep 2017 07:46:12 +0200 (CEST) Received: from mail.inparadise.se ([127.0.0.1]) by localhost (mail.inparadise.se [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Iy8LaJ6qjFeO; Wed, 20 Sep 2017 07:46:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.inparadise.se (Postfix) with ESMTP id 585DF58832; Wed, 20 Sep 2017 07:46:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.inparadise.se 585DF58832 X-Virus-Scanned: amavisd-new at inparadise.se Received: from mail.inparadise.se ([127.0.0.1]) by localhost (mail.inparadise.se [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Bz7nqFKVVoQc; Wed, 20 Sep 2017 07:46:08 +0200 (CEST) Received: from its-5cg60227mj.its.uu.se (its-5cg60227mj.its.uu.se [130.238.131.18]) by mail.inparadise.se (Postfix) with ESMTPSA id E83B958831; Wed, 20 Sep 2017 07:46:07 +0200 (CEST) Message-ID: <1505886363.2296.61.camel@inparadise.se> Subject: Re: gettextsetup warnings From: Karli =?ISO-8859-1?Q?Sj=F6berg?= Reply-To: karli@inparadise.se To: Romain =?ISO-8859-1?Q?Tarti=E8re?= , Zach Cc: ports@freebsd.org, puppet@freebsd.org Date: Wed, 20 Sep 2017 07:46:03 +0200 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> Organization: InParadise Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: Wed, 20 Sep 2017 05:46:17 -0000 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