D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/ruby-pcaprub.spec line 38: autopatch: no matching patches in range Installing /home/pterjan/rpmbuild/SRPMS/ruby-pcaprub-0.13.3-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZQcQZU Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dGf4ia + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build + rm -rf pcaprub-0.13.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pcaprub-0.13.3.gem Unpacked gem: '/home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3' + STATUS=0 + '[' 0 -ne 0 ']' + cd pcaprub-0.13.3 + /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/pterjan/rpmbuild/tmp/rpm-tmp.E5jhhQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build + 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' + export CFLAGS + 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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + 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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pcaprub-0.13.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/gem build ../pcaprub-0.13.3.gemspec WARNING: expected RubyGems version 3.6.2, was 3.4.19 WARNING: License identifier 'LGPL-2.1' is deprecated. Use an identifier from https://spdx.org/licenses or 'Nonstandard' for a nonstandard license, or set it to nil if you don't want to specify a license. Did you mean 'LPPL-1.1', 'ZPL-2.1'? WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: pcaprub Version: 0.13.3 File: pcaprub-0.13.3.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 pcaprub-0.13.3.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/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3 Bin dir: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/bin Gem home: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems Plugins dir: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/plugins /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/.document /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/FAQ.rdoc /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/Gemfile /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/LICENSE /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/README.rdoc /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/Rakefile /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/USAGE.rdoc /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/examples/dead_cap.rb /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/examples/file_cap.rb /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/examples/simple_cap.rb /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/examples/telnet-raw.pcap /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c/extconf.rb /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c/pcaprub.c /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/lib/pcaprub.rb /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/lib/pcaprub/common.rb /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/lib/pcaprub/ext.rb /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/lib/pcaprub/version.rb /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/test/test_helper.rb /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/test/test_pcaprub_unit.rb Building native extensions. This could take a while... current directory: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c ["/usr/bin/ruby", "-I/usr/share/rubygems", "extconf.rb"] [*] Running checks for pcaprub_c code... platform is x86_64-linux checking for ruby/thread.h... yes checking for rb_thread_blocking_region()... no checking for rb_thread_call_without_gvl()... yes checking for pcap_open_live() in -lpcap... yes checking for pcap_setnonblock() in -lpcap... yes creating Makefile current directory: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c ["make", "DESTDIR=", "sitearchdir=./.gem.20250424-2298645-wwkcbo", "sitelibdir=./.gem.20250424-2298645-wwkcbo", "clean"] rm -f rm -fr pcaprub_c.so false pcaprub.o *.bak mkmf.log .*.time current directory: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c ["make", "DESTDIR=", "sitearchdir=./.gem.20250424-2298645-wwkcbo", "sitelibdir=./.gem.20250424-2298645-wwkcbo"] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RUBY_THREAD_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -I/opt/local/include -I/usr/local/include -I/usr/include -I/usr/include -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 -m64 -o pcaprub.o -c pcaprub.c pcaprub.c: In function 'rbpcap_setmonitor': pcaprub.c:226:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 226 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ In file included from /usr/include/ruby/internal/core.h:27, from /usr/include/ruby/ruby.h:29, from /usr/include/ruby.h:38, from pcaprub.c:1: /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_settimeout': pcaprub.c:259:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 259 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_listdatalinks': pcaprub.c:285:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 285 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_setdatalink': pcaprub.c:318:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 318 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_setsnaplen': pcaprub.c:351:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 351 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_setpromisc': pcaprub.c:376:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 376 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_setfilter': pcaprub.c:416:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 416 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_compile': pcaprub.c:461:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 461 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_activate': pcaprub.c:483:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 483 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_close': pcaprub.c:505:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 505 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_create': pcaprub.c:518:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 518 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_open_live': pcaprub.c:583:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 583 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_open_offline': pcaprub.c:635:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 635 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_open_dead': pcaprub.c:679:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 679 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_dump_open': pcaprub.c:731:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 731 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_dump_close': pcaprub.c:757:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 757 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_dump': pcaprub.c:797:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 797 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_inject': pcaprub.c:838:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 838 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_next_data': pcaprub.c:882:9: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 882 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_next_packet': pcaprub.c:931:9: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 931 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c:958:7: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 958 | return Data_Wrap_Struct(rb_cPkt, 0, rbpacket_free, rbpacket); | ^~~~~~ /usr/include/ruby/internal/core/rdata.h:293:1: note: declared here 293 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_each_data': pcaprub.c:982:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 982 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_each_packet': pcaprub.c:1025:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1025 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_datalink': pcaprub.c:1062:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1062 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_major_version': pcaprub.c:1081:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1081 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_minor_version': pcaprub.c:1100:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1100 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_snapshot': pcaprub.c:1119:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1119 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpcap_stats': pcaprub.c:1144:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1144 | Data_Get_Struct(self, rbpcap_t, rbp); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpacket_time': pcaprub.c:1173:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1173 | Data_Get_Struct(self, rbpacket_t, rbpacket); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpacket_microsec': pcaprub.c:1193:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1193 | Data_Get_Struct(self, rbpacket_t, rbpacket); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpacket_length': pcaprub.c:1207:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1207 | Data_Get_Struct(self, rbpacket_t, rbpacket); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpacket_caplen': pcaprub.c:1220:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1220 | Data_Get_Struct(self, rbpacket_t, rbpacket); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pcaprub.c: In function 'rbpacket_data': pcaprub.c:1238:3: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1238 | Data_Get_Struct(self, rbpacket_t, rbpacket); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f pcaprub_c.so gcc -shared -o pcaprub_c.so pcaprub.o -L. -L/usr/lib64 -L/opt/local/lib -L/usr/local/lib -L/usr/lib64 -L/usr/lib -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 -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 -m64 -lruby -lpcap -lpcap -lm -lpthread -lc /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s : current directory: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c ["make", "DESTDIR=", "sitearchdir=./.gem.20250424-2298645-wwkcbo", "sitelibdir=./.gem.20250424-2298645-wwkcbo", "install"] /usr/bin/mkdir -p . ./.gem.20250424-2298645-wwkcbo exit > .sitearchdir.time /usr/bin/install -c -m 0755 pcaprub_c.so ./.gem.20250424-2298645-wwkcbo current directory: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c ["make", "DESTDIR=", "sitearchdir=./.gem.20250424-2298645-wwkcbo", "sitelibdir=./.gem.20250424-2298645-wwkcbo", "clean"] rm -f rm -fr pcaprub_c.so false pcaprub.o *.bak mkmf.log .*.time current directory: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c /usr/bin/ruby -I/usr/share/rubygems extconf.rb current directory: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c make DESTDIR\= sitearchdir\=./.gem.20250424-2298645-wwkcbo sitelibdir\=./.gem.20250424-2298645-wwkcbo clean current directory: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c make DESTDIR\= sitearchdir\=./.gem.20250424-2298645-wwkcbo sitelibdir\=./.gem.20250424-2298645-wwkcbo current directory: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c make DESTDIR\= sitearchdir\=./.gem.20250424-2298645-wwkcbo sitelibdir\=./.gem.20250424-2298645-wwkcbo install current directory: /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/usr/share/gems/gems/pcaprub-0.13.3/ext/pcaprub_c make DESTDIR\= sitearchdir\=./.gem.20250424-2298645-wwkcbo sitelibdir\=./.gem.20250424-2298645-wwkcbo clean Successfully installed pcaprub-0.13.3 Parsing documentation for pcaprub-0.13.3 Parsing sources... 9% [ 1/11] FAQ.rdoc 18% [ 2/11] LICENSE 27% [ 3/11] README.rdoc 36% [ 4/11] USAGE.rdoc 45% [ 5/11] ext/pcaprub_c/Makefile 54% [ 6/11] ext/pcaprub_c/extconf.rb 63% [ 7/11] ext/pcaprub_c/pcaprub.c 72% [ 8/11] lib/pcaprub.rb 81% [ 9/11] lib/pcaprub/common.rb 90% [10/11] lib/pcaprub/ext.rb 100% [11/11] lib/pcaprub/version.rb Installing ri documentation for pcaprub-0.13.3 Installing darkfish documentation for pcaprub-0.13.3 Done installing documentation for pcaprub after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qm7j82 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build + mkdir /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT + 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' + export CFLAGS + 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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + 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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pcaprub-0.13.3 + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/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 /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/share/gems/ + '[' -d ./usr/lib64/gems/ruby/pcaprub-0.13.3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/lib64/gems/ruby/pcaprub-0.13.3 + cp -pa ./usr/lib64/gems/ruby/pcaprub-0.13.3/gem.build_complete ./usr/lib64/gems/ruby/pcaprub-0.13.3/gem_make.out ./usr/lib64/gems/ruby/pcaprub-0.13.3/mkmf.log ./usr/lib64/gems/ruby/pcaprub-0.13.3/pcaprub_c.so /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/lib64/gems/ruby/pcaprub-0.13.3 + '[' -d ./usr/bin ']' + rm -fr /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/share/gems/cache /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/share/gems/extensions /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/share/gems/gems/pcaprub-0.13.3/ext /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/share/gems/gems/pcaprub-0.13.3/pcaprub.gemspec + rm -f /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/lib64/gems/ruby/pcaprub-0.13.3/gem_make.out /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/lib64/gems/ruby/pcaprub-0.13.3/mkmf.log + rm -rf /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/lib64/gems/ruby/pcaprub-0.13.3/ext + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.13.3-2.mga10 --unique-debug-suffix -0.13.3-2.mga10.x86_64 --unique-debug-src-base ruby-pcaprub-0.13.3-2.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ruby-pcaprub-0.13.3-2.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/pcaprub-0.13.3/examples/simple_cap.rb from /usr/bin/env ruby to #!/usr/bin/ruby mangling shebang in /usr/share/gems/gems/pcaprub-0.13.3/examples/dead_cap.rb from /usr/bin/env ruby to #!/usr/bin/ruby mangling shebang in /usr/share/gems/gems/pcaprub-0.13.3/examples/file_cap.rb from /usr/bin/env ruby to #!/usr/bin/ruby + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ruby-pcaprub-0.13.3-2.mga10.x86_64 Provides: ruby-pcaprub = 0.13.3-2.mga10 ruby-pcaprub(x86-64) = 0.13.3-2.mga10 rubygem(pcaprub) = 0.13.3 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.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpcap.so.1()(64bit) libruby.so.3.4()(64bit) ruby(rubygems) Processing files: ruby-pcaprub-doc-0.13.3-2.mga10.noarch Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ARHeU0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build + cd pcaprub-0.13.3 + DOCDIR=/home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/share/doc/ruby-pcaprub-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/share/doc/ruby-pcaprub-doc + cp -pr /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/FAQ.rdoc /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/share/doc/ruby-pcaprub-doc + cp -pr /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/LICENSE /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/share/doc/ruby-pcaprub-doc + cp -pr /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/README.rdoc /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/share/doc/ruby-pcaprub-doc + cp -pr /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/pcaprub-0.13.3/USAGE.rdoc /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT/usr/share/doc/ruby-pcaprub-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ruby-pcaprub-doc = 0.13.3-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ruby-pcaprub-debugsource-0.13.3-2.mga10.x86_64 Provides: ruby-pcaprub-debugsource = 0.13.3-2.mga10 ruby-pcaprub-debugsource(x86-64) = 0.13.3-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ruby-pcaprub-debuginfo-0.13.3-2.mga10.x86_64 Provides: debuginfo(build-id) = 99c0000ec6f3d21fbf87b5bf0c6ec9454b1cbcdd ruby-pcaprub-debuginfo = 0.13.3-2.mga10 ruby-pcaprub-debuginfo(x86-64) = 0.13.3-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ruby-pcaprub-debugsource(x86-64) = 0.13.3-2.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ruby-pcaprub-0.13.3-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ruby-pcaprub-debugsource-0.13.3-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ruby-pcaprub-debuginfo-0.13.3-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/ruby-pcaprub-doc-0.13.3-2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.astgr8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build + test -d /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build + rm -rf /home/pterjan/rpmbuild/BUILD/ruby-pcaprub-0.13.3-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: /home/pterjan/rpmbuild/SPECS/ruby-pcaprub.spec line 38: autopatch: no matching patches in range D: [iurt_root_command] Success!