D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/ruby-google-protobuf-3.11.4-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.i7vF7j + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf google-protobuf-3.11.4 + /usr/bin/gem unpack /home/iurt/rpmbuild/SOURCES/google-protobuf-3.11.4.gem Unpacked gem: '/home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4' + /usr/bin/gem spec /home/iurt/rpmbuild/SOURCES/google-protobuf-3.11.4.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd google-protobuf-3.11.4 + /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.XIBdb7 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd google-protobuf-3.11.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/gem build ../google-protobuf-3.11.4.gemspec Successfully built RubyGem Name: google-protobuf Version: 3.11.4 File: google-protobuf-3.11.4.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 google-protobuf-3.11.4.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/google-protobuf-3.11.4 Bin dir: /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/bin Gem home: /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/defs.c /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/encode_decode.c /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/extconf.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/map.c /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/message.c /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/protobuf.c /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/protobuf.h /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/repeated_field.c /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/storage.c /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/upb.c /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/upb.h /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c/wrap_memcpy.c /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/any_pb.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/api_pb.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/duration_pb.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/empty_pb.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/field_mask_pb.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/message_exts.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/repeated_field.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/source_context_pb.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/struct_pb.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/timestamp_pb.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/type_pb.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/well_known_types.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/lib/google/protobuf/wrappers_pb.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/tests/basic.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/tests/generated_code_test.rb /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/tests/stress.rb Building native extensions. This could take a while... current directory: /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20210429-1403431-1we41eu.rb", "extconf.rb"] creating Makefile current directory: /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c "make \"DESTDIR=\" clean" rm -f rm -f protobuf_c.so *.o *.bak mkmf.log .*.time current directory: /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c "make \"DESTDIR=\"" ERROR: Error installing google-protobuf-3.11.4.gem: ERROR: Failed to build gem native extension. current directory: /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20210429-1403431-1we41eu.rb extconf.rb current directory: /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c make "DESTDIR=" clean current directory: /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4/ext/google/protobuf_c 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/google-protobuf-3.11.4/usr/share/gems/gems/google-protobuf-3.11.4 for inspection. Results logged to /home/iurt/rpmbuild/BUILD/google-protobuf-3.11.4/usr/lib64/gems/ruby/google-protobuf-3.11.4/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 -std=gnu90 -O3 -DNDEBUG -Wall -Wdeclaration-after-statement -Wsign-compare -o protobuf.o -c protobuf.c make: aarch64-mageia-linux-gnu-gcc: No such file or directory make: *** [Makefile:246: protobuf.o] Error 127 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.XIBdb7 (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.XIBdb7 (%build) I: [iurt_root_command] ERROR: chroot