Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rubygem-ruby-shadow.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672283682.078873/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s1_dx0kn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s1_dx0kn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '715e6b4a4416467e9e279597a6948dca', '-D', '/var/lib/mock/fedora-rawhide-i686-1672283682.078873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s1_dx0kn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rubygem-ruby-shadow.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1669852800 Wrote: /builddir/build/SRPMS/rubygem-ruby-shadow-2.5.1-2.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/rubygem-ruby-shadow.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672283682.078873/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s1_dx0kn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s1_dx0kn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a85bd47f21ea452aa3875248917c4cc7', '-D', '/var/lib/mock/fedora-rawhide-i686-1672283682.078873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s1_dx0kn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/rubygem-ruby-shadow.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1669852800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.waPCGX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ruby-shadow-2.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ruby-shadow-2.5.1.gem Unpacked gem: '/builddir/build/BUILD/ruby-shadow-2.5.1' + STATUS=0 + '[' 0 -ne 0 ']' + cd ruby-shadow-2.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (ruby-shadow-2.5.1-taintedness-ruby32-removal.patch):' Patch #1 (ruby-shadow-2.5.1-taintedness-ruby32-removal.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extconf.rb patching file pwd/shadow.c patching file shadow/shadow.c + echo 'Patch #2 (ruby-shadow-2.5.1-extconf-ruby32-fix.patch):' Patch #2 (ruby-shadow-2.5.1-extconf-ruby32-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extconf.rb + echo 'Patch #0 (ruby-shadow-2.5.1-cflags.patch):' Patch #0 (ruby-shadow-2.5.1-cflags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extconf.rb + cp /builddir/build/SOURCES/basic_test.rb . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7Eifle + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ruby-shadow-2.5.1 + export 'CONFIGURE_ARGS=--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration'\''' + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration'\''' + gem build ../ruby-shadow-2.5.1.gemspec Successfully built RubyGem Name: ruby-shadow Version: 2.5.1 File: ruby-shadow-2.5.1.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes'\'' --with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration'\''' + gem install -V --local --build-root . --force --document=ri,rdoc ruby-shadow-2.5.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/ruby-shadow-2.5.1 Bin dir: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/bin Gem home: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems Plugins dir: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/plugins /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/HISTORY /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/LICENSE /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/MANIFEST /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/README /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/README.euc /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/extconf.rb /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/pwd/depend /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/pwd/shadow.c /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/ruby-shadow.gemspec /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/shadow/depend /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/shadow/shadow.c Building native extensions. This could take a while... current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "extconf.rb"] 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 current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 ["make", "DESTDIR=", "sitearchdir=./.gem.20221229-40-7kxoht", "sitelibdir=./.gem.20221229-40-7kxoht", "clean"] rm -f rm -fr shadow.so false *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 ["make", "DESTDIR=", "sitearchdir=./.gem.20221229-40-7kxoht", "sitelibdir=./.gem.20221229-40-7kxoht"] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -Ishadow -DHAVE_GETSPENT -DHAVE_FGETSPENT -DHAVE_SETSPENT -DHAVE_ENDSPENT -DHAVE_LCKPWDF -DHAVE_ULCKPWDF -DHAVE_SGETSPENT -DHAVE_RUBY_IO_H -D_FILE_OFFSET_BITS=64 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -DRUBY19 -DRUBY30 -m32 -o shadow.o -c shadow/shadow.c shadow/shadow.c: In function 'rb_shadow_getspent': shadow/shadow.c:113:9: warning: unused variable 'result' [-Wunused-variable] 113 | VALUE result; | ^~~~~~ shadow/shadow.c: In function 'rb_shadow_getspnam': shadow/shadow.c:127:9: warning: unused variable 'result' [-Wunused-variable] 127 | VALUE result; | ^~~~~~ shadow/shadow.c: In function 'rb_shadow_putspent': shadow/shadow.c:147:7: warning: unused variable 'i' [-Wunused-variable] 147 | int i; | ^ shadow/shadow.c:146:9: warning: unused variable 'val' [-Wunused-variable] 146 | VALUE val[NUM_FIELDS]; | ^~~ rm -f shadow.so gcc -shared -o shadow.so shadow.o -L. -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -m32 -lruby -lm -lc current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 ["make", "DESTDIR=", "sitearchdir=./.gem.20221229-40-7kxoht", "sitelibdir=./.gem.20221229-40-7kxoht", "install"] /usr/bin/mkdir -p . ./.gem.20221229-40-7kxoht exit > .sitearchdir.time /usr/bin/install -c -m 0755 shadow.so ./.gem.20221229-40-7kxoht current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 /usr/bin/ruby -I /usr/share/rubygems extconf.rb current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 make DESTDIR\= sitearchdir\=./.gem.20221229-40-7kxoht sitelibdir\=./.gem.20221229-40-7kxoht clean current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 make DESTDIR\= sitearchdir\=./.gem.20221229-40-7kxoht sitelibdir\=./.gem.20221229-40-7kxoht current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 make DESTDIR\= sitearchdir\=./.gem.20221229-40-7kxoht sitelibdir\=./.gem.20221229-40-7kxoht install Successfully installed ruby-shadow-2.5.1 Parsing documentation for ruby-shadow-2.5.1 Parsing sources... 100% [ 1/ 1] extconf.rb Installing ri documentation for ruby-shadow-2.5.1 Installing darkfish documentation for ruby-shadow-2.5.1 Done installing documentation for ruby-shadow after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S4Jak6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386 ++ dirname /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ruby-shadow-2.5.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386/usr/share/gems/ + find /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386/usr/share/gems/ -name '*.so' -delete + mkdir -p /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386/usr/lib/gems/ruby/ruby-shadow-2.5.1 + cp -a ./usr/lib/gems/ruby/ruby-shadow-2.5.1/gem.build_complete ./usr/lib/gems/ruby/ruby-shadow-2.5.1/shadow.so /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386/usr/lib/gems/ruby/ruby-shadow-2.5.1/ + rm -rf /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386/usr/share/gems/gems/ruby-shadow-2.5.1/ext/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.5.1-2.fc38 --unique-debug-suffix -2.5.1-2.fc38.i386 --unique-debug-src-base rubygem-ruby-shadow-2.5.1-2.fc38.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ruby-shadow-2.5.1 extracting debug info from /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386/usr/lib/gems/ruby/ruby-shadow-2.5.1/shadow.so original debug info size: 40kB, size after compression: 40kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 14 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.2M1si9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ruby-shadow-2.5.1 + cp /builddir/build/SOURCES/basic_test.rb ./usr/share/gems/gems/ruby-shadow-2.5.1 + pushd ./usr/share/gems/gems/ruby-shadow-2.5.1 ~/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 ~/build/BUILD/ruby-shadow-2.5.1 ++ id -u + '[' 1000 = 0 ']' + ruby -I. -e 'Dir.glob "*_test.rb", &method(:require)' Loaded suite -e Started .F =============================================================================== Failure: test_getspnam_for_user(RubyShadowTest): ensure you have permissions to check this (sudo?). is not true. /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/basic_test.rb:17:in `test_getspnam_for_user' 14: def test_getspnam_for_user 15: user = `whoami`.strip 16: x = Shadow::Passwd.getspnam( user ) => 17: assert( x, "ensure you have permissions to check this (sudo?)" ) 18: check_struct( x ) 19: end 20: # ---------------------------------------- test_getspnam_for_non_existent_user =============================================================================== .F =============================================================================== Failure: test_smoke_test_getspent(RubyShadowTest): ensure you have permissions to check this (sudo?). is not true. /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/basic_test.rb:10:in `test_smoke_test_getspent' 7: # --------------------------------------------------- test_smoke_test_getspent 8: def test_smoke_test_getspent 9: x = Shadow::Passwd.getspent => 10: assert( x, "ensure you have permissions to check this (sudo?)" ) 11: check_struct( x ) 12: end 13: # ----------------------------------------------------- test_getspnam_for_user =============================================================================== Finished in 0.010089876 seconds. ------------------------------------------------------------------------------- 4 tests, 4 assertions, 2 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 50% passed ------------------------------------------------------------------------------- 396.44 tests/s, 396.44 assertions/s + : + popd ~/build/BUILD/ruby-shadow-2.5.1 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-ruby-shadow-2.5.1-2.fc38.i686 Provides: ruby(shadow) = 2.5.1 ruby-shadow = 2.5.1-2.fc38 rubygem(ruby-shadow) = 2.5.1 rubygem-ruby-shadow = 2.5.1-2.fc38 rubygem-ruby-shadow(x86-32) = 2.5.1-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.4) libruby.so.3.1 rtld(GNU_HASH) ruby(rubygems) Obsoletes: ruby-shadow < 1.4.1-36 Processing files: rubygem-ruby-shadow-doc-2.5.1-2.fc38.noarch Provides: rubygem-ruby-shadow-doc = 2.5.1-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-ruby-shadow-debugsource-2.5.1-2.fc38.i686 Provides: rubygem-ruby-shadow-debugsource = 2.5.1-2.fc38 rubygem-ruby-shadow-debugsource(x86-32) = 2.5.1-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-ruby-shadow-debuginfo-2.5.1-2.fc38.i686 Provides: debuginfo(build-id) = c2b89e61700c272a93343bcc92e086857185366e rubygem-ruby-shadow-debuginfo = 2.5.1-2.fc38 rubygem-ruby-shadow-debuginfo(x86-32) = 2.5.1-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-ruby-shadow-debugsource(x86-32) = 2.5.1-2.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386 Wrote: /builddir/build/RPMS/rubygem-ruby-shadow-debuginfo-2.5.1-2.fc38.i686.rpm Wrote: /builddir/build/RPMS/rubygem-ruby-shadow-2.5.1-2.fc38.i686.rpm Wrote: /builddir/build/RPMS/rubygem-ruby-shadow-debugsource-2.5.1-2.fc38.i686.rpm Wrote: /builddir/build/RPMS/rubygem-ruby-shadow-doc-2.5.1-2.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mjQACI + umask 022 + cd /builddir/build/BUILD + cd ruby-shadow-2.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-2.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.YIODr5 + umask 022 + cd /builddir/build/BUILD + rm -rf ruby-shadow-2.5.1 ruby-shadow-2.5.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0