[Bug 270482] sysutils/puppetserver7 fails to start: uninitialized constant Concurrent::RubyThreadLocalVar

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Mar 2023 16:27:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270482

            Bug ID: 270482
           Summary: sysutils/puppetserver7 fails to start: uninitialized
                    constant Concurrent::RubyThreadLocalVar
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: puppet@FreeBSD.org
          Reporter: freebsd@wb9.se
             Flags: maintainer-feedback?(puppet@FreeBSD.org)
          Assignee: puppet@FreeBSD.org
 Attachment #241144 text/plain
         mime type:

Created attachment 241144
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241144&action=edit
startup log from puppetserver

At ~2023-03-25T23:54:22+01:00 my puppetserver automatically upgraded puppet7
and also installed rubygem-concurrent-ruby11-1.1.10 (new dependency?) and
rebooted. After this puppetserver does not start any more. See attached log for
details, but I think the most relevant part is "uninitialized constant
Concurrent::RubyThreadLocalVar".

Looking around I found this issue in ruby-concurrent which is most likely
relevant: https://github.com/ruby-concurrency/concurrent-ruby/issues/986

I assume this is why puppet7 was updated, but it seems to affect puppetserver
as well?

In case it's relevant it should be noted that the packages are built using
poudriere.

puppet and ruby packages installed:

# pkg info | grep -E '(puppet|ruby)'
puppet7-7.23.0_2               Configuration management framework written in
Ruby
puppetdb-terminus7-7.12.1      PuppetDB storeconfigs backend terminus module
puppetdb7-7.12.1               PuppetDB storeconfigs backend
puppetserver7-7.9.5            Puppet Server running in the JVM
ruby-3.1.3_2,1                 Object-oriented interpreted scripting language
ruby31-gems-3.4.7              Package management framework for the Ruby
language
rubygem-concurrent-ruby-1.2.1  Modern concurrency tools for Ruby
rubygem-concurrent-ruby11-1.1.10 Modern concurrency tools for Ruby
rubygem-deep_merge-1.2.2       Recursive hash merger
rubygem-facter-4.2.14          Cross-platform Ruby library for retrieving facts
from OS
rubygem-fast_gettext-2.3.0     Fast, memory-efficient and threadsafe GetText
for Ruby
rubygem-fast_gettext1-1.8.0    Fast, memory-efficient and threadsafe GetText
for Ruby
rubygem-ffi-1.15.5_1           Extension for dynamic libraries and binding
functions
rubygem-hiera-3.12.0           Pluggable data store for hierarchical data
rubygem-hiera-eyaml-3.3.0_1    Backend for Hiera that provides
encryption/decryption for properties
rubygem-highline-2.1.0         High-level IO library for command-line
interfaces
rubygem-hocon-1.3.1            Ruby port of the Typesafe Config library
rubygem-json_pure-2.6.3        Parse JSON texts and generate them from ruby
data structures in Ruby
rubygem-locale-2.1.3           Pure ruby library to support locales
rubygem-multi_json-1.15.0      Ruby library provide swappable JSON backends
rubygem-optimist-3.0.1         Command-line option parser for Ruby
rubygem-puppet-resource_api-1.8.4 Simple way to write new native resources for
puppet
rubygem-puppetserver-ca-2.4.0  Ruby CLI tool to interact with the Puppet Server
Certificate Authority
rubygem-rexml-3.2.5            XML toolkit for Ruby
rubygem-ruby-augeas-0.5.0_4    Ruby bindings for Augeas
rubygem-scanf-1.0.0            Ruby implementation of the C function scanf(3)
rubygem-semantic_puppet-1.0.4  Library for working with Semantic Versions and
module dependencies
rubygem-sys-filesystem-1.4.3   Ruby interface for getting filesystem
information
rubygem-thor-1.2.1             Scripting framework that replaces rake, sake,
and rubigen

-- 
You are receiving this mail because:
You are the assignee for the bug.