D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ruby-posix-spawn-0.3.13-8.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vpPMye + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf posix-spawn-0.3.13 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/posix-spawn-0.3.13.gem Unpacked gem: '/home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13' + STATUS=0 + '[' 0 -ne 0 ']' + cd posix-spawn-0.3.13 + rm -rf /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/posix-spawn-0.3.13-32bit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7eDuAy + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd posix-spawn-0.3.13 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/gem build ../posix-spawn-0.3.13.gemspec WARNING: open-ended dependency on minitest (>= 4, development) is not recommended if minitest is semantically versioned, use: add_development_dependency 'minitest', '~> 4' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: posix-spawn Version: 0.3.13 File: posix-spawn-0.3.13.gem + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'\'' --with-cxxflags='\''-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'\'' --with-ldflags='\''-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\'' ' + /usr/bin/gem install posix-spawn-0.3.13.gem -V --local --env-shebang --force --ignore-dependencies --install-dir /usr/share/gems --document=ri,rdoc --bindir /usr/bin --build-root . WARNING: You build with buildroot. Build root: /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13 Bin dir: /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/bin Gem home: /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems Plugins dir: /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/plugins /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/.gitignore /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/COPYING /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/Gemfile /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/HACKING /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/README.md /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/Rakefile /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/TODO /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/bin/posix-spawn-benchmark /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext/extconf.rb /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext/posix-spawn.c /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/lib/posix-spawn.rb /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/lib/posix/spawn.rb /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/lib/posix/spawn/child.rb /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/lib/posix/spawn/version.rb /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/posix-spawn.gemspec /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_backtick.rb /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_child.rb /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_helper.rb /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_popen.rb /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_spawn.rb /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_system.rb Building native extensions. This could take a while... current directory: /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "extconf.rb"] creating Makefile current directory: /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20240731-1595445-9tf3ga", "sitelibdir=./.gem.20240731-1595445-9tf3ga", "clean"] rm -f rm -fr posix_spawn_ext.so false *.o *.bak mkmf.log .*.time current directory: /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20240731-1595445-9tf3ga", "sitelibdir=./.gem.20240731-1595445-9tf3ga"] ERROR: Error installing posix-spawn-0.3.13.gem: ERROR: Failed to build gem native extension. current directory: /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext /usr/bin/ruby -I /usr/share/rubygems extconf.rb current directory: /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext make DESTDIR\= sitearchdir\=./.gem.20240731-1595445-9tf3ga sitelibdir\=./.gem.20240731-1595445-9tf3ga clean current directory: /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext make DESTDIR\= sitearchdir\=./.gem.20240731-1595445-9tf3ga sitelibdir\=./.gem.20240731-1595445-9tf3ga Building has failed. See above output for more information on the failure. make failed, exit code 2 Gem files will remain installed in /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13 for inspection. Results logged to /home/pterjan/rpmbuild/BUILD/posix-spawn-0.3.13/usr/lib64/gems/ruby/posix-spawn-0.3.13/gem_make.out gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -m64 -o posix-spawn.o -c posix-spawn.c posix-spawn.c: In function 'posixspawn_file_actions_init': posix-spawn.c:226:34: error: passing argument 2 of 'rb_hash_foreach' from incompatible pointer type [-Wincompatible-pointer-types] 226 | rb_hash_foreach(options, posixspawn_file_actions_operations_iter, (VALUE)fops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(VALUE, VALUE, posix_spawn_file_actions_t *) {aka int (*)(long unsigned int, long unsigned int, posix_spawn_file_actions_t *)} In file included from /usr/include/ruby/internal/scan_args.h:37, from /usr/include/ruby/ruby.h:46, from /usr/include/ruby.h:38, from posix-spawn.c:14: /usr/include/ruby/internal/intern/hash.h:83:40: note: expected 'int (*)(VALUE, VALUE, VALUE)' {aka 'int (*)(long unsigned int, long unsigned int, long unsigned int)'} but argument is of type 'int (*)(VALUE, VALUE, posix_spawn_file_actions_t *)' {aka 'int (*)(long unsigned int, long unsigned int, posix_spawn_file_actions_t *)'} 83 | void rb_hash_foreach(VALUE hash, int (*func)(VALUE key, VALUE val, VALUE arg), VALUE arg); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:248: posix-spawn.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7eDuAy (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7eDuAy (%build) I: [iurt_root_command] ERROR: chroot