Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-algorithms.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1678477554.823858/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-algorithms.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'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rubygem-algorithms-1.0.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-algorithms.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1678477554.823858/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-algorithms.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'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rubygem-algorithms-1.0.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rubygem-algorithms.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1678477554.823858/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rubygem-algorithms.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'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v2chud + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf algorithms-1.0.0 + /usr/bin/gem unpack /builddir/build/SOURCES/algorithms-1.0.0.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/algorithms-1.0.0' + /usr/bin/gem spec /builddir/build/SOURCES/algorithms-1.0.0.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd algorithms-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/algorithms-1.0.0.gem -l --ruby `did_you_mean' was not loaded. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YvLEhw + umask 022 + cd /builddir/build/BUILD + cd algorithms-1.0.0 + gem build algorithms.gemspec `did_you_mean' was not loaded. Successfully built RubyGem Name: algorithms Version: 1.0.0 File: algorithms-1.0.0.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc algorithms-1.0.0.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/algorithms-1.0.0 Bin dir: /builddir/build/BUILD/algorithms-1.0.0/usr/bin Gem home: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems Plugins dir: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/plugins /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/CHANGELOG.markdown /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/Gemfile /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/Manifest /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/README.markdown /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/Rakefile /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/algorithms.gemspec /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/benchmarks/deque.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/benchmarks/sorts.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/benchmarks/treemaps.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/algorithms/string/extconf.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/algorithms/string/string.c /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/bst/bst.c /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/bst/extconf.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/deque/deque.c /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/deque/extconf.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/rbtree_map/extconf.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/rbtree_map/rbtree.c /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/splaytree_map/extconf.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/splaytree_map/splaytree.c /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/algorithms.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/algorithms/search.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/algorithms/sort.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/algorithms/string.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/containers/deque.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/containers/heap.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/containers/kd_tree.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/containers/priority_queue.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/containers/queue.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/containers/rb_tree_map.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/containers/splay_tree_map.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/containers/stack.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/containers/suffix_array.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/lib/containers/trie.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/bst_gc_mark_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/bst_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/deque_gc_mark_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/deque_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/heap_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/kd_expected_out.txt /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/kd_test_in.txt /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/kd_tree_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/map_gc_mark_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/priority_queue_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/queue_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/rb_tree_map_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/search_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/sort_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/splay_tree_map_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/stack_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/string_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/suffix_array_spec.rb /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/spec/trie_spec.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/algorithms/string ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20230310-1297-fd5w51.rb", "extconf.rb"] `did_you_mean' was not loaded. creating Makefile current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/algorithms/string ["make", "DESTDIR=", "clean"] rm -f rm -f CString.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/algorithms/string ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o string.o -c string.c rm -f CString.so gcc -shared -o CString.so string.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -lruby -lm -lc current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/algorithms/string ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20230310-1297-3tn9uk exit > .sitearchdir.time /usr/bin/install -c -m 0755 CString.so ./.gem.20230310-1297-3tn9uk current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/algorithms/string /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230310-1297-fd5w51.rb extconf.rb current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/algorithms/string make DESTDIR\= clean current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/algorithms/string make DESTDIR\= current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/algorithms/string make DESTDIR\= install current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/bst ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20230310-1297-bhqxr0.rb", "extconf.rb"] `did_you_mean' was not loaded. creating Makefile current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/bst ["make", "DESTDIR=", "clean"] rm -f rm -f CBst.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/bst ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o bst.o -c bst.c bst.c: In function 'bst_each_node': bst.c:28:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 28 | if (!node) | ^~ bst.c:31:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 31 | if (node->left) | ^~ At top level: bst.c:102:18: warning: 'tree_maximum' defined but not used [-Wunused-function] 102 | static bst_node* tree_maximum (bst_node *tree) { | ^~~~~~~~~~~~ rm -f CBst.so gcc -shared -o CBst.so bst.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -lruby -lm -lc current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/bst ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20230310-1297-z1sm23 exit > .sitearchdir.time /usr/bin/install -c -m 0755 CBst.so ./.gem.20230310-1297-z1sm23 current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/bst /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230310-1297-bhqxr0.rb extconf.rb current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/bst make DESTDIR\= clean current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/bst make DESTDIR\= current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/bst make DESTDIR\= install current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/deque ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20230310-1297-z53qr8.rb", "extconf.rb"] `did_you_mean' was not loaded. creating Makefile current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/deque ["make", "DESTDIR=", "clean"] rm -f rm -f CDeque.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/deque ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o deque.o -c deque.c deque.c:3: warning: "FALSE" redefined 3 | #define FALSE 0 | In file included from /usr/include/ruby/defines.h:74, from /usr/include/ruby/ruby.h:23, from /usr/include/ruby.h:38, from deque.c:1: /usr/include/ruby/backward/2/bool.h:26: note: this is the location of the previous definition 26 | # define FALSE false | deque.c:4: warning: "TRUE" redefined 4 | #define TRUE 1 | In file included from /usr/include/ruby/defines.h:74, from /usr/include/ruby/ruby.h:23, from /usr/include/ruby.h:38, from deque.c:1: /usr/include/ruby/backward/2/bool.h:32: note: this is the location of the previous definition 32 | # define TRUE true | rm -f CDeque.so gcc -shared -o CDeque.so deque.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -lruby -lm -lc current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/deque ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20230310-1297-fwxebb exit > .sitearchdir.time /usr/bin/install -c -m 0755 CDeque.so ./.gem.20230310-1297-fwxebb current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/deque /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230310-1297-z53qr8.rb extconf.rb current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/deque make DESTDIR\= clean current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/deque make DESTDIR\= current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/deque make DESTDIR\= install current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/rbtree_map ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20230310-1297-clhlfh.rb", "extconf.rb"] `did_you_mean' was not loaded. creating Makefile current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/rbtree_map ["make", "DESTDIR=", "clean"] rm -f rm -f CRBTreeMap.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/rbtree_map ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o rbtree.o -c rbtree.c rbtree.c:6: warning: "FALSE" redefined 6 | #define FALSE 0 | In file included from /usr/include/ruby/defines.h:74, from /usr/include/ruby/ruby.h:23, from /usr/include/ruby.h:38, from rbtree.c:1: /usr/include/ruby/backward/2/bool.h:26: note: this is the location of the previous definition 26 | # define FALSE false | rbtree.c:7: warning: "TRUE" redefined 7 | #define TRUE 1 | In file included from /usr/include/ruby/defines.h:74, from /usr/include/ruby/ruby.h:23, from /usr/include/ruby.h:38, from rbtree.c:1: /usr/include/ruby/backward/2/bool.h:32: note: this is the location of the previous definition 32 | # define TRUE true | rbtree.c: In function 'rbtree_each_node': rbtree.c:271:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 271 | if (!node) | ^~ rbtree.c:274:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 274 | if (node->left) | ^~ rm -f CRBTreeMap.so gcc -shared -o CRBTreeMap.so rbtree.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -lruby -lm -lc current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/rbtree_map ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20230310-1297-hhstao exit > .sitearchdir.time /usr/bin/install -c -m 0755 CRBTreeMap.so ./.gem.20230310-1297-hhstao current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/rbtree_map /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230310-1297-clhlfh.rb extconf.rb current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/rbtree_map make DESTDIR\= clean current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/rbtree_map make DESTDIR\= current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/rbtree_map make DESTDIR\= install current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/splaytree_map ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20230310-1297-ddk8py.rb", "extconf.rb"] `did_you_mean' was not loaded. creating Makefile current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/splaytree_map ["make", "DESTDIR=", "clean"] rm -f rm -f CSplayTreeMap.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/splaytree_map ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o splaytree.o -c splaytree.c splaytree.c: In function 'splay': splaytree.c:43:17: warning: variable 'root_size' set but not used [-Wunused-but-set-variable] 43 | int cmp, cmp2, root_size, l_size, r_size; | ^~~~~~~~~ splaytree.c: In function 'splaytree_each_node': splaytree.c:212:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 212 | if (!node) | ^~ splaytree.c:215:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 215 | if (node->left) | ^~ rm -f CSplayTreeMap.so gcc -shared -o CSplayTreeMap.so splaytree.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -lruby -lm -lc current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/splaytree_map ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20230310-1297-cij32l exit > .sitearchdir.time /usr/bin/install -c -m 0755 CSplayTreeMap.so ./.gem.20230310-1297-cij32l current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/splaytree_map /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230310-1297-ddk8py.rb extconf.rb current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/splaytree_map make DESTDIR\= clean current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/splaytree_map make DESTDIR\= current directory: /builddir/build/BUILD/algorithms-1.0.0/usr/share/gems/gems/algorithms-1.0.0/ext/containers/splaytree_map make DESTDIR\= install Successfully installed algorithms-1.0.0 Parsing documentation for algorithms-1.0.0 Parsing sources... 2% [ 1/39] ext/algorithms/string/CString.so 5% [ 2/39] ext/algorithms/string/Makefile 7% [ 3/39] ext/algorithms/string/extconf.rb 10% [ 4/39] ext/algorithms/string/string.c 12% [ 5/39] ext/algorithms/string/string.o 15% [ 6/39] ext/containers/bst/CBst.so 17% [ 7/39] ext/containers/bst/Makefile 20% [ 8/39] ext/containers/bst/bst.c 23% [ 9/39] ext/containers/bst/bst.o 25% [10/39] ext/containers/bst/extconf.rb 28% [11/39] ext/containers/deque/CDeque.so 30% [12/39] ext/containers/deque/Makefile 33% [13/39] ext/containers/deque/deque.c 35% [14/39] ext/containers/deque/deque.o 38% [15/39] ext/containers/deque/extconf.rb 41% [16/39] ext/containers/rbtree_map/CRBTreeMap.so 43% [17/39] ext/containers/rbtree_map/Makefile 46% [18/39] ext/containers/rbtree_map/extconf.rb 48% [19/39] ext/containers/rbtree_map/rbtree.c 51% [20/39] ext/containers/rbtree_map/rbtree.o 53% [21/39] ext/containers/splaytree_map/CSplayTreeMap.so 56% [22/39] ext/containers/splaytree_map/Makefile 58% [23/39] ext/containers/splaytree_map/extconf.rb 61% [24/39] ext/containers/splaytree_map/splaytree.c 64% [25/39] ext/containers/splaytree_map/splaytree.o 66% [26/39] lib/algorithms.rb 69% [27/39] lib/algorithms/search.rb 71% [28/39] lib/algorithms/sort.rb 74% [29/39] lib/algorithms/string.rb 76% [30/39] lib/containers/deque.rb 79% [31/39] lib/containers/heap.rb 82% [32/39] lib/containers/kd_tree.rb 84% [33/39] lib/containers/priority_queue.rb 87% [34/39] lib/containers/queue.rb 89% [35/39] lib/containers/rb_tree_map.rb 92% [36/39] lib/containers/splay_tree_map.rb 94% [37/39] lib/containers/stack.rb 97% [38/39] lib/containers/suffix_array.rb 100% [39/39] lib/containers/trie.rb Installing ri documentation for algorithms-1.0.0 Installing darkfish documentation for algorithms-1.0.0 Done installing documentation for algorithms after 1 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TRPxgI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64 ++ dirname /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64 + cd algorithms-1.0.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/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-algorithms-1.0.0-1.aarch64/usr/share/gems/ + rsync -a '--exclude=.*' ./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-algorithms-1.0.0-1.aarch64/usr/share/gems/ + '[' -d ./usr/bin ']' + '[' -d ext ']' + mkdir -p /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms + '[' -d ./usr/lib64/gems/ruby/algorithms-1.0.0/algorithms ']' + cp -a ./usr/lib64/gems/ruby/algorithms-1.0.0/CBst.so ./usr/lib64/gems/ruby/algorithms-1.0.0/CDeque.so ./usr/lib64/gems/ruby/algorithms-1.0.0/CRBTreeMap.so ./usr/lib64/gems/ruby/algorithms-1.0.0/CSplayTreeMap.so ./usr/lib64/gems/ruby/algorithms-1.0.0/CString.so /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms + cp -a ./usr/lib64/gems/ruby/algorithms-1.0.0/gem.build_complete /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/ + rm -rf /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/share/gems/gems/algorithms-1.0.0/ext/ + pushd /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64 ~/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64 ~/build/BUILD/algorithms-1.0.0 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/bin ']' ~/build/BUILD/algorithms-1.0.0 + popd + mv /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 1.0.0-1 --unique-debug-suffix -1.0.0-1.aarch64 --unique-debug-src-base rubygem-algorithms-1.0.0-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/algorithms-1.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms/CBst.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms/CDeque.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms/CSplayTreeMap.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms/CRBTreeMap.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms/CString.so extracting debug info from /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms/CDeque.so extracting debug info from /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms/CBst.so extracting debug info from /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms/CSplayTreeMap.so extracting debug info from /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms/CRBTreeMap.so extracting debug info from /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64/usr/lib64/gems/ruby/algorithms-1.0.0/algorithms/CString.so 68 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: rubygem-algorithms-1.0.0-1.aarch64 warning: Empty %files file /builddir/build/BUILD/algorithms-1.0.0/filelist.lst `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(algorithms) = 1.0.0 rubygem-algorithms rubygem-algorithms = 1.0.0-1 rubygem-algorithms(aarch-64) = 1.0.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libm.so.6()(64bit) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-algorithms-help-1.0.0-1.noarch Provides: rubygem-algorithms-doc rubygem-algorithms-help = 1.0.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-algorithms-debuginfo-1.0.0-1.aarch64 Provides: rubygem-algorithms-debuginfo = 1.0.0-1 rubygem-algorithms-debuginfo(aarch-64) = 1.0.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-algorithms-debugsource(aarch-64) = 1.0.0-1 Processing files: rubygem-algorithms-debugsource-1.0.0-1.aarch64 Provides: rubygem-algorithms-debugsource = 1.0.0-1 rubygem-algorithms-debugsource(aarch-64) = 1.0.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64 Wrote: /builddir/build/RPMS/rubygem-algorithms-debugsource-1.0.0-1.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-algorithms-debuginfo-1.0.0-1.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-algorithms-help-1.0.0-1.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-algorithms-1.0.0-1.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2reKkp + umask 022 + cd /builddir/build/BUILD + cd algorithms-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-algorithms-1.0.0-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0