==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: ruby-thor 1.3.2-4 (Tue Apr 29 11:46:55 2025)
==> Retrieving sources...
  -> Found ruby-thor-1.3.2.tar.gz
  -> Found 887.patch
  -> Found tests.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    ruby-thor-1.3.2.tar.gz ... Passed
    887.patch ... Passed
    tests.patch ... Passed
==> Making package: ruby-thor 1.3.2-4 (Tue Apr 29 11:47:16 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: rubygems will be installed before its ruby dependency

Packages (3) libyaml-0.2.5-3  rubygems-3.6.7-2  ruby-3.4.3-2

Total Installed Size:  17.04 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libyaml...
installing rubygems...
installing ruby...
Optional dependencies for ruby
    tk: for Ruby/TK
    ruby-docs: Documentation for Ruby
    ruby-default-gems: Default gems which are part of Ruby StdLib
    ruby-bundled-gems: Bundled gems which are part of Ruby StdLib
    ruby-stdlib: Full Ruby StdLib including default gems, bundled gems and tools
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (2) ruby-erb-4.0.4-9  ruby-rdoc-6.10.0-57

Total Installed Size:  3.26 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing ruby-erb...
installing ruby-rdoc...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Retrieving sources...
  -> Found ruby-thor-1.3.2.tar.gz
  -> Found 887.patch
  -> Found tests.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting ruby-thor-1.3.2.tar.gz with bsdtar
==> Starting prepare()...
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From 9d7aef1db1666ecc382eeaa5549361a0aa956567 Mon Sep 17 00:00:00 2001
|From: Yasuo Honda <yasuo.honda@gmail.com>
|Date: Wed, 30 Oct 2024 18:35:35 +0900
|Subject: [PATCH] Support Ruby 3.4 `Hash#inspect` change
|
|This commit addresses the following failures against Ruby 3.4.0dev that includes https://github.com/ruby/ruby/pull/10924 .
|
|It also uses Ruby 1.9 style hash syntax to address `Style/HashSyntax: Use the new Ruby 1.9 hash syntax.` offenses
|as per reported https://github.com/rails/thor/actions/runs/11590597621/job/32268507033?pr=887
|
|```ruby
|$ ruby -v
|ruby 3.4.0dev (2024-10-26T13:20:34Z master 484ea00d2e) +PRISM [x86_64-linux]
|$ bundle exec rspec ./spec/thor_spec.rb
|Source locally installed gems is ignoring #<Bundler::StubSpecification name=prism version=1.0.0 platform=ruby> because it is missing extensions
|Source locally installed gems is ignoring #<Bundler::StubSpecification name=json version=2.7.2 platform=ruby> because it is missing extensions
|Source locally installed gems is ignoring #<Bundler::StubSpecification name=google-protobuf version=4.27.0 platform=ruby> because it is missing extensions
|Source locally installed gems is ignoring #<Bundler::StubSpecification name=cgi version=0.4.1 platform=ruby> because it is missing extensions
|rdoc was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
|You can add rdoc to your Gemfile or gemspec to silence this warning.
|........................................................................................................FF.........
|
|Failures:
|
|  1) Thor edge-cases method_option raises an ArgumentError if name is not a Symbol or String
|     Failure/Error:
|       expect do
|         Class.new(Thor) do
|           method_option loud: true, type: :boolean
|         end
|       end.to raise_error(ArgumentError, "Expected a Symbol or String, got {:loud=>true, :type=>:boolean}")
|
|       expected ArgumentError with "Expected a Symbol or String, got {:loud=>true, :type=>:boolean}", got #<ArgumentError: Expected a Symbol or String, got {loud: true, type: :boolean}> with backtrace:
|         # ./lib/thor.rb:165:in 'Thor.method_option'
|         # ./spec/thor_spec.rb:768:in 'block (5 levels) in <top (required)>'
|         # ./spec/thor_spec.rb:767:in 'Class#initialize'
|         # ./spec/thor_spec.rb:767:in 'Class#new'
|         # ./spec/thor_spec.rb:767:in 'block (4 levels) in <top (required)>'
|         # ./spec/thor_spec.rb:770:in 'block (3 levels) in <top (required)>'
|     # ./spec/thor_spec.rb:770:in 'block (3 levels) in <top (required)>'
|
|  2) Thor edge-cases class_option raises an ArgumentError if name is not a Symbol or String
|     Failure/Error:
|       expect do
|         Class.new(Thor) do
|           class_option loud: true, type: :boolean
|         end
|       end.to raise_error(ArgumentError, "Expected a Symbol or String, got {:loud=>true, :type=>:boolean}")
|
|       expected ArgumentError with "Expected a Symbol or String, got {:loud=>true, :type=>:boolean}", got #<ArgumentError: Expected a Symbol or String, got {loud: true, type: :boolean}> with backtrace:
|         # ./lib/thor/base.rb:330:in 'Thor::Base::ClassMethods#class_option'
|         # ./spec/thor_spec.rb:776:in 'block (5 levels) in <top (required)>'
|         # ./spec/thor_spec.rb:775:in 'Class#initialize'
|         # ./spec/thor_spec.rb:775:in 'Class#new'
|         # ./spec/thor_spec.rb:775:in 'block (4 levels) in <top (required)>'
|         # ./spec/thor_spec.rb:778:in 'block (3 levels) in <top (required)>'
|     # ./spec/thor_spec.rb:778:in 'block (3 levels) in <top (required)>'
|
|Finished in 0.0627 seconds (files took 0.26431 seconds to load)
|115 examples, 2 failures
|
|Failed examples:
|
|rspec ./spec/thor_spec.rb:765 # Thor edge-cases method_option raises an ArgumentError if name is not a Symbol or String
|rspec ./spec/thor_spec.rb:773 # Thor edge-cases class_option raises an ArgumentError if name is not a Symbol or String
|
|Coverage report generated for RSpec to /home/yahonda/src/github.com/rails/thor/coverage.
|Line Coverage: 67.3% (1490 / 2214)
|[Coveralls] Submitting to https://coveralls.io/api/v1
|[Coveralls] Couldn't find a repository matching this job.
|Coverage is at 67.3%.
|Coverage report sent to Coveralls.
|Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
|$
|```
|
|https://github.com/ruby/ruby/pull/10924
|https://bugs.ruby-lang.org/issues/20433
|---
| spec/thor_spec.rb | 4 ++--
| 1 file changed, 2 insertions(+), 2 deletions(-)
|
|diff --git a/spec/thor_spec.rb b/spec/thor_spec.rb
|index f9fd0fe0..3703331a 100644
|--- a/spec/thor_spec.rb
|+++ b/spec/thor_spec.rb
--------------------------
patching file spec/thor_spec.rb
Hunk #1 succeeded at 767.
Hunk #2 succeeded at 775.
patch: setting attribute security.SMACK64 for security.SMACK64: Operation not permitted
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/Gemfile b/Gemfile
|index bc5f7c5..3101ce2 100644
|--- a/Gemfile
|+++ b/Gemfile
--------------------------
patching file Gemfile
Hunk #1 succeeded at 10 (offset 1 line).
patch: setting attribute security.SMACK64 for security.SMACK64: Operation not permitted
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/spec/helper.rb b/spec/helper.rb
|index c19dd6f..6d32258 100644
|--- a/spec/helper.rb
|+++ b/spec/helper.rb
--------------------------
patching file spec/helper.rb
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 10.
patch: setting attribute security.SMACK64 for security.SMACK64: Operation not permitted
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb
|index a6ceb3e..da0c500 100644
|--- a/spec/quality_spec.rb
|+++ b/spec/quality_spec.rb
--------------------------
patching file spec/quality_spec.rb
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 53.
patch: setting attribute security.SMACK64 for security.SMACK64: Operation not permitted
done
==> Starting build()...
WARNING:  description and summary are identical
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: thor
  Version: 1.3.2
  File: thor-1.3.2.gem
==> Entering fakeroot environment...
==> Starting package()...
Successfully installed thor-1.3.2
Parsing documentation for thor-1.3.2
Installing ri documentation for thor-1.3.2
Done installing documentation for thor after 2 seconds
1 gem installed

A new release of RubyGems is available: 3.6.7 → 3.6.8!
Run `gem update --system 3.6.8` to update your installation.

==> Tidying install...
  -> Removing empty directories...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
libfakeroot internal error: payload not recognized!
==> Creating package "ruby-thor"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ruby-thor 1.3.2-4 (Tue Apr 29 11:48:01 2025)
==> Cleaning up...