D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/ruby-itextomml-1.6.0-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VOf8kQ + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf itextomml-1.6.0 + /usr/bin/gem unpack /home/iurt/rpmbuild/SOURCES/itextomml-1.6.0.gem Unpacked gem: '/home/iurt/rpmbuild/BUILD/itextomml-1.6.0' + /usr/bin/gem spec /home/iurt/rpmbuild/SOURCES/itextomml-1.6.0.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd itextomml-1.6.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 /home/iurt/rpmbuild/tmp/rpm-tmp.KLtv14 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd itextomml-1.6.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/gem build ../itextomml-1.6.0.gemspec WARNING: licenses is empty, but is recommended. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: itextomml Version: 1.6.0 File: itextomml-1.6.0.gem + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'\'' --with-cxxflags='\''-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'\'' --with-dldflags='\'' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'\'' ' + /usr/bin/gem install itextomml-1.6.0.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/iurt/rpmbuild/BUILD/itextomml-1.6.0 Bin dir: /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/bin Gem home: /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/README /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext/extconf.rb /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext/itex2MML.h /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext/itex2MML_ruby.c /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext/lex.yy.c /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext/y.tab.c /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext/y.tab.h /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/lib/itex_stringsupport.rb /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/lib/itextomml.rb /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/test/test_itextomml.rb Building native extensions. This could take a while... current directory: /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20210429-1503428-3hm9l0.rb", "extconf.rb"] creating Makefile current directory: /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext "make \"DESTDIR=\" clean" rm -f rm -f itex2MML.so *.o *.bak mkmf.log .*.time current directory: /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext "make \"DESTDIR=\"" ERROR: Error installing itextomml-1.6.0.gem: ERROR: Failed to build gem native extension. current directory: /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20210429-1503428-3hm9l0.rb extconf.rb current directory: /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext make "DESTDIR=" clean current directory: /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0/ext make "DESTDIR=" Building has failed. See above output for more information on the failure. make failed, exit code 2 Gem files will remain installed in /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/share/gems/gems/itextomml-1.6.0 for inspection. Results logged to /home/iurt/rpmbuild/BUILD/itextomml-1.6.0/usr/lib64/gems/ruby/itextomml-1.6.0/gem_make.out aarch64-mageia-linux-gnu-gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Ditex2MML_CAPTURE -o itex2MML_ruby.o -c itex2MML_ruby.c make: aarch64-mageia-linux-gnu-gcc: No such file or directory make: *** [Makefile:246: itex2MML_ruby.o] Error 127 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.KLtv14 (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.KLtv14 (%build) I: [iurt_root_command] ERROR: chroot