[Pkg-puppet-devel] Bug#892737: Bug#892737: Bug#892737: puppet: /usr/lib/ruby/vendor_ruby/puppet/gettext/config.rb:156:in `copy_default_translations': undefined method `chain'

Apollon Oikonomopoulos apoikos at debian.org
Mon Mar 12 13:45:03 UTC 2018


Control: tags -1 unreproducible moreinfo
Control: tags -1 severity important

Hi Jan,

[Downgrading severity as it does not seem to be affecting all systems 
ATM]

On 13:54 Mon 12 Mar     , Jan Huijsmans wrote:
> Hi Apollon,
> 
> On Mon, 12 Mar 2018 13:57:03 +0200 Apollon Oikonomopoulos
> <apoikos at debian.org> wrote:
> > Hi,
> > 
> > Thanks for the report,
> > 
> > On 12:33 Mon 12 Mar     , Jan Huijsmans wrote:
> > > Would love tips on how to get this setup working or downgrade back
> > > to 4.10.4.
> > 
> > I'll have a look at the issue as soon as possible. In the meantime,
> > you can obtain 4.10.4 from
> > http://snapshot.debian.org/package/puppet/4.10.4-2/
> 
> Thanks for the link, great to be able to get the packages. Reinstalled
> the old version and everything works again as expected.
> 
> I'll compare the debian (a few clients) and the raspbian
> (puppet-master) to see if I can find differences. Iy looks like
> gettext(-setup) is a dependency. (but have it installed and it gives
> the error)

It's not a strict dependency: puppet tries to load it, but it works fine 
without it. It's this line that worries me most to be honest:

> /usr/lib/ruby/vendor_ruby/puppet/gettext/config.rb:156:in `copy_default_translations': undefined method `chain' for #<FastGettext::TranslationRepository::Po:0x0257e0b0> (NoMethodError)

It seems that somehow it has managed to get the internal state mixed up, as the
object should be a FastGettext::TranslationRepository::Chain, and not
FastGettext::TranslationRepository::Po. I have no idea how that 
happened, but you can help me find out. Can you please run the attached 
script (ruby puppet-locale-test.rb) on your master and reply with the 
output?

Regards,
Apollon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: puppet-locale-test.rb
Type: application/x-ruby
Size: 647 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20180312/3c326275/attachment.rb>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20180312/3c326275/attachment.sig>


More information about the Pkg-puppet-devel mailing list