Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-etcutils.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1632188858.783031/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.anuyvxqs:/etc/resolv.conf', '--bind=/dev/btrfs-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.anuyvxqs:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'df88bed6f49e4da5a5ac4286979f97b6', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1632188858.783031/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.anuyvxqs:/etc/resolv.conf', '--bind=/dev/btrfs-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 x86_64 --nodeps /builddir/build/SPECS/rubygem-etcutils.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1631491200 Wrote: /builddir/build/SRPMS/rubygem-etcutils-1.0.0-1.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-etcutils.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1632188858.783031/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.anuyvxqs:/etc/resolv.conf', '--bind=/dev/btrfs-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.anuyvxqs:/etc/resolv.conf', '--bind=/dev/btrfs-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', '2418c3f8a5144716ba63af99c13b9883', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1632188858.783031/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.anuyvxqs:/etc/resolv.conf', '--bind=/dev/btrfs-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 x86_64 --nodeps /builddir/build/SPECS/rubygem-etcutils.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1631491200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LKrXNs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf etcutils-1.0.0 + /usr/bin/gem unpack /builddir/build/SOURCES/etcutils-1.0.0.gem Unpacked gem: '/builddir/build/BUILD/etcutils-1.0.0' + /usr/bin/gem spec /builddir/build/SOURCES/etcutils-1.0.0.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd etcutils-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7fpUig + umask 022 + cd /builddir/build/BUILD + cd etcutils-1.0.0 + gem build ../etcutils-1.0.0.gemspec WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake-compiler (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: etcutils Version: 1.0.0 File: etcutils-1.0.0.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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc etcutils-1.0.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/etcutils-1.0.0 Bin dir: /builddir/build/BUILD/etcutils-1.0.0/usr/bin Gem home: /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems Plugins dir: /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/plugins /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/.gitignore /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/.travis.yml /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/Gemfile /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/Gemfile.lock /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/LICENSE /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/README.md /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/Rakefile /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/etcutils.gemspec /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils/etcutils.c /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils/etcutils.h /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils/extconf.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils/group.c /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils/passwd.c /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/lib/etcutils.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/lib/etcutils/version.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/README /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/etcutils_test_helper.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/root/etc_utils.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/root/gshadow_tests.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/root/locking.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/root/shadow_tests.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/test_etc_utils.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/test_eu_locking.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/test_eu_next_uid_next_gid.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/test_eu_sgetpwent.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/test_group_class.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/test_passwd_class.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/user/etc_utils.rb /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/tests/user/locking.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20210921-32-i7cxfv.rb", "extconf.rb"] checking for ruby/io.h... yes checking for struct rb_io_t.pathv in ruby/io.h... yes checking for rb_io_stdio_file()... yes checking for eaccess()... yes checking for etcutils.h... no checking for pwd.h... yes checking for grp.h... yes checking for shadow.h... yes checking for gshadow.h... yes checking for struct sgrp.sg_namp in gshadow.h... yes checking for struct sgrp.sg_passwd in gshadow.h... yes checking for struct sgrp.sg_adm in gshadow.h... yes checking for struct sgrp.sg_mem in gshadow.h... yes checking for gshadow_.h... no checking for lckpwdf()... yes checking for ulckpwdf()... yes checking for getpwent()... yes checking for sgetpwent()... no checking for fgetpwent()... yes checking for putpwent()... yes checking for setpwent()... yes checking for endpwent()... yes checking for getgrent()... yes checking for sgetgrent()... no checking for fgetgrent()... yes checking for putgrent()... yes checking for setgrent()... yes checking for endgrent()... yes checking for getspent()... yes checking for sgetspent()... yes checking for fgetspent()... yes checking for putspent()... yes checking for setspent()... yes checking for endspent()... yes checking for getsgent()... yes checking for sgetsgent()... yes checking for fgetsgent()... yes checking for putsgent()... yes checking for setsgent()... yes checking for endsgent()... yes checking for getsgent()... yes checking for sgetsgent()... yes checking for fgetsgent()... yes checking for putsgent()... yes checking for setsgent()... yes checking for endsgent()... yes checking for struct passwd.pw_change in pwd.h... no checking for struct passwd.pw_expire in pwd.h... no checking for struct passwd.pw_class in pwd.h... no checking for struct passwd.pw_field in pwd.h... no creating extconf.h creating Makefile current directory: /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils ["make", "DESTDIR=", "clean"] rm -f rm -f etcutils.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o etcutils.o -c etcutils.c etcutils.c: In function 'eu_lock': etcutils.c:919:33: warning: passing argument 3 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 919 | rb_ensure(rb_yield, Qnil, lock_ensure, 0); | ^~~~~~~~~~~ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from etcutils.h:2, from etcutils.c:30: /usr/include/ruby/internal/iterator.h:53:39: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(void)' {aka 'long unsigned int (*)(void)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ etcutils.c: In function 'each_shadow': etcutils.c:960:13: warning: passing argument 1 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 960 | rb_ensure(shadow_iterate, 0, shadow_ensure, 0); | ^~~~~~~~~~~~~~ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from etcutils.h:2, from etcutils.c:30: /usr/include/ruby/internal/iterator.h:53:17: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(void)' {aka 'long unsigned int (*)(void)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ etcutils.c:960:32: warning: passing argument 3 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 960 | rb_ensure(shadow_iterate, 0, shadow_ensure, 0); | ^~~~~~~~~~~~~ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from etcutils.h:2, from etcutils.c:30: /usr/include/ruby/internal/iterator.h:53:39: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(void)' {aka 'long unsigned int (*)(void)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ etcutils.c: In function 'each_passwd': etcutils.c:1000:13: warning: passing argument 1 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 1000 | rb_ensure(pwd_iterate, 0, pwd_ensure, 0); | ^~~~~~~~~~~ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from etcutils.h:2, from etcutils.c:30: /usr/include/ruby/internal/iterator.h:53:17: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(void)' {aka 'long unsigned int (*)(void)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ etcutils.c:1000:29: warning: passing argument 3 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 1000 | rb_ensure(pwd_iterate, 0, pwd_ensure, 0); | ^~~~~~~~~~ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from etcutils.h:2, from etcutils.c:30: /usr/include/ruby/internal/iterator.h:53:39: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(void)' {aka 'long unsigned int (*)(void)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ etcutils.c: In function 'each_group': etcutils.c:1041:13: warning: passing argument 1 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 1041 | rb_ensure(grp_iterate, 0, grp_ensure, 0); | ^~~~~~~~~~~ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from etcutils.h:2, from etcutils.c:30: /usr/include/ruby/internal/iterator.h:53:17: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(void)' {aka 'long unsigned int (*)(void)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ etcutils.c:1041:29: warning: passing argument 3 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 1041 | rb_ensure(grp_iterate, 0, grp_ensure, 0); | ^~~~~~~~~~ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from etcutils.h:2, from etcutils.c:30: /usr/include/ruby/internal/iterator.h:53:39: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(void)' {aka 'long unsigned int (*)(void)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ etcutils.c: In function 'each_sgrp': etcutils.c:1083:13: warning: passing argument 1 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 1083 | rb_ensure(sgrp_iterate, 0, sgrp_ensure, 0); | ^~~~~~~~~~~~ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from etcutils.h:2, from etcutils.c:30: /usr/include/ruby/internal/iterator.h:53:17: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(void)' {aka 'long unsigned int (*)(void)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ etcutils.c:1083:30: warning: passing argument 3 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 1083 | rb_ensure(sgrp_iterate, 0, sgrp_ensure, 0); | ^~~~~~~~~~~ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from etcutils.h:2, from etcutils.c:30: /usr/include/ruby/internal/iterator.h:53:39: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(void)' {aka 'long unsigned int (*)(void)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ etcutils.c: In function 'eu_file_readable_p': etcutils.c:1178:7: warning: implicit declaration of function 'eaccess'; did you mean 'access'? [-Wimplicit-function-declaration] 1178 | if (eaccess(fname, R_OK) < 0) return Qfalse; | ^~~~~~~ | access gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o group.o -c group.c group.c:42:14: warning: 'group_gr_sprintf' defined but not used [-Wunused-function] 42 | static VALUE group_gr_sprintf(VALUE self) | ^~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"extconf.h\" -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o passwd.o -c passwd.c passwd.c:76:14: warning: 'user_pw_sprintf' defined but not used [-Wunused-function] 76 | static VALUE user_pw_sprintf(VALUE self) | ^~~~~~~~~~~~~~~ rm -f etcutils.so gcc -shared -o etcutils.so etcutils.o group.o passwd.o -L. -L/usr/lib64 -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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -lruby -lm -lc current directory: /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20210921-32-fsj4mr exit > .sitearchdir.time /usr/bin/install -c -m 0755 etcutils.so ./.gem.20210921-32-fsj4mr current directory: /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20210921-32-i7cxfv.rb extconf.rb current directory: /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils make DESTDIR\= clean current directory: /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils make DESTDIR\= current directory: /builddir/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0/ext/etcutils make DESTDIR\= install Successfully installed etcutils-1.0.0 Parsing documentation for etcutils-1.0.0 Parsing sources... 7% [ 1/13] ext/etcutils/Makefile 15% [ 2/13] ext/etcutils/etcutils.c 23% [ 3/13] ext/etcutils/etcutils.h 30% [ 4/13] ext/etcutils/etcutils.o 38% [ 5/13] ext/etcutils/etcutils.so 46% [ 6/13] ext/etcutils/extconf.h 53% [ 7/13] ext/etcutils/extconf.rb 61% [ 8/13] ext/etcutils/group.c 69% [ 9/13] ext/etcutils/group.o 76% [10/13] ext/etcutils/passwd.c 84% [11/13] ext/etcutils/passwd.o 92% [12/13] lib/etcutils.rb 100% [13/13] lib/etcutils/version.rb Installing ri documentation for etcutils-1.0.0 Installing darkfish documentation for etcutils-1.0.0 Done installing documentation for etcutils after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ahNbrS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.x86_64 + cd etcutils-1.0.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.x86_64/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-etcutils-1.0.0-1.fc36.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.x86_64/usr/lib64/gems/ruby/etcutils-1.0.0 + cp -a ./usr/lib64/gems/ruby/etcutils-1.0.0/gem.build_complete ./usr/lib64/gems/ruby/etcutils-1.0.0/etcutils.so /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.x86_64/usr/lib64/gems/ruby/etcutils-1.0.0/ + rm -rf /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.x86_64/usr/share/gems/gems/etcutils-1.0.0/ext/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.0.0-1.fc36 --unique-debug-suffix -1.0.0-1.fc36.x86_64 --unique-debug-src-base rubygem-etcutils-1.0.0-1.fc36.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/etcutils-1.0.0 extracting debug info from /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.x86_64/usr/lib64/gems/ruby/etcutils-1.0.0/etcutils.so original debug info size: 160kB, size after compression: 144kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 99 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1P0ojz + umask 022 + cd /builddir/build/BUILD + cd etcutils-1.0.0 + pushd ./usr/share/gems/gems/etcutils-1.0.0 ~/build/BUILD/etcutils-1.0.0/usr/share/gems/gems/etcutils-1.0.0 ~/build/BUILD/etcutils-1.0.0 + popd ~/build/BUILD/etcutils-1.0.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-etcutils-1.0.0-1.fc36.x86_64 Provides: rubygem(etcutils) = 1.0.0 rubygem-etcutils = 1.0.0-1.fc36 rubygem-etcutils(x86-64) = 1.0.0-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-etcutils-doc-1.0.0-1.fc36.noarch Provides: rubygem-etcutils-doc = 1.0.0-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-etcutils-debugsource-1.0.0-1.fc36.x86_64 Provides: rubygem-etcutils-debugsource = 1.0.0-1.fc36 rubygem-etcutils-debugsource(x86-64) = 1.0.0-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-etcutils-debuginfo-1.0.0-1.fc36.x86_64 Provides: debuginfo(build-id) = f6f7e6357201e9ed37252fe739d1eee0696eac30 rubygem-etcutils-debuginfo = 1.0.0-1.fc36 rubygem-etcutils-debuginfo(x86-64) = 1.0.0-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-etcutils-debugsource(x86-64) = 1.0.0-1.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.x86_64 Wrote: /builddir/build/RPMS/rubygem-etcutils-debuginfo-1.0.0-1.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-etcutils-1.0.0-1.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-etcutils-debugsource-1.0.0-1.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-etcutils-doc-1.0.0-1.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UIzkyX + umask 022 + cd /builddir/build/BUILD + cd etcutils-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0