==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: ruby-shadow 2.5.1-5 (Tue Apr 29 15:56:54 2025)
==> Retrieving sources...
  -> Found ruby-shadow-2.5.1.tar.gz
  -> Found ruby-shadow_fix_config.patch
  -> Found ruby-shadow_remove_taint.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    ruby-shadow-2.5.1.tar.gz ... Passed
    ruby-shadow_fix_config.patch ... Passed
    ruby-shadow_remove_taint.patch ... Passed
==> Validating source files with b2sums...
    ruby-shadow-2.5.1.tar.gz ... Passed
    ruby-shadow_fix_config.patch ... Passed
    ruby-shadow_remove_taint.patch ... Passed
==> Making package: ruby-shadow 2.5.1-5 (Tue Apr 29 15:57:01 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:  23.78 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...
==> Retrieving sources...
  -> Found ruby-shadow-2.5.1.tar.gz
  -> Found ruby-shadow_fix_config.patch
  -> Found ruby-shadow_remove_taint.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting ruby-shadow-2.5.1.tar.gz with bsdtar
==> Starting prepare()...
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From eab4aba3f5e06ea8f124d3e5ff6b3fa88c4807cd Mon Sep 17 00:00:00 2001
|From: Mamoru TASAKA <mtasaka@fedoraproject.org>
|Date: Thu, 1 Dec 2022 12:23:05 +0900
|Subject: [PATCH] extconf.rb: use Rbconfig::CONFIG instead of mkmf CONFIG
|
|In mkmf.rb CONFIG is defined as CONFIG is defined as RbConfig::MAKEFILE_CONFIG
|and RbConfig::MAKEFILE_CONFIG is almost same as RbConfig::CONFIG
|except that RbConfig::MAKEFILE_CONFIG uses reference for other variables.
|
|Using CONFIG in extconf.rb causes error with ruby3.2 because now
|CONFIG['host_os'] uses reference for target_os variable, and extconf.rb
|expects that this variable is all expanded. So instead, use RbConfig::CONFIG .
|
|Closes #30
|---
| extconf.rb | 2 +-
| 1 file changed, 1 insertion(+), 1 deletion(-)
|
|diff --git a/extconf.rb b/extconf.rb
|index d17f926..55dcff5 100644
|--- a/extconf.rb
|+++ b/extconf.rb
--------------------------
patching file extconf.rb
Hunk #1 succeeded at 14.
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From 70330521b99e84c8f7445c213dfde0768f45a690 Mon Sep 17 00:00:00 2001
|From: Michael Hashizume <michael.hashizume@puppet.com>
|Date: Thu, 20 Oct 2022 13:28:09 -0700
|Subject: [PATCH] Removes taint checking functions
|
|Taint checking has been completely removed from Ruby as of Ruby
|3.2.0. This commit removes taint checking functions from ruby-
|shadow.
|
|See https://bugs.ruby-lang.org/issues/16131
|---
| pwd/shadow.c    | 6 +++---
| shadow/shadow.c | 4 ++--
| 2 files changed, 5 insertions(+), 5 deletions(-)
|
|diff --git a/pwd/shadow.c b/pwd/shadow.c
|index eeb96d4..46313d4 100644
|--- a/pwd/shadow.c
|+++ b/pwd/shadow.c
--------------------------
patching file pwd/shadow.c
Hunk #1 succeeded at 56.
Hunk #2 succeeded at 66.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/shadow/shadow.c b/shadow/shadow.c
|index 35a77a1..9a2ae70 100644
|--- a/shadow/shadow.c
|+++ b/shadow/shadow.c
--------------------------
patching file shadow/shadow.c
Hunk #1 succeeded at 34.
done
==> Starting build()...
checking for getspent() in -lshadow... no
checking for getspent()... yes
checking for fgetspent()... yes
checking for setspent()... yes
checking for endspent()... yes
checking for lckpwdf()... yes
checking for ulckpwdf()... yes
checking for sgetspent()... yes
checking for ruby/io.h... yes
creating Makefile
compiling shadow/shadow.c
linking shared-object shadow.so
==> Entering fakeroot environment...
==> Starting package()...
/usr/bin/install -c -m 0755 shadow.so /build/ruby-shadow/pkg/ruby-shadow//usr/lib/ruby/vendor_ruby/3.4.0/aarch64-linux
==> Tidying install...
  -> 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...
==> Creating package "ruby-shadow"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ruby-shadow 2.5.1-5 (Tue Apr 29 15:57:11 2025)
==> Cleaning up...