Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-stata.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1629972237.703799/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.blwtg_2b:/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.blwtg_2b:/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', '9f1cf8bb88514e28997feab6201118f1', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1629972237.703799/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.blwtg_2b:/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 x86_64 --nodeps /builddir/build/SPECS/rubygem-stata.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1629849600 Wrote: /builddir/build/SRPMS/rubygem-stata-0.1.1-1.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-stata.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1629972237.703799/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.blwtg_2b:/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.blwtg_2b:/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', 'bc20e63dd4a0469299c5877d97d64e20', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1629972237.703799/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.blwtg_2b:/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 x86_64 --nodeps /builddir/build/SPECS/rubygem-stata.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1629849600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CncLbn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stata-0.1.1 + /usr/bin/gem unpack /builddir/build/SOURCES/stata-0.1.1.gem Unpacked gem: '/builddir/build/BUILD/stata-0.1.1' + /usr/bin/gem spec /builddir/build/SOURCES/stata-0.1.1.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd stata-0.1.1 + /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.ZI9NBI + umask 022 + cd /builddir/build/BUILD + cd stata-0.1.1 + gem build ../stata-0.1.1.gemspec Successfully built RubyGem Name: stata Version: 0.1.1 File: stata-0.1.1.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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 stata-0.1.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/stata-0.1.1 Bin dir: /builddir/build/BUILD/stata-0.1.1/usr/bin Gem home: /builddir/build/BUILD/stata-0.1.1/usr/share/gems Plugins dir: /builddir/build/BUILD/stata-0.1.1/usr/share/gems/plugins /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/LICENSE /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/README /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/Makefile_c /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/Read.c /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/Read.h /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/Read.rb.c /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/Stata.c /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/Stata.h /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/Stata.rb.c /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/Write.c /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/Write.h /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/Write.rb.c /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/extconf.rb /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext/test.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20210826-32-5n5zq4.rb", "extconf.rb"] creating Makefile current directory: /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext ["make", "DESTDIR=", "clean"] rm -f rm -f Stata.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o Read.o -c Read.c Read.c: In function 'read_float_t': Read.c:18:129: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 18 | float read_float_t() { uint32_t t=0; fread(&t, sizeof(t), 1, fp); if (swap_endian_needed==1) t = __builtin_bswap32(t); return *((float *)(void *)&t); } | ~^~~~~~~~~~~~~~~~~~~~ Read.c: In function 'read_double_t': Read.c:19:131: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 19 | double read_double_t() { uint64_t t=0; fread(&t, sizeof(t), 1, fp); if (swap_endian_needed==1) t = __builtin_bswap64(t); return *((double *)(void *)&t); } | ~^~~~~~~~~~~~~~~~~~~~~ Read.c: In function 'read_int16_t': Read.c:9:39: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | int16_t read_int16_t() { int16_t t=0; fread(&t, sizeof(t), 1, fp); return ((swap_endian_needed==1) ? ((t>>8) | (t<<8)) : t); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Read.c: In function 'read_int32_t': Read.c:10:39: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | int32_t read_int32_t() { int32_t t=0; fread(&t, sizeof(t), 1, fp); return (swap_endian_needed==1) ? (int32_t)__builtin_bswap32(t) : t; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Read.c: In function 'read_uint16_t': Read.c:12:42: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | uint16_t read_uint16_t() { uint16_t t=0; fread(&t, sizeof(t), 1, fp); return (swap_endian_needed==1) ? (t>>8)|(t<<8) : t; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Read.c: In function 'read_uint32_t': Read.c:13:42: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | uint32_t read_uint32_t() { uint32_t t=0; fread(&t, sizeof(t), 1, fp); return (swap_endian_needed==1) ? __builtin_bswap32(t) : t; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Read.c: In function 'read_string': Read.c:15:70: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | char * read_string(int length) { char * t = (char*)malloc(length+1); fread(t, length, 1, fp); t[length] = 0; return t; } | ^~~~~~~~~~~~~~~~~~~~~~~ Read.c: In function 'read_float_t': Read.c:18:38: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | float read_float_t() { uint32_t t=0; fread(&t, sizeof(t), 1, fp); if (swap_endian_needed==1) t = __builtin_bswap32(t); return *((float *)(void *)&t); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Read.c: In function 'read_double_t': Read.c:19:40: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | double read_double_t() { uint64_t t=0; fread(&t, sizeof(t), 1, fp); if (swap_endian_needed==1) t = __builtin_bswap64(t); return *((double *)(void *)&t); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Read.c: In function 'read_stata_file': Read.c:49:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | fread(&f->data_label, sizeof(f->data_label), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Read.c:50:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | fread(&f->time_stamp, sizeof(f->time_stamp), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Read.c:55:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | fread(f->typlist, 1, f->nvar, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Read.c:127:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 127 | fread(vlt->txtbuf, vlt->txtlen, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o Read.rb.o -c Read.rb.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o Stata.o -c Stata.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o Stata.rb.o -c Stata.rb.c Stata.rb.c: In function 'Init_Stata': Stata.rb.c:14:3: warning: passing argument 3 of 'rb_define_singleton_method_02' from incompatible pointer type [-Wincompatible-pointer-types] 14 | rb_define_singleton_method(Stata_module, "write", method_write, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} In file included from /usr/include/ruby/ruby.h:24, from /usr/include/ruby.h:38, from Stata.rb.c:2: /usr/include/ruby/internal/anyargs.h:270:1: note: expected 'VALUE (*)(VALUE, VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 270 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o Write.o -c Write.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o Write.rb.o -c Write.rb.c Write.rb.c: In function 'populate_value_labels_from_ruby': Write.rb.c:137:12: warning: pointer targets in assignment from 'uint32_t *' {aka 'unsigned int *'} to 'int32_t *' {aka 'int *'} differ in signedness [-Wpointer-sign] 137 | vlt->off = (uint32_t*)malloc(sizeof(uint32_t)*vlt->n); | ^ Write.rb.c:138:12: warning: pointer targets in assignment from 'uint32_t *' {aka 'unsigned int *'} to 'int32_t *' {aka 'int *'} differ in signedness [-Wpointer-sign] 138 | vlt->val = (uint32_t*)malloc(sizeof(uint32_t)*vlt->n); | ^ Write.rb.c: In function 'method_write': Write.rb.c:220:26: warning: passing argument 3 of 'rb_iterate' from incompatible pointer type [-Wincompatible-pointer-types] 220 | rb_iterate(rb_each, v, populate_fields_from_ruby, (VALUE)f); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, struct stata_file *) {aka long unsigned int (*)(long unsigned int, struct stata_file *)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from Write.rb.c:5: /usr/include/ruby/internal/iterator.h:47:40: note: expected 'rb_block_call_func_t' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, int, const long unsigned int *, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, struct stata_file *)' {aka 'long unsigned int (*)(long unsigned int, struct stata_file *)'} 47 | VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); | ^~~~~~~~~~~~~~~~~~~~ Write.rb.c:242:26: warning: passing argument 3 of 'rb_iterate' from incompatible pointer type [-Wincompatible-pointer-types] 242 | rb_iterate(rb_each, v, populate_data_from_ruby, (VALUE)f); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, struct stata_file *) {aka long unsigned int (*)(long unsigned int, struct stata_file *)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from Write.rb.c:5: /usr/include/ruby/internal/iterator.h:47:40: note: expected 'rb_block_call_func_t' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, int, const long unsigned int *, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, struct stata_file *)' {aka 'long unsigned int (*)(long unsigned int, struct stata_file *)'} 47 | VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); | ^~~~~~~~~~~~~~~~~~~~ Write.rb.c:250:26: warning: passing argument 3 of 'rb_iterate' from incompatible pointer type [-Wincompatible-pointer-types] 250 | rb_iterate(rb_each, v, populate_value_labels_from_ruby, (VALUE)f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, struct stata_file *) {aka long unsigned int (*)(long unsigned int, struct stata_file *)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from Write.rb.c:5: /usr/include/ruby/internal/iterator.h:47:40: note: expected 'rb_block_call_func_t' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, int, const long unsigned int *, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, struct stata_file *)' {aka 'long unsigned int (*)(long unsigned int, struct stata_file *)'} 47 | VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); | ^~~~~~~~~~~~~~~~~~~~ Write.rb.c: In function 'populate_fields_from_ruby': Write.rb.c:55:1: warning: control reaches end of non-void function [-Wreturn-type] 55 | } | ^ Write.rb.c: In function 'populate_data_from_ruby': Write.rb.c:115:1: warning: control reaches end of non-void function [-Wreturn-type] 115 | } | ^ Write.rb.c: In function 'populate_value_labels_from_ruby': Write.rb.c:166:1: warning: control reaches end of non-void function [-Wreturn-type] 166 | } | ^ In file included from /usr/include/string.h:519, from Write.rb.c:3: In function 'strncpy', inlined from 'method_write' at Write.rb.c:195:3: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 81 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'method_write' at Write.rb.c:199:3: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 18 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f Stata.so gcc -shared -o Stata.so Read.o Read.rb.o Stata.o Stata.rb.o Write.o Write.rb.o -L. -L/usr/lib64 -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 -m64 -lruby -lm -lc Stata.rb.c:6:7: warning: type of 'method_write' does not match original declaration [-Wlto-type-mismatch] 6 | VALUE method_write(VALUE self, VALUE file); | ^ Write.rb.c:168:7: note: type mismatch in parameter 3 168 | VALUE method_write(VALUE self, VALUE filename, VALUE data) | ^ Write.rb.c:168:7: note: type 'VALUE' should match type 'void' Write.rb.c:168:7: note: 'method_write' was previously declared here current directory: /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20210826-32-lyi30l exit > .sitearchdir.time /usr/bin/install -c -m 0755 Stata.so ./.gem.20210826-32-lyi30l current directory: /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20210826-32-5n5zq4.rb extconf.rb current directory: /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext make DESTDIR\= clean current directory: /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext make DESTDIR\= current directory: /builddir/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1/ext make DESTDIR\= install Successfully installed stata-0.1.1 Parsing documentation for stata-0.1.1 Parsing sources... 5% [ 1/20] ext/Makefile 10% [ 2/20] ext/Makefile_c 15% [ 3/20] ext/Read.c 20% [ 4/20] ext/Read.h 25% [ 5/20] ext/Read.o 30% [ 6/20] ext/Read.rb.c 35% [ 7/20] ext/Read.rb.o 40% [ 8/20] ext/Stata.c 45% [ 9/20] ext/Stata.h 50% [10/20] ext/Stata.o 55% [11/20] ext/Stata.rb.c 60% [12/20] ext/Stata.rb.o 65% [13/20] ext/Stata.so 70% [14/20] ext/Write.c 75% [15/20] ext/Write.h 80% [16/20] ext/Write.o 85% [17/20] ext/Write.rb.c 90% [18/20] ext/Write.rb.o 95% [19/20] ext/extconf.rb 100% [20/20] ext/test.rb Installing ri documentation for stata-0.1.1 Installing darkfish documentation for stata-0.1.1 Done installing documentation for stata after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NNffph + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-stata-0.1.1-1.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-stata-0.1.1-1.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-stata-0.1.1-1.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-stata-0.1.1-1.fc36.x86_64 + cd stata-0.1.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-stata-0.1.1-1.fc36.x86_64/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-stata-0.1.1-1.fc36.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-stata-0.1.1-1.fc36.x86_64/usr/lib64/gems/ruby/stata-0.1.1 + cp -a ./usr/lib64/gems/ruby/stata-0.1.1/gem.build_complete ./usr/lib64/gems/ruby/stata-0.1.1/Stata.so /builddir/build/BUILDROOT/rubygem-stata-0.1.1-1.fc36.x86_64/usr/lib64/gems/ruby/stata-0.1.1/ + rm -rf /builddir/build/BUILDROOT/rubygem-stata-0.1.1-1.fc36.x86_64/usr/share/gems/gems/stata-0.1.1/ext/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.1.1-1.fc36 --unique-debug-suffix -0.1.1-1.fc36.x86_64 --unique-debug-src-base rubygem-stata-0.1.1-1.fc36.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/stata-0.1.1 extracting debug info from /builddir/build/BUILDROOT/rubygem-stata-0.1.1-1.fc36.x86_64/usr/lib64/gems/ruby/stata-0.1.1/Stata.so original debug info size: 120kB, size after compression: 112kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 63 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.piZatd + umask 022 + cd /builddir/build/BUILD + cd stata-0.1.1 + pushd ./usr/share/gems/gems/stata-0.1.1 ~/build/BUILD/stata-0.1.1/usr/share/gems/gems/stata-0.1.1 ~/build/BUILD/stata-0.1.1 + popd ~/build/BUILD/stata-0.1.1 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-stata-0.1.1-1.fc36.x86_64 Provides: rubygem(stata) = 0.1.1 rubygem-stata = 0.1.1-1.fc36 rubygem-stata(x86-64) = 0.1.1-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()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-stata-doc-0.1.1-1.fc36.noarch Provides: rubygem-stata-doc = 0.1.1-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-stata-debugsource-0.1.1-1.fc36.x86_64 Provides: rubygem-stata-debugsource = 0.1.1-1.fc36 rubygem-stata-debugsource(x86-64) = 0.1.1-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-stata-debuginfo-0.1.1-1.fc36.x86_64 Provides: debuginfo(build-id) = 5b9bcf1e6d7a3cfe930148c4ef27d5cb3231592f rubygem-stata-debuginfo = 0.1.1-1.fc36 rubygem-stata-debuginfo(x86-64) = 0.1.1-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-stata-debugsource(x86-64) = 0.1.1-1.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-stata-0.1.1-1.fc36.x86_64 Wrote: /builddir/build/RPMS/rubygem-stata-debuginfo-0.1.1-1.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-stata-0.1.1-1.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-stata-debugsource-0.1.1-1.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-stata-doc-0.1.1-1.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SINsdG + umask 022 + cd /builddir/build/BUILD + cd stata-0.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-stata-0.1.1-1.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0