==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_af310430-797b-494b-b0e0-145dd2242567]...done ==> Making package: ruby-pycall 1.5.2-2.1 (Mon Oct 14 19:21:23 2024) ==> Retrieving sources... -> Cloning pycall.rb git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/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 (Mon Oct 14 19:21:26 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 (26) New Version Net Change 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-4 0.73 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-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.2-1 47.56 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 Installed Size: 96.01 MiB :: Proceed with installation? [Y/n] 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-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.20241014-1223-d98849", "sitelibdir=./.gem.20241014-1223-d98849", "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.20241014-1223-d98849", "sitelibdir=./.gem.20241014-1223-d98849"] compiling libpython.c compiling gc.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.20241014-1223-d98849", "sitelibdir=./.gem.20241014-1223-d98849", "install"] /usr/bin/install -c -m 0755 pycall.so ./.gem.20241014-1223-d98849 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.20241014-1223-d98849", "sitelibdir=./.gem.20241014-1223-d98849", "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.20241014-1223-d98849 sitelibdir\=./.gem.20241014-1223-d98849 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.20241014-1223-d98849 sitelibdir\=./.gem.20241014-1223-d98849 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.20241014-1223-d98849 sitelibdir\=./.gem.20241014-1223-d98849 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.20241014-1223-d98849 sitelibdir\=./.gem.20241014-1223-d98849 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 thread.c compiling range.c compiling ruby_wrapper.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 25031 PyCall::PyTypeObjectWrapper #< is expected to eq true is expected to eq false is expected to raise TypeError with "compared with non class/module" .new returns an instance of the extended class object the returned object has a Python object pointer whose type is its __pyptr__ calls the corresponding Python type object with the given arguments to instantiate its Python object .extend_object @__pyptr__ of the extended object is a PyCall::PyPtr raises TypeError @__pyptr__ of the extended object is a PyCall::PyTypePtr extends the given object @__pyptr__ of the extended object is not a PyCall::PyPtr raises TypeError @__pyptr__ of the extended object is nil raises TypeError #=== is expected to eq true .register_python_type_mapping example at ./spec/pycall/pytypeobject_wrapper_spec.rb:89 (PENDING: Not yet implemented) PyCall::Import #pyfrom the import: argument is a Hash defines methods with the given names in the Hash values 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 an Array defines methods with the given names in the Array there is not the module with the given name raises an error the import: argument is a String defines a methodswith the given name #pyimport 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 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 PyCall .wrap_ruby_object returns a PyCall::PyRubyPtr is expected to yield with args(42) guards the ruby object by GC while the wrapper python object is alive (PENDING: Temporarily skipped with xit) the argument is callable is expected to yield with args("42") the argument is not callable is expected to raise PyCall::PyError PyCall::PyModuleWrapper is expected to be a kind of PyCall::PyObjectWrapper #[] is expected to eq 42 PyCall::LibPython::Helpers .hasattr? is a wrapper method of PyObject_HasAttrString .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) PyCall::PyError #to_s when traceback is nil does not contain traceback when traceback is null does not contain traceback 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::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 PyCall .eval without globals without locals evaluates immediate values correctly raises an exception occurred in Python side with locals of a Hash example at ./spec/pycall/eval_spec.rb:28 (PENDING: Not yet implemented) .exec without globals without locals raises an exception occurred in Python side is expected to be a kind of Class with locals of a Hash example at ./spec/pycall/eval_spec.rb:64 (PENDING: Not yet implemented) #sort does not change the list returns a new sorted PyCall::List #<< appends the given object #push appends all the given objects #each without a block returns an Enumerator with a block enumerates each item #sort! sorts the list in place #length is expected to eq 3 is expected to eq 3 #length returns its size #to_ary is used for multiple assignment #to_a returns an array that contains all the items in the subject #inspect example at ./spec/pycall/tuple_spec.rb:34 (PENDING: Not yet implemented) PyCall has a version number .dir returns a list object containing the attribute names of the given Python object PYTHON_VERSION has a Python's version number .getattr is expected to equal # .wrap_module the wrapped module object can respond to read attributes returns the first-created wrapper module when called twice returns a Module that wraps a Python object the wrapped module object can respond to callable attributes as methods .builtins is a wrapper object of Python's builtins module LibPython::API::None is expected to eq true is expected to be a kind of PyCall::PyPtr is expected to be nil .sys .path is expected to be a kind of .same? is expected to eq false .callable? detects whether the given object is callable .import_module returns a wrapper object of Python module with the specified name .hasattr? is expected to eq false .init returns true if initialization was succeeded (FAILED - 1) returns false if already initialized raises PyCall::PythonNotFound error if unable to find libpython library .wrap_class returns the first-created wrapper class when called twice returns a new wrapper class extends the resulting wrapper class by PyTypeObjectWrapper PyCall.with is expected to yield with args(42) 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 a normal case is expected to be nil in an exception occurred in Ruby when __exit__ returns True is expected not to be nil when __exit__ returns not True is expected to be all #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 #[] increments the returned python object returns a value corresponding to a given key when key is a python object returns a value corresponding to a given key #length is expected to eq 3 #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=10, tm_mday=14, tm_hour=19, tm_min=21, tm_sec=35, tm_wday=0, tm_yday=288, tm_isdst=1) #[]= stores a given value for a given key when key is a python object stores a given value for a given key PyCall::PyObjectWrapper #<= example at ./spec/pycall/pyobject_wrapper_spec.rb:134 (PENDING: Not yet implemented) #== example at ./spec/pycall/pyobject_wrapper_spec.rb:122 (PENDING: Not yet implemented) #method_missing when the name is :& delegates to :__and__ (PENDING: Not yet implemented) the Python object does not have the attribute of the given name raises NameError the Python object has the attribute of the given name 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 the value of the attribute is not callable returns the Python object from the attribute when the name is :/ delegates to :__truediv__ (PENDING: Not yet implemented) when the name is :+ delegates to :__add__ (PENDING: Not yet implemented) when the name is :* delegates to :__mul__ (PENDING: Not yet implemented) when the name is :<< delegates to :__lshift__ (PENDING: Not yet implemented) when the name is :>> delegates to :__rshift__ (PENDING: Not yet implemented) when the name is :** delegates to :__pow__ (PENDING: Not yet implemented) when the name is :% delegates to :__mod__ (PENDING: Not yet implemented) when the name is :^ delegates to :__xor__ (PENDING: Not yet implemented) when the name is :- delegates to :__sub__ (PENDING: Not yet implemented) when the name is :| delegates to :__or__ (PENDING: Not yet implemented) #call when the receiver is callable is expected not to raise Exception when the receiver is not callable is expected to raise TypeError #to_s returns a string generated by global function str #> example at ./spec/pycall/pyobject_wrapper_spec.rb:138 (PENDING: Not yet implemented) #to_i delegates to builtins.int (PENDING: Not yet implemented) #!= example at ./spec/pycall/pyobject_wrapper_spec.rb:126 (PENDING: Not yet implemented) #coerce is expected to be a kind of Object #[] 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:130 (PENDING: Not yet implemented) #[]= 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] when the given index is a Range is expected to eq [1, 100, 200, 300, 9, 10] #kind_of? is expected to be a kind of .extend_object @__pyptr__ of the extended object is not a PyCall::PyPtr raises TypeError @__pyptr__ of the extended object is nil raises TypeError @__pyptr__ of the extended object is a PyCall::PyPtr extends the given object #dup returns a duped instance with a copy of the Python object #to_f delegates to builtins.float (PENDING: Not yet implemented) #>= example at ./spec/pycall/pyobject_wrapper_spec.rb:142 (PENDING: Not yet implemented) initialize with two arguments is expected to eq [2, 3] initialize with three arguments is expected to eq [2, 4] initialize with one argument is expected to eq [1, 2, 3] initialize with one nil is expected to eq nil start, stop, and step are all nil is expected to eq [1, 2, 3, 4, 5] 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 .from_ruby for Infinity is expected to be a kind of # is expected to eq Infinity for a binary string is expected to be a kind of # for 0 is expected to be a kind of # is expected to eq 0 for -1 is expected to eq -1 is expected to be a kind of # for -1.0 is expected to be a kind of # is expected to eq -1.0 for 1 is expected to eq 1 is expected to be a kind of # for :ascii_symbol is expected to be a kind of # for 0.0 is expected to be a kind of # is expected to eq 0.0 for NaN is expected to be nan is expected to be a kind of # for an ascii string is expected to be a kind of # for an Hash is expected to be a kind of # is expected to be a kind of is expected to eq {"a"=>1, "b"=>2, "c"=>3} for false is expected to equal false is expected to be a kind of # for a Proc object is expected to be a kind of PyCall::PyRubyPtr for an Array is expected to eq [0, 1, 2, "a", "b", "c"] is expected to be a kind of # is expected to be a kind of for -Infinity is expected to eq -Infinity is expected to be a kind of # for :マルチバイトシンボル is expected to be a kind of # for a unicode string is expected to be a kind of # for 1.0 is expected to eq 1.0 is expected to be a kind of # for true is expected to be a kind of # is expected to equal true .to_ruby 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 unicode string is expected to eq "☃" for a Python module object is expected to be a kind of PyCall::PyObjectWrapper is expected to be a kind of Module for a Python type object is expected to be a kind of PyCall::PyTypeObjectWrapper is expected to be a kind of Class for a large size string is expected to eq "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" .register_python_type_mapping returns true and registers a given type mapping 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 the 2nd argument is not a Ruby class raises TypeError when a given Ruby class at the 2nd argument is not a PyCall::PyTypeObjectWrapper raises TypeError when the 1st argument is not a PyCall::PyTypePtr raises TypeError PyCall::LibPython::API .builtins_module_ptr is expected to be a kind of PyCall::PyPtr returns the different instance but the same address .tuple is expected to eq (1, 2, 3) Pending: (Failures listed here are expected and do not affect your suite's status) 1) PyCall::PyTypeObjectWrapper.register_python_type_mapping # Not yet implemented # ./spec/pycall/pytypeobject_wrapper_spec.rb:89 2) 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 3) PyCall::LibPython::Helpers.import_module is a wrapper method of PyImport_ImportModule # Not yet implemented # ./spec/pycall/libpython/helpers_spec.rb:7 4) 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 5) PyCall.eval without globals with locals of a Hash # Not yet implemented # ./spec/pycall/eval_spec.rb:28 6) PyCall.exec without globals with locals of a Hash # Not yet implemented # ./spec/pycall/eval_spec.rb:64 7) #inspect # Not yet implemented # ./spec/pycall/tuple_spec.rb:34 8) PyCall::PyObjectWrapper#<= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:134 9) PyCall::PyObjectWrapper#== # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:122 10) PyCall::PyObjectWrapper#method_missing when the name is :& delegates to :__and__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:109 11) PyCall::PyObjectWrapper#method_missing when the name is :/ delegates to :__truediv__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:89 12) PyCall::PyObjectWrapper#method_missing when the name is :+ delegates to :__add__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:77 13) PyCall::PyObjectWrapper#method_missing when the name is :* delegates to :__mul__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:85 14) PyCall::PyObjectWrapper#method_missing when the name is :<< delegates to :__lshift__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:101 15) PyCall::PyObjectWrapper#method_missing when the name is :>> delegates to :__rshift__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:105 16) PyCall::PyObjectWrapper#method_missing when the name is :** delegates to :__pow__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:97 17) PyCall::PyObjectWrapper#method_missing when the name is :% delegates to :__mod__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:93 18) PyCall::PyObjectWrapper#method_missing when the name is :^ delegates to :__xor__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:113 19) PyCall::PyObjectWrapper#method_missing when the name is :- delegates to :__sub__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:81 20) PyCall::PyObjectWrapper#method_missing when the name is :| delegates to :__or__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:117 21) PyCall::PyObjectWrapper#> # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:138 22) PyCall::PyObjectWrapper#to_i delegates to builtins.int # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:252 23) PyCall::PyObjectWrapper#!= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:126 24) PyCall::PyObjectWrapper#< # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:130 25) PyCall::PyObjectWrapper#to_f delegates to builtins.float # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:256 26) PyCall::PyObjectWrapper#>= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:142 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.43 seconds (files took 0.09927 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 25031 /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_af310430-797b-494b-b0e0-145dd2242567/build