[DRE-maint] Bug#1092698: ruby-puppet-syntax: FTBFS with ruby3.3: ERROR: Test "ruby3.3" failed: /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1477:in `rescue in block in activate_dependencies': Could not find 'getoptlong' (~> 0.1.0) among 115 total gem(s) (Gem::MissingSpecError)

Antonio Terceiro terceiro at debian.org
Fri Jan 10 18:13:40 GMT 2025


Source: ruby-puppet-syntax
Version: 4.1.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.3

Hi,

The ruby3.3 transition has started on unstable. During a test rebuild,
ruby-puppet-syntax failed to build.

Relevant part (hopefully):
> /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1477:in `rescue in block in activate_dependencies': Could not find 'getoptlong' (~> 0.1.0) among 115 total gem(s) (Gem::MissingSpecError)
> Checked in 'GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-puppet-syntax/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0' at: /usr/share/rubygems-integration/all/specifications/puppet-8.10.0.gemspec, execute `gem env` for more information
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1474:in `block in activate_dependencies'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `each'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `activate_dependencies'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1445:in `activate'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1481:in `block in activate_dependencies'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `each'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `activate_dependencies'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1445:in `activate'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `block in gem'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `synchronize'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `gem'
> 	from -e:1:in `<main>'
> /usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:317:in `to_specs': Could not find 'getoptlong' (~> 0.1.0) - did find: [getoptlong-0.2.1] (Gem::MissingSpecVersionError)
> Checked in 'GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-puppet-syntax/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0' , execute `gem env` for more information
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1475:in `block in activate_dependencies'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `each'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `activate_dependencies'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1445:in `activate'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1481:in `block in activate_dependencies'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `each'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `activate_dependencies'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1445:in `activate'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `block in gem'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `synchronize'
> 	from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `gem'
> 	from -e:1:in `<main>'
> abbrev (default: 0.1.0)
> base64 (default: 0.1.1)
> benchmark (default: 0.2.0)
> bigdecimal (default: 3.1.1)
> bundler (default: 2.3.7)
> cgi (default: 0.3.5)
> concurrent-ruby (1.3.4)
> concurrent-ruby-edge (0.7.1)
> csv (default: 3.2.2)
> date (default: 3.2.2)
> debug (1.4.0)
> deep_merge (1.1.1)
> delegate (default: 0.2.0)
> did_you_mean (default: 1.6.1)
> diff-lcs (1.5.1)
> digest (default: 3.1.0)
> drb (default: 2.1.0)
> english (default: 0.7.1)
> erb (default: 2.2.3)
> error_highlight (default: 0.3.0)
> etc (default: 1.3.0)
> facter (4.10.0)
> fast_gettext (3.1.0)
> fcntl (default: 1.0.1)
> fiddle (default: 1.1.0)
> fileutils (default: 1.6.0)
> find (default: 0.1.1)
> forwardable (default: 1.3.2)
> getoptlong (default: 0.1.1)
> hocon (1.3.1)
> io-console (default: 0.5.11)
> io-nonblock (default: 0.1.0)
> io-wait (default: 0.2.1)
> ipaddr (default: 1.2.4)
> irb (default: 1.4.1)
> json (default: 2.6.1)
> locale (2.1.3)
> logger (default: 1.5.0)
> matrix (0.4.2)
> minitest (5.15.0)
> multi_json (1.14.1)
> mutex_m (default: 0.1.1)
> net-ftp (0.1.3)
> net-http (default: 0.2.0)
> net-imap (0.2.3)
> net-pop (0.1.1)
> net-protocol (default: 0.1.2)
> net-smtp (0.3.1)
> net-telnet (0.2.0)
> nkf (default: 0.1.1)
> observer (default: 0.1.1)
> open-uri (default: 0.2.0)
> open3 (default: 0.1.1)
> openssl (default: 3.0.1)
> optparse (default: 0.2.0)
> ostruct (default: 0.5.2)
> pathname (default: 0.2.0)
> power_assert (2.0.1)
> pp (default: 0.3.0)
> prettyprint (default: 0.1.1)
> prime (0.1.2)
> pstore (default: 0.1.1)
> psych (default: 4.0.3)
> puppet (8.10.0)
> puppet-resource_api (1.9.0)
> racc (default: 1.6.0)
> rake (13.2.1, 13.0.6)
> rbs (2.1.0)
> rdoc (default: 6.4.0)
> readline (default: 0.0.3)
> readline-ext (default: 0.1.4)
> reline (default: 0.3.0)
> resolv (default: 0.2.1)
> resolv-replace (default: 0.1.0)
> rexml (3.2.5)
> rinda (default: 0.1.1)
> rspec (3.13.0)
> rspec-core (3.13.0)
> rspec-expectations (3.13.0)
> rspec-mocks (3.13.0)
> rspec-support (3.13.1)
> rss (0.2.9)
> ruby-augeas (0.5.0)
> ruby-shadow (2.5.1)
> ruby2_keywords (default: 0.0.5)
> rubygems-update (3.4.20)
> scanf (1.0.0)
> sdbm (1.0.0)
> securerandom (default: 0.1.1)
> semantic_puppet (1.1.0)
> set (default: 1.0.2)
> shellwords (default: 0.1.0)
> singleton (default: 0.1.1)
> stringio (default: 3.0.1)
> strscan (default: 3.0.1)
> sync (0.5.0)
> syslog (default: 0.1.0)
> tempfile (default: 0.1.2)
> test-unit (3.5.3)
> thor (1.3.1)
> time (default: 0.2.0)
> timeout (default: 0.2.0)
> tmpdir (default: 0.1.2)
> tsort (default: 0.1.0)
> typeprof (0.21.2)
> un (default: 0.2.0)
> uri (default: 0.11.0)
> weakref (default: 0.1.1)
> webrick (1.8.1)
> xmlrpc (0.3.3)
> yaml (default: 0.2.0)
> zlib (default: 2.1.1)
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.3 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-puppet-syntax/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
> /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation
> 
> PuppetSyntax::Hiera
>   expects an array of files
>   returns nothing from valid YAML
>   returns an error from invalid YAML
>   check_hiera_keys = true
>     returns warnings for invalid keys
>     returns warnings for bad eyaml values
>     handles empty files
> 
> PuppetSyntax::Manifests
>   expects an array of files
>   returns nothing from a valid file
>   returns nothing from a valid file with a class using tag parameter
>   returns nothing from a valid file with a class using schedule parameter
>   returns an error from an invalid file
>   returns a warning from an invalid file
>   ignores warnings about storeconfigs
>   reads more than one valid file
>   continues after finding an error in the first file
>   deprecation notices
>     insteads be failures
> 
> PuppetSyntax rake tasks
>   filters directories
>   generates FileList of manifests relative to Rakefile
>   generates FileList of templates relative to Rakefile
>   generates FileList of Hiera yaml files relative to Rakefile
> 
> PuppetSyntax::Templates
>   expects an array of files
>   returns nothing from a valid file
>   ignores NameErrors from unbound variables
>   catches SyntaxError
>   catches Ruby warnings
>   reads more than one valid file
>   continues after finding an error in the first file
>   ignores a TypeError
>   ignores files without .erb extension
>   returns nothing from a valid file
>   catches SyntaxError
>   reads more than one valid file
>   continues after finding an error in the first file
>   when the 'epp_only' options is set
>     processes an ERB as EPP and find an error
> 
> PuppetSyntax
>   defaults exclude_paths to include the pkg directory
>   supports setting exclude_paths
>   supports appending exclude_paths
>   supports a fail_on_deprecation_notices setting
>   supports forcing EPP only templates
>   supports setting paths for manifests, templates and hiera
> 
> Finished in 0.17993 seconds (files took 0.59967 seconds to load)
> 40 examples, 0 failures
> 
> ERROR: Test "ruby3.3" failed: 


The full build log is available at
https://people.debian.org/~terceiro/ruby3.3/ruby-puppet-syntax_4.1.1-1+rebuild1736519386_amd64.build
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20250110/de2c15ef/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list