==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_8dbcc862-3a3f-44e5-b4e8-6577c2fd611c]...done ==> Making package: ruby-pycall 1.5.2-2.1 (Wed Nov 20 19:25:05 2024) ==> Retrieving sources... -> Cloning pycall.rb git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v4/ruby-pycall-1.5.2-2/pycall.rb'... ==> Validating source files with sha512sums... pycall.rb ... Skipped ==> Making package: ruby-pycall 1.5.2-2.1 (Wed Nov 20 19:25:08 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: rubygems will be installed before its ruby dependency Package (5) New Version Net Change extra/libyaml 0.2.5-3 0.18 MiB core/mpdecimal 4.0.0-2 0.32 MiB extra/rubygems 3.5.16-1 2.69 MiB core/python 3.12.7-1 70.07 MiB extra/ruby 3.3.5-2 16.13 MiB Total Installed Size: 89.40 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libyaml... installing rubygems... installing ruby... Optional dependencies for ruby tk: for Ruby/TK ruby-docs: Documentation for Ruby ruby-default-gems: Default gems which are part of Ruby StdLib ruby-bundled-gems: Bundled gems which are part of Ruby StdLib ruby-stdlib: Full Ruby StdLib including default gems, bundled gems and tools installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (27) New Version Net Change Download Size extra/blas 3.12.0-5 0.65 MiB extra/cblas 3.12.0-5 0.34 MiB extra/lapack 3.12.0-5 7.48 MiB extra/perl-error 0.17029-7 0.04 MiB extra/perl-mailtools 2.21-9 0.10 MiB extra/perl-timedate 2.33-7 0.08 MiB extra/ruby-byebug 11.1.3-6 0.84 MiB 0.18 MiB extra/ruby-coderay 1.1.3-5 0.52 MiB extra/ruby-diff-lcs 1.5.1-3 0.34 MiB extra/ruby-erb 4.0.4-6 0.10 MiB extra/ruby-irb 1.13.1-1 0.54 MiB extra/ruby-method_source 1.0.0-4 0.04 MiB extra/ruby-power_assert 2.0.3-5 0.09 MiB extra/ruby-rspec-core 3.13.1-1 1.27 MiB extra/ruby-rspec-expectations 3.13.3-1 0.78 MiB extra/ruby-rspec-mocks 3.13.1-2 0.72 MiB extra/ruby-rspec-support 3.13.1-4 0.29 MiB extra/git 2.47.0-1 28.29 MiB extra/python-numpy 2.1.3-1 47.58 MiB extra/ruby-bundler 2.5.16-1 1.59 MiB extra/ruby-pry 0.14.2-4 1.10 MiB extra/ruby-pry-byebug 3.10.1-4 0.09 MiB extra/ruby-rake 13.1.0-1 0.26 MiB extra/ruby-rake-compiler 1.2.7-2 0.23 MiB extra/ruby-rdoc 6.6.3.1-1 2.84 MiB extra/ruby-rspec 3.13.0-2 0.01 MiB extra/ruby-test-unit 3.6.2-3 0.48 MiB Total Download Size: 0.18 MiB Total Installed Size: 96.68 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... ruby-byebug-11.1.3-6-x86_64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing ruby-erb... installing ruby-rdoc... installing blas... installing cblas... installing lapack... installing python-numpy... Optional dependencies for python-numpy blas-openblas: faster linear algebra installing ruby-bundler... installing ruby-coderay... installing ruby-method_source... installing ruby-pry... installing ruby-irb... installing ruby-byebug... installing ruby-pry-byebug... installing ruby-rake... installing ruby-rake-compiler... installing ruby-rspec-support... installing ruby-rspec-core... installing ruby-diff-lcs... installing ruby-rspec-expectations... installing ruby-rspec-mocks... installing ruby-rspec... installing ruby-power_assert... installing ruby-test-unit... :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 972. Creating user 'git' (git daemon user) with UID 972 and GID 972. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Warn about old perl modules ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of pycall.rb git repo... Cloning into 'pycall.rb'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Starting build()... WARNING: description and summary are identical WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on rake-compiler (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on rspec (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on pry (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on pry-byebug (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on test-unit (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: make sure you specify the oldest ruby version constraint (like ">= 3.0") that you want your gem to support by setting the `required_ruby_version` gemspec attribute WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: pycall Version: 1.5.2 File: pycall-1.5.2.gem /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/.github/dependabot.yml /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/.github/workflows/ci.yml /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/.github/workflows/windows.yml /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/.gitignore /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/.rspec /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/CHANGES.md /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/Gemfile /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/LICENSE.txt /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/README.md /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/Rakefile /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/bin/console /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/bin/guard /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/bin/rspec /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/bin/runner /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/bin/setup /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ci/travis_before_script.sh /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ci/travis_install.sh /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ci/travis_retry.sh /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/config/Guardfile /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/docker/Dockerfile /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/docker/Gemfile /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/docker/README.md /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/classifier_comparison.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/datascience_rb_20170519.ipynb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/hist.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/notebooks/classifier_comparison.ipynb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/notebooks/forest_importances.ipynb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/notebooks/iruby_integration.ipynb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/notebooks/leaflet.ipynb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/notebooks/lorenz_attractor.ipynb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/notebooks/polar_axes.ipynb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/notebooks/sum_benchmarking.ipynb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/notebooks/xkcd_style.ipynb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/plot_forest_importances_faces.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/examples/sum_benchmarking.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall/extconf.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall/gc.c /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall/libpython.c /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall/pycall.c /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall/pycall.h /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall/pycall_internal.h /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall/range.c /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall/ruby_wrapper.c /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall/thread.c /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/images/pycallrb_logo.png /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/images/pycallrb_logo_200.png /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/dict.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/error.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/gc_guard.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/import.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/init.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/iruby_helper.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/iterable_wrapper.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/libpython.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/libpython/finder.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/libpython/pyobject_struct.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/libpython/pytypeobject_struct.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/list.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/pretty_print.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/pyerror.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/pymodule_wrapper.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/pyobject_wrapper.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/python/PyCall/__init__.py /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/python/PyCall/six.py /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/python/investigator.py /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/pytypeobject_wrapper.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/set.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/slice.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/version.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/lib/pycall/wrapper_object_cache.rb /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/pycall.gemspec /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/tasks/docker.rake /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/tasks/pycall.rake Building native extensions. This could take a while... current directory: /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall ["/usr/bin/ruby", "extconf.rb"] checking for RTYPEDDATA_GET_DATA()... yes creating Makefile current directory: /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall ["make", "DESTDIR=", "sitearchdir=./.gem.20241120-1170-ejyjw", "sitelibdir=./.gem.20241120-1170-ejyjw", "clean"] current directory: /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall ["make", "DESTDIR=", "sitearchdir=./.gem.20241120-1170-ejyjw", "sitelibdir=./.gem.20241120-1170-ejyjw"] compiling gc.c compiling libpython.c compiling pycall.c compiling ruby_wrapper.c compiling range.c compiling thread.c linking shared-object pycall.so current directory: /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall ["make", "DESTDIR=", "sitearchdir=./.gem.20241120-1170-ejyjw", "sitelibdir=./.gem.20241120-1170-ejyjw", "install"] /usr/bin/install -c -m 0755 pycall.so ./.gem.20241120-1170-ejyjw current directory: /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall ["make", "DESTDIR=", "sitearchdir=./.gem.20241120-1170-ejyjw", "sitelibdir=./.gem.20241120-1170-ejyjw", "clean"] current directory: /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall /usr/bin/ruby extconf.rb current directory: /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall make DESTDIR\= sitearchdir\=./.gem.20241120-1170-ejyjw sitelibdir\=./.gem.20241120-1170-ejyjw clean current directory: /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall make DESTDIR\= sitearchdir\=./.gem.20241120-1170-ejyjw sitelibdir\=./.gem.20241120-1170-ejyjw current directory: /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall make DESTDIR\= sitearchdir\=./.gem.20241120-1170-ejyjw sitelibdir\=./.gem.20241120-1170-ejyjw install current directory: /startdir/src/pycall.rb/tmp_install/usr/lib/ruby/gems/3.3.0/gems/pycall-1.5.2/ext/pycall make DESTDIR\= sitearchdir\=./.gem.20241120-1170-ejyjw sitelibdir\=./.gem.20241120-1170-ejyjw clean Successfully installed pycall-1.5.2 Parsing documentation for pycall-1.5.2 Parsing sources... 2% [ 1/35] ext/pycall/Makefile 5% [ 2/35] ext/pycall/extconf.rb 8% [ 3/35] ext/pycall/gc.c 11% [ 4/35] ext/pycall/libpython.c 14% [ 5/35] ext/pycall/pycall.c 17% [ 6/35] ext/pycall/pycall.h 20% [ 7/35] ext/pycall/pycall_internal.h 22% [ 8/35] ext/pycall/range.c 25% [ 9/35] ext/pycall/ruby_wrapper.c 28% [10/35] ext/pycall/thread.c 31% [11/35] lib/pycall.rb 34% [12/35] lib/pycall/dict.rb 37% [13/35] lib/pycall/error.rb 40% [14/35] lib/pycall/gc_guard.rb 42% [15/35] lib/pycall/import.rb 45% [16/35] lib/pycall/init.rb 48% [17/35] lib/pycall/iruby_helper.rb 51% [18/35] lib/pycall/iterable_wrapper.rb 54% [19/35] lib/pycall/libpython.rb 57% [20/35] lib/pycall/libpython/finder.rb 60% [21/35] lib/pycall/libpython/pyobject_struct.rb 62% [22/35] lib/pycall/libpython/pytypeobject_struct.rb 65% [23/35] lib/pycall/list.rb 68% [24/35] lib/pycall/pretty_print.rb 71% [25/35] lib/pycall/pyerror.rb 74% [26/35] lib/pycall/pymodule_wrapper.rb 77% [27/35] lib/pycall/pyobject_wrapper.rb 80% [28/35] lib/pycall/python/PyCall/__init__.py 82% [29/35] lib/pycall/python/PyCall/six.py 85% [30/35] lib/pycall/python/investigator.py 88% [31/35] lib/pycall/pytypeobject_wrapper.rb 91% [32/35] lib/pycall/set.rb 94% [33/35] lib/pycall/slice.rb 97% [34/35] lib/pycall/version.rb 100% [35/35] lib/pycall/wrapper_object_cache.rb Installing ri documentation for pycall-1.5.2 Done installing documentation for pycall after 0 seconds 1 gem installed ==> Starting check()... /usr/bin/ruby /startdir/src/pycall.rb/ext/pycall/extconf.rb cd /startdir/src/pycall.rb/ext/pycall checking for RTYPEDDATA_GET_DATA()... yes creating Makefile /usr/bin/ruby -I. ../../../../../ext/pycall/spec_helper/extconf.rb cd - mkdir -p tmp/x86_64-linux/pycall/spec_helper/3.3.5/pycall cd tmp/x86_64-linux/pycall/spec_helper/3.3.5 creating Makefile /usr/bin/make cd - cd tmp/x86_64-linux/pycall/spec_helper/3.3.5 compiling ../../../../../ext/pycall/spec_helper/spec_helper.c linking shared-object pycall/spec_helper.so /usr/bin/make install sitearchdir=../../../../../lib/pycall sitelibdir=../../../../../lib/pycall target_prefix= cp spec_helper.so pycall/spec_helper.so cd - mkdir -p tmp/x86_64-linux/stage/lib/pycall /usr/bin/install -c -m 0755 spec_helper.so ../../../../../lib/pycall /usr/bin/make cp tmp/x86_64-linux/pycall/spec_helper/3.3.5/pycall/spec_helper.so tmp/x86_64-linux/stage/lib/pycall/spec_helper.so cd /startdir/src/pycall.rb/ext/pycall compiling gc.c compiling libpython.c compiling pycall.c compiling range.c compiling ruby_wrapper.c compiling thread.c linking shared-object pycall.so cd - /usr/bin/ruby -I/startdir/src/pycall.rb/ext/pycall -I/usr/lib/ruby/gems/3.3.0/gems/rspec-support-3.13.1/lib:/usr/lib/ruby/gems/3.3.0/gems/rspec-core-3.13.1/lib /usr/lib/ruby/gems/3.3.0/gems/rspec-core-3.13.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb Environment variables: - ANACONDA= - LIBPYTHON= - PYENV_VERSION= - PYTHON= - PYTHON_VERSION= - PYTHONPATH= - PYCALL_DEBUG_FIND_LIBPYTHON= The following version of Python is used: 3.12.7 (main, Oct 1 2024, 11:15:50) [GCC 14.2.1 20240910] Randomized with seed 50376 is expected to eq 3 #to_ary is used for multiple assignment #to_a returns an array that contains all the items in the subject #length returns its size #inspect example at ./spec/pycall/tuple_spec.rb:34 (PENDING: Not yet implemented) PyCall::LibPython::Finder .investigate_python_config is expected to be a kind of Hash .find_python_config when the given python command is not python is expected to raise PyCall::PythonNotFound initialize with one nil is expected to eq nil initialize with one argument is expected to eq [1, 2, 3] start, stop, and step are all nil is expected to eq [1, 2, 3, 4, 5] initialize with two arguments is expected to eq [2, 3] initialize with three arguments is expected to eq [2, 4] .tuple is expected to eq (1, 2, 3) PyCall::PyError #to_s when traceback is nil does not contain traceback when traceback is null does not contain traceback #<< appends the given object #length is expected to eq 3 #each without a block returns an Enumerator with a block enumerates each item #sort does not change the list returns a new sorted PyCall::List #push appends all the given objects #sort! sorts the list in place PyCall has a version number .same? is expected to eq false PYTHON_VERSION has a Python's version number LibPython::API::None is expected to be nil is expected to be a kind of PyCall::PyPtr is expected to eq true .import_module returns a wrapper object of Python module with the specified name .init returns true if initialization was succeeded (FAILED - 1) raises PyCall::PythonNotFound error if unable to find libpython library returns false if already initialized .getattr is expected to equal # .hasattr? is expected to eq false .callable? detects whether the given object is callable .wrap_class returns the first-created wrapper class when called twice returns a new wrapper class extends the resulting wrapper class by PyTypeObjectWrapper .sys .path is expected to be a kind of .builtins is a wrapper object of Python's builtins module .wrap_module the wrapped module object can respond to read attributes returns a Module that wraps a Python object returns the first-created wrapper module when called twice the wrapped module object can respond to callable attributes as methods .dir returns a list object containing the attribute names of the given Python object PyCall::Import #pyfrom the import: argument is a String defines a methodswith the given name there is not the module with the given name raises an error the import: argument is an Array defines methods with the given names in the Array there is not the attribute specified in import: argument but there is a module with the same name and it has the attribute with the same name imports the attribute the import: argument is a Hash defines methods with the given names in the Hash values #pyimport the given module name includes "." the as: argument is given defines a method with the specified name by as: argument the as: argument is not given raises ArgumentError the given module name does not include "." the as: argument is not given defines a method with the specified module name the as: argument is given defines a method with the specified name by as: argument PyCall.with is expected to yield with args(42) in a normal case is expected to be nil in an exception occurred in Python when __exit__ returns True is expected not to be nil when __exit__ returns not True is expected not to be nil in an exception occurred in Ruby when __exit__ returns not True is expected to be all when __exit__ returns True is expected not to be nil PyCall::Conversion .unregister_python_type_mapping returns true and unregisters the type mapping for a given Python type when the 1st argument is not a PyCall::PyTypePtr raises TypeError when the type mapping for a given Python type is not registered returns false .register_python_type_mapping returns true and registers a given type mapping when the 1st argument is not a PyCall::PyTypePtr raises TypeError when no type mapping for a given Python type is registered returns false when there is a type mapping for a given Python type when a given Ruby class at the 2nd argument is not a PyCall::PyTypeObjectWrapper raises TypeError when the 2nd argument is not a Ruby class raises TypeError .from_ruby for -1.0 is expected to be a kind of # is expected to eq -1.0 for a binary string is expected to be a kind of # for :マルチバイトシンボル is expected to be a kind of # for false is expected to equal false is expected to be a kind of # for 0.0 is expected to be a kind of # is expected to eq 0.0 for a Proc object is expected to be a kind of PyCall::PyRubyPtr for :ascii_symbol is expected to be a kind of # for NaN is expected to be a kind of # is expected to be nan for true is expected to equal true is expected to be a kind of # for Infinity is expected to eq Infinity is expected to be a kind of # for 0 is expected to be a kind of # is expected to eq 0 for 1.0 is expected to eq 1.0 is expected to be a kind of # for a unicode string is expected to be a kind of # for 1 is expected to eq 1 is expected to be a kind of # for an ascii string is expected to be a kind of # for an Hash is expected to eq {"a"=>1, "b"=>2, "c"=>3} is expected to be a kind of # is expected to be a kind of for an Array is expected to be a kind of is expected to be a kind of # is expected to eq [0, 1, 2, "a", "b", "c"] for -1 is expected to be a kind of # is expected to eq -1 for -Infinity is expected to be a kind of # is expected to eq -Infinity .to_ruby for a Python module object is expected to be a kind of Module is expected to be a kind of PyCall::PyObjectWrapper inheritance support when the super class was registered to python type mapping is expected to be an instance of when the subclass was also registered to python type mapping is expected to be an instance of for a large size string is expected to eq "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" for a Python type object is expected to be a kind of Class is expected to be a kind of PyCall::PyTypeObjectWrapper for a unicode string is expected to eq "☃" PyCall::LibPython::Helpers .import_module is a wrapper method of PyImport_ImportModule (PENDING: Not yet implemented) .getattr is a wrapper method of PyObject_GetAttrString .define_wrapper_method defines a wrapper method of a instance method of a Python object (PENDING: Not yet implemented) .hasattr? is a wrapper method of PyObject_HasAttrString PyCall outside of PyCall.without_gvl PyCall does not releases GVL during Python C API invocation inside of .without_gvl PyCall releases GVL during Python C API invocation PyCall acquires GVL during calling Ruby from Python PyCall .eval without globals with locals of a Hash example at ./spec/pycall/eval_spec.rb:28 (PENDING: Not yet implemented) without locals raises an exception occurred in Python side evaluates immediate values correctly .exec without globals with locals of a Hash example at ./spec/pycall/eval_spec.rb:64 (PENDING: Not yet implemented) without locals is expected to be a kind of Class raises an exception occurred in Python side PyCall::PyTypeObjectWrapper .extend_object @__pyptr__ of the extended object is a PyCall::PyTypePtr extends the given object @__pyptr__ of the extended object is a PyCall::PyPtr raises TypeError @__pyptr__ of the extended object is nil raises TypeError @__pyptr__ of the extended object is not a PyCall::PyPtr raises TypeError #< is expected to raise TypeError with "compared with non class/module" is expected to eq true is expected to eq false #=== is expected to eq true .register_python_type_mapping example at ./spec/pycall/pytypeobject_wrapper_spec.rb:89 (PENDING: Not yet implemented) .new the returned object has a Python object pointer whose type is its __pyptr__ returns an instance of the extended class object calls the corresponding Python type object with the given arguments to instantiate its Python object PyCall::PyObjectWrapper .extend_object @__pyptr__ of the extended object is nil raises TypeError @__pyptr__ of the extended object is a PyCall::PyPtr extends the given object @__pyptr__ of the extended object is not a PyCall::PyPtr raises TypeError #[]= when the given index is a Range is expected to eq [1, 100, 200, 300, 9, 10] when the given index is an Enumerable that is created by Range#step is expected to eq [1, 100, 3, 200, 5, 300, 7, 8, 9, 10] #>= example at ./spec/pycall/pyobject_wrapper_spec.rb:142 (PENDING: Not yet implemented) #dup returns a duped instance with a copy of the Python object #coerce is expected to be a kind of Object #to_i delegates to builtins.int (PENDING: Not yet implemented) #< example at ./spec/pycall/pyobject_wrapper_spec.rb:130 (PENDING: Not yet implemented) #> example at ./spec/pycall/pyobject_wrapper_spec.rb:138 (PENDING: Not yet implemented) #to_f delegates to builtins.float (PENDING: Not yet implemented) #== example at ./spec/pycall/pyobject_wrapper_spec.rb:122 (PENDING: Not yet implemented) #!= example at ./spec/pycall/pyobject_wrapper_spec.rb:126 (PENDING: Not yet implemented) #call when the receiver is not callable is expected to raise TypeError when the receiver is callable is expected not to raise Exception #[] when the given index is an Enumerable that is created by Range#step is expected to eq [9, 7, 5] when the given index is a Range is expected to eq [2, 3, 4, 5, 6, 7, 8] #<= example at ./spec/pycall/pyobject_wrapper_spec.rb:134 (PENDING: Not yet implemented) #to_s returns a string generated by global function str #method_missing when the name is :- delegates to :__sub__ (PENDING: Not yet implemented) when the name is :+ delegates to :__add__ (PENDING: Not yet implemented) the Python object does not have the attribute of the given name raises NameError when the name is :>> delegates to :__rshift__ (PENDING: Not yet implemented) when the name is :/ delegates to :__truediv__ (PENDING: Not yet implemented) when the name is :& delegates to :__and__ (PENDING: Not yet implemented) the Python object has the attribute of the given name the value of the attribute is not callable returns the Python object from the attribute the value of the attribute is callable the value of the attribute is a type object returns the Python object from the attribute the value of the attribute is not a type object returns the result of calling the Python object from the attribute initialize attribute is mapped †o __initialize__ in Ruby side when the name is :^ delegates to :__xor__ (PENDING: Not yet implemented) when the name is :| delegates to :__or__ (PENDING: Not yet implemented) when the name is :** delegates to :__pow__ (PENDING: Not yet implemented) when the name is :<< delegates to :__lshift__ (PENDING: Not yet implemented) when the name is :* delegates to :__mul__ (PENDING: Not yet implemented) when the name is :% delegates to :__mod__ (PENDING: Not yet implemented) #kind_of? is expected to be a kind of PyCall::PyModuleWrapper is expected to be a kind of PyCall::PyObjectWrapper #[] is expected to eq 42 PyCall .wrap_ruby_object guards the ruby object by GC while the wrapper python object is alive (PENDING: Temporarily skipped with xit) is expected to yield with args(42) returns a PyCall::PyRubyPtr the argument is not callable is expected to raise PyCall::PyError the argument is callable is expected to yield with args("42") PyCall::LibPython::API .builtins_module_ptr is expected to be a kind of PyCall::PyPtr returns the different instance but the same address #length is expected to eq 3 #[]= stores a given value for a given key when key is a python object stores a given value for a given key #has_key? is expected not to have key "d" when key is a python object is expected not to have key time.struct_time(tm_year=2024, tm_mon=11, tm_mday=20, tm_hour=19, tm_min=25, tm_sec=18, tm_wday=2, tm_yday=325, tm_isdst=0) #[] returns a value corresponding to a given key increments the returned python object when key is a python object returns a value corresponding to a given key #delete deletes a value for a given key when key is a python object deletes a value for a given key .new accepts python object as a key Pending: (Failures listed here are expected and do not affect your suite's status) 1) #inspect # Not yet implemented # ./spec/pycall/tuple_spec.rb:34 2) PyCall::LibPython::Helpers.import_module is a wrapper method of PyImport_ImportModule # Not yet implemented # ./spec/pycall/libpython/helpers_spec.rb:7 3) PyCall::LibPython::Helpers.define_wrapper_method defines a wrapper method of a instance method of a Python object # Not yet implemented # ./spec/pycall/libpython/helpers_spec.rb:32 4) PyCall.eval without globals with locals of a Hash # Not yet implemented # ./spec/pycall/eval_spec.rb:28 5) PyCall.exec without globals with locals of a Hash # Not yet implemented # ./spec/pycall/eval_spec.rb:64 6) PyCall::PyTypeObjectWrapper.register_python_type_mapping # Not yet implemented # ./spec/pycall/pytypeobject_wrapper_spec.rb:89 7) PyCall::PyObjectWrapper#>= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:142 8) PyCall::PyObjectWrapper#to_i delegates to builtins.int # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:252 9) PyCall::PyObjectWrapper#< # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:130 10) PyCall::PyObjectWrapper#> # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:138 11) PyCall::PyObjectWrapper#to_f delegates to builtins.float # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:256 12) PyCall::PyObjectWrapper#== # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:122 13) PyCall::PyObjectWrapper#!= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:126 14) PyCall::PyObjectWrapper#<= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:134 15) PyCall::PyObjectWrapper#method_missing when the name is :- delegates to :__sub__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:81 16) PyCall::PyObjectWrapper#method_missing when the name is :+ delegates to :__add__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:77 17) PyCall::PyObjectWrapper#method_missing when the name is :>> delegates to :__rshift__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:105 18) PyCall::PyObjectWrapper#method_missing when the name is :/ delegates to :__truediv__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:89 19) PyCall::PyObjectWrapper#method_missing when the name is :& delegates to :__and__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:109 20) PyCall::PyObjectWrapper#method_missing when the name is :^ delegates to :__xor__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:113 21) PyCall::PyObjectWrapper#method_missing when the name is :| delegates to :__or__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:117 22) PyCall::PyObjectWrapper#method_missing when the name is :** delegates to :__pow__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:97 23) PyCall::PyObjectWrapper#method_missing when the name is :<< delegates to :__lshift__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:101 24) PyCall::PyObjectWrapper#method_missing when the name is :* delegates to :__mul__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:85 25) PyCall::PyObjectWrapper#method_missing when the name is :% delegates to :__mod__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:93 26) PyCall.wrap_ruby_object guards the ruby object by GC while the wrapper python object is alive # Temporarily skipped with xit # ./spec/pycall/ruby_object_spec.rb:27 Failures: 1) PyCall.init returns true if initialization was succeeded Failure/Error: expect(out.chomp).to eq('true') expected: "true" got: "Resolving dependencies...\ntrue" (compared using ==) Diff: @@ -1 +1,2 @@ +Resolving dependencies... true # ./spec/pycall_spec.rb:155:in `block (3 levels) in ' Finished in 2.47 seconds (files took 0.10711 seconds to load) 193 examples, 1 failure, 26 pending Failed examples: rspec ./spec/pycall_spec.rb:149 # PyCall.init returns true if initialization was succeeded Randomized with seed 50376 /usr/bin/ruby -I/startdir/src/pycall.rb/ext/pycall -I/usr/lib/ruby/gems/3.3.0/gems/rspec-support-3.13.1/lib:/usr/lib/ruby/gems/3.3.0/gems/rspec-core-3.13.1/lib /usr/lib/ruby/gems/3.3.0/gems/rspec-core-3.13.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_8dbcc862-3a3f-44e5-b4e8-6577c2fd611c/build