==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_d3ad8741-44d3-4bd2-a7fb-891b6f294600]...done ==> Making package: ruby-pycall 1.5.2-3.1 (Wed Dec 25 07:03:05 2024) ==> Retrieving sources... -> Cloning pycall.rb git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/ruby-pycall-1.5.2-3/pycall.rb'... ==> Validating source files with sha512sums... pycall.rb ... Skipped ==> Making package: ruby-pycall 1.5.2-3.1 (Wed Dec 25 06:03:09 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.13.1-1 67.54 MiB extra/ruby 3.3.5-2 16.13 MiB Total Installed Size: 86.87 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 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.22-1 0.10 MiB extra/perl-timedate 2.33-7 0.08 MiB extra/ruby-byebug 11.1.3-6 0.84 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-2 0.54 MiB extra/ruby-method_source 1.0.0-4 0.04 MiB extra/ruby-power_assert 2.0.4-1 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.1-1 28.29 MiB extra/python-numpy 2.2.1-2 47.50 MiB extra/ruby-bundler 2.6.0-1 1.63 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-2 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.64 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-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.20241225-1173-72ll1e", "sitelibdir=./.gem.20241225-1173-72ll1e", "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.20241225-1173-72ll1e", "sitelibdir=./.gem.20241225-1173-72ll1e"] compiling gc.c compiling libpython.c compiling pycall.c compiling range.c compiling ruby_wrapper.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.20241225-1173-72ll1e", "sitelibdir=./.gem.20241225-1173-72ll1e", "install"] /usr/bin/install -c -m 0755 pycall.so ./.gem.20241225-1173-72ll1e 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.20241225-1173-72ll1e", "sitelibdir=./.gem.20241225-1173-72ll1e", "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.20241225-1173-72ll1e sitelibdir\=./.gem.20241225-1173-72ll1e 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.20241225-1173-72ll1e sitelibdir\=./.gem.20241225-1173-72ll1e 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.20241225-1173-72ll1e sitelibdir\=./.gem.20241225-1173-72ll1e 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.20241225-1173-72ll1e sitelibdir\=./.gem.20241225-1173-72ll1e 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.13.1 (main, Dec 4 2024, 18:05:56) [GCC 14.2.1 20240910] Randomized with seed 34838 PyCall .eval without globals without locals raises an exception occurred in Python side evaluates immediate values correctly with locals of a Hash example at ./spec/pycall/eval_spec.rb:28 (PENDING: Not yet implemented) .exec without globals without locals is expected to be a kind of Class raises an exception occurred in Python side with locals of a Hash example at ./spec/pycall/eval_spec.rb:64 (PENDING: Not yet implemented) #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=12, tm_mday=25, tm_hour=6, tm_min=3, tm_sec=15, tm_wday=2, tm_yday=360, 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 #[]= stores a given value for a given key when key is a python object stores a given value for a given key #length is expected to eq 3 PyCall has a version number 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 .import_module returns a wrapper object of Python module with the specified name .wrap_module 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 the wrapped module object can respond to read attributes .callable? detects whether the given object is callable PYTHON_VERSION has a Python's version number .wrap_class returns a new wrapper class returns the first-created wrapper class when called twice extends the resulting wrapper class by PyTypeObjectWrapper .dir returns a list object containing the attribute names of the given Python object .init returns false if already initialized (FAILED - 1) raises PyCall::PythonNotFound error if unable to find libpython library returns true if initialization was succeeded .hasattr? is expected to eq false .getattr is expected to equal # .builtins is a wrapper object of Python's builtins module PyCall::PyError #to_s when traceback is null does not contain traceback when traceback is nil does not contain traceback 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 .to_ruby for a Python type object is expected to be a kind of PyCall::PyTypeObjectWrapper is expected to be a kind of Class for a Python module object is expected to be a kind of PyCall::PyObjectWrapper is expected to be a kind of Module for a unicode string is expected to eq "☃" for a large size string is expected to eq "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 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 .from_ruby for -1.0 is expected to be a kind of # is expected to eq -1.0 for Infinity is expected to eq Infinity is expected to be a kind of # for 0.0 is expected to eq 0.0 is expected to be a kind of # for 1.0 is expected to eq 1.0 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 :マルチバイトシンボル is expected to be a kind of # for a binary string is expected to be a kind of # for a Proc object is expected to be a kind of PyCall::PyRubyPtr for -Infinity is expected to eq -Infinity is expected to be a kind of # for true is expected to equal true is expected to be a kind of # 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 NaN is expected to be a kind of # is expected to be nan for a unicode string is expected to be a kind of # 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 1 is expected to eq 1 is expected to be a kind of # for 0 is expected to be a kind of # is expected to eq 0 for false is expected to equal false is expected to be a kind of # .register_python_type_mapping returns true and registers a given type mapping 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 when no type mapping for a given Python type is registered returns false when the 1st argument is not a PyCall::PyTypePtr raises TypeError .tuple is expected to eq (1, 2, 3) #sort does not change the list returns a new sorted PyCall::List #length is expected to eq 3 #each with a block enumerates each item without a block returns an Enumerator #<< appends the given object #sort! sorts the list in place #push appends all the given objects PyCall::LibPython::API .builtins_module_ptr is expected to be a kind of PyCall::PyPtr returns the different instance but the same address PyCall.with is expected to yield with args(42) 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 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 PyCall::PyTypeObjectWrapper .register_python_type_mapping example at ./spec/pycall/pytypeobject_wrapper_spec.rb:89 (PENDING: Not yet implemented) .extend_object @__pyptr__ of the extended object is nil raises TypeError @__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 not a PyCall::PyPtr raises TypeError #=== is expected to eq true #< is expected to raise TypeError with "compared with non class/module" is expected to eq false is expected to eq true .new calls the corresponding Python type object with the given arguments to instantiate its Python object returns an instance of the extended class object the returned object has a Python object pointer whose type is its __pyptr__ is expected to eq 3 #inspect example at ./spec/pycall/tuple_spec.rb:34 (PENDING: Not yet implemented) #to_a returns an array that contains all the items in the subject #to_ary is used for multiple assignment #length returns its size initialize with one nil is expected to eq nil initialize with three arguments is expected to eq [2, 4] 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 one argument is expected to eq [1, 2, 3] 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::LibPython::Helpers .getattr is a wrapper method of PyObject_GetAttrString .hasattr? is a wrapper method of PyObject_HasAttrString .define_wrapper_method defines a wrapper method of a instance method of a Python object (PENDING: Not yet implemented) .import_module is a wrapper method of PyImport_ImportModule (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 PyCall::PyModuleWrapper is expected to be a kind of PyCall::PyObjectWrapper #[] is expected to eq 42 PyCall outside of PyCall.without_gvl PyCall does not releases GVL during Python C API invocation inside of .without_gvl PyCall acquires GVL during calling Ruby from Python PyCall releases GVL during Python C API invocation PyCall::Import #pyfrom 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 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::PyObjectWrapper #kind_of? is expected to be a kind of #method_missing when the name is :& delegates to :__and__ (PENDING: Not yet implemented) when the name is :>> delegates to :__rshift__ (PENDING: Not yet implemented) when the name is :% delegates to :__mod__ (PENDING: Not yet implemented) when the name is :/ delegates to :__truediv__ (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 the Python object does not have the attribute of the given name raises NameError when the name is :| delegates to :__or__ (PENDING: Not yet implemented) when the name is :<< delegates to :__lshift__ (PENDING: Not yet implemented) when the name is :- delegates to :__sub__ (PENDING: Not yet implemented) when the name is :+ delegates to :__add__ (PENDING: Not yet implemented) when the name is :^ delegates to :__xor__ (PENDING: Not yet implemented) when the name is :* delegates to :__mul__ (PENDING: Not yet implemented) when the name is :** delegates to :__pow__ (PENDING: Not yet implemented) .extend_object @__pyptr__ of the extended object is a PyCall::PyPtr extends the given object @__pyptr__ of the extended object is nil raises TypeError @__pyptr__ of the extended object is not a PyCall::PyPtr raises TypeError #> example at ./spec/pycall/pyobject_wrapper_spec.rb:138 (PENDING: Not yet implemented) #>= example at ./spec/pycall/pyobject_wrapper_spec.rb:142 (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 #dup returns a duped instance with a copy of the Python object #<= example at ./spec/pycall/pyobject_wrapper_spec.rb:134 (PENDING: Not yet implemented) #[] 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) #to_s returns a string generated by global function str #[]= 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] #to_i delegates to builtins.int (PENDING: Not yet implemented) #to_f delegates to builtins.float (PENDING: Not yet implemented) #coerce is expected to be a kind of Object #!= example at ./spec/pycall/pyobject_wrapper_spec.rb:126 (PENDING: Not yet implemented) #== example at ./spec/pycall/pyobject_wrapper_spec.rb:122 (PENDING: Not yet implemented) Pending: (Failures listed here are expected and do not affect your suite's status) 1) PyCall.eval without globals with locals of a Hash # Not yet implemented # ./spec/pycall/eval_spec.rb:28 2) PyCall.exec without globals with locals of a Hash # Not yet implemented # ./spec/pycall/eval_spec.rb:64 3) PyCall::PyTypeObjectWrapper.register_python_type_mapping # Not yet implemented # ./spec/pycall/pytypeobject_wrapper_spec.rb:89 4) #inspect # Not yet implemented # ./spec/pycall/tuple_spec.rb:34 5) 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 6) 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 7) PyCall::LibPython::Helpers.import_module is a wrapper method of PyImport_ImportModule # Not yet implemented # ./spec/pycall/libpython/helpers_spec.rb:7 8) PyCall::PyObjectWrapper#method_missing when the name is :& delegates to :__and__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:109 9) PyCall::PyObjectWrapper#method_missing when the name is :>> delegates to :__rshift__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:105 10) PyCall::PyObjectWrapper#method_missing when the name is :% delegates to :__mod__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:93 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 :__or__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:117 13) PyCall::PyObjectWrapper#method_missing when the name is :<< delegates to :__lshift__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:101 14) PyCall::PyObjectWrapper#method_missing when the name is :- delegates to :__sub__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:81 15) PyCall::PyObjectWrapper#method_missing when the name is :+ delegates to :__add__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:77 16) PyCall::PyObjectWrapper#method_missing when the name is :^ delegates to :__xor__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:113 17) PyCall::PyObjectWrapper#method_missing when the name is :* delegates to :__mul__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:85 18) PyCall::PyObjectWrapper#method_missing when the name is :** delegates to :__pow__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:97 19) PyCall::PyObjectWrapper#> # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:138 20) PyCall::PyObjectWrapper#>= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:142 21) PyCall::PyObjectWrapper#<= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:134 22) PyCall::PyObjectWrapper#< # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:130 23) PyCall::PyObjectWrapper#to_i delegates to builtins.int # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:252 24) PyCall::PyObjectWrapper#to_f delegates to builtins.float # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:256 25) PyCall::PyObjectWrapper#!= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:126 26) PyCall::PyObjectWrapper#== # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:122 Failures: 1) PyCall.init returns false if already initialized Failure/Error: expect(out.chomp).to eq('false') expected: "false" got: "Resolving dependencies...\nfalse" (compared using ==) Diff: @@ -1 +1,2 @@ +Resolving dependencies... false # ./spec/pycall_spec.rb:165:in `block (3 levels) in ' Finished in 2.49 seconds (files took 0.11109 seconds to load) 193 examples, 1 failure, 26 pending Failed examples: rspec ./spec/pycall_spec.rb:158 # PyCall.init returns false if already initialized Randomized with seed 34838 /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_d3ad8741-44d3-4bd2-a7fb-891b6f294600/build