Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rubygem-etcutils.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1632188858.667333/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.rv7isf24:/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.rv7isf24:/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', 'ae74b0369124420ab751ed2be175ff4a', '-D', '/var/lib/mock/fedora-rawhide-i686-1632188858.667333/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rv7isf24:/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 i686 --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: i686 Building for target i686 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 i686 --nodeps /builddir/build/SPECS/rubygem-etcutils.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1632188858.667333/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.rv7isf24:/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.rv7isf24:/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', 'ceea5799f38b485e8c24949f739b2909', '-D', '/var/lib/mock/fedora-rawhide-i686-1632188858.667333/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rv7isf24:/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 i686 --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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1631491200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JhIsnb + 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.3tVh8t + 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 -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 '\'' ' + 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-q89wcf.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\" -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 -m32 -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\" -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 -m32 -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\" -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 -m32 -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/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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -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-1u0uep exit > .sitearchdir.time /usr/bin/install -c -m 0755 etcutils.so ./.gem.20210921-32-1u0uep 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-q89wcf.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.UldtCc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.i386 ++ dirname /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.i386 + cd etcutils-1.0.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.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-etcutils-1.0.0-1.fc36.i386/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.i386/usr/lib/gems/ruby/etcutils-1.0.0 + cp -a ./usr/lib/gems/ruby/etcutils-1.0.0/gem.build_complete ./usr/lib/gems/ruby/etcutils-1.0.0/etcutils.so /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.i386/usr/lib/gems/ruby/etcutils-1.0.0/ + rm -rf /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.i386/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.i386 --unique-debug-src-base rubygem-etcutils-1.0.0-1.fc36.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/etcutils-1.0.0 extracting debug info from /builddir/build/BUILDROOT/rubygem-etcutils-1.0.0-1.fc36.i386/usr/lib/gems/ruby/etcutils-1.0.0/etcutils.so original debug info size: 140kB, size after compression: 128kB /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.xsPtu9 + 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.i686 Provides: rubygem(etcutils) = 1.0.0 rubygem-etcutils = 1.0.0-1.fc36 rubygem-etcutils(x86-32) = 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.10) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libruby.so.3.0 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.i686 Provides: rubygem-etcutils-debugsource = 1.0.0-1.fc36 rubygem-etcutils-debugsource(x86-32) = 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.i686 Provides: debuginfo(build-id) = 669a3d56bb5dc004239259f0598cb8d54a82b1ab rubygem-etcutils-debuginfo = 1.0.0-1.fc36 rubygem-etcutils-debuginfo(x86-32) = 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-32) = 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.i386 Wrote: /builddir/build/RPMS/rubygem-etcutils-debuginfo-1.0.0-1.fc36.i686.rpm Wrote: /builddir/build/RPMS/rubygem-etcutils-1.0.0-1.fc36.i686.rpm Wrote: /builddir/build/RPMS/rubygem-etcutils-debugsource-1.0.0-1.fc36.i686.rpm Wrote: /builddir/build/RPMS/rubygem-etcutils-doc-1.0.0-1.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rvhbkc + 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.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0