==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_8b1f90b2-9115-494e-a5b1-43d27b130bf1]...done ==> Making package: ruby-pycall 1.5.2-3.1 (Mon Dec 23 16:01:15 2024) ==> Retrieving sources... -> Cloning pycall.rb git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v2/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 (Mon Dec 23 15:01: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.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 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.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 0.40 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 Download Size: 0.40 MiB Total Installed Size: 96.64 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... ruby-bundler-2.6.0-1-any 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.20241223-1177-5extbr", "sitelibdir=./.gem.20241223-1177-5extbr", "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.20241223-1177-5extbr", "sitelibdir=./.gem.20241223-1177-5extbr"] 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.20241223-1177-5extbr", "sitelibdir=./.gem.20241223-1177-5extbr", "install"] /usr/bin/install -c -m 0755 pycall.so ./.gem.20241223-1177-5extbr 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.20241223-1177-5extbr", "sitelibdir=./.gem.20241223-1177-5extbr", "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.20241223-1177-5extbr sitelibdir\=./.gem.20241223-1177-5extbr 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.20241223-1177-5extbr sitelibdir\=./.gem.20241223-1177-5extbr 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.20241223-1177-5extbr sitelibdir\=./.gem.20241223-1177-5extbr 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.20241223-1177-5extbr sitelibdir\=./.gem.20241223-1177-5extbr 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 43297 PyCall::LibPython::Helpers .getattr is a wrapper method of PyObject_GetAttrString .import_module is a wrapper method of PyImport_ImportModule (PENDING: Not yet implemented) .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 .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 PyCall.with is expected to yield with args(42) 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 in a normal case is expected to be nil in an exception occurred in Python when __exit__ returns not True is expected not to be nil when __exit__ returns True is expected not to be nil PyCall::PyTypeObjectWrapper #< is expected to eq false is expected to raise TypeError with "compared with non class/module" is expected to eq true .extend_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 a PyCall::PyTypePtr extends the given object @__pyptr__ of the extended object is not a PyCall::PyPtr raises TypeError .new returns an instance of the extended class object calls the corresponding Python type object with the given arguments to instantiate its Python object the returned object has a Python object pointer whose type is its __pyptr__ #=== is expected to eq true .register_python_type_mapping example at ./spec/pycall/pytypeobject_wrapper_spec.rb:89 (PENDING: Not yet implemented) PyCall::Import #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 #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 the import: argument is a String defines a methodswith the given name there is not the module with the given name raises an error PyCall .wrap_ruby_object returns a PyCall::PyRubyPtr 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) 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 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 is expected to eq 3 #inspect example at ./spec/pycall/tuple_spec.rb:34 (PENDING: Not yet implemented) #to_ary is used for multiple assignment #to_a returns an array that contains all the items in the subject #length returns its size PyCall::Conversion .from_ruby for :ascii_symbol is expected to be a kind of # for -Infinity is expected to eq -Infinity is expected to be a kind of # for true is expected to be a kind of # is expected to equal true for 0 is expected to eq 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 1.0 is expected to eq 1.0 is expected to be a kind of # for Infinity is expected to be a kind of # is expected to eq Infinity for 1 is expected to eq 1 is expected to be a kind of # for a Proc object is expected to be a kind of PyCall::PyRubyPtr for NaN is expected to be nan is expected to be a kind of # for false is expected to equal false is expected to be a kind of # for :マルチバイトシンボル 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 binary string is expected to be a kind of # for an ascii string is expected to be a kind of # for an Array is expected to be a kind of is expected to eq [0, 1, 2, "a", "b", "c"] is expected to be a kind of # for a unicode string is expected to be a kind of # for -1 is expected to be a kind of # is expected to eq -1 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 .unregister_python_type_mapping returns true and unregisters the type mapping for a given Python type when the type mapping for a given Python type is not registered returns false when the 1st argument is not a PyCall::PyTypePtr raises TypeError .to_ruby 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 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 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 .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 PyCall .exec without globals with locals of a Hash example at ./spec/pycall/eval_spec.rb:64 (PENDING: Not yet implemented) without locals raises an exception occurred in Python side is expected to be a kind of Class .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) #length is expected to eq 3 #<< appends the given object #sort! sorts the list in place #sort returns a new sorted PyCall::List does not change the list #each without a block returns an Enumerator with a block enumerates each item #push appends all the given objects PyCall::LibPython::Finder .find_python_config when the given python command is not python is expected to raise PyCall::PythonNotFound .investigate_python_config is expected to be a kind of Hash PyCall has a version number .builtins is a wrapper object of Python's builtins module .callable? detects whether the given object is callable .import_module returns a wrapper object of Python module with the specified name LibPython::API::None is expected to eq true is expected to be nil is expected to be a kind of PyCall::PyPtr .getattr is expected to equal # .sys .path is expected to be a kind of .same? is expected to eq false .wrap_class returns the first-created wrapper class when called twice extends the resulting wrapper class by PyTypeObjectWrapper returns a new wrapper class PYTHON_VERSION has a Python's version number .hasattr? is expected to eq false .dir returns a list object containing the attribute names of the given Python object .init returns true if initialization was succeeded (FAILED - 1) raises PyCall::PythonNotFound error if unable to find libpython library returns false if already initialized .wrap_module returns the first-created wrapper module when called twice the wrapped module object can respond to read attributes returns a Module that wraps a Python object the wrapped module object can respond to callable attributes as methods start, stop, and step are all nil is expected to eq [1, 2, 3, 4, 5] initialize with one nil is expected to eq nil initialize with two arguments is expected to eq [2, 3] initialize with one argument is expected to eq [1, 2, 3] initialize with three arguments is expected to eq [2, 4] PyCall::PyObjectWrapper #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) #call when the receiver is not callable is expected to raise TypeError when the receiver is callable is expected not to raise Exception #dup returns a duped instance with a copy of the Python object #[]= 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] #== example at ./spec/pycall/pyobject_wrapper_spec.rb:122 (PENDING: Not yet implemented) .extend_object @__pyptr__ of the extended object is not a PyCall::PyPtr raises TypeError @__pyptr__ of the extended object is a PyCall::PyPtr extends the given object @__pyptr__ of the extended object is nil raises TypeError #<= example at ./spec/pycall/pyobject_wrapper_spec.rb:134 (PENDING: Not yet implemented) #to_s returns a string generated by global function str #!= example at ./spec/pycall/pyobject_wrapper_spec.rb:126 (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:142 (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) #kind_of? is expected to be a kind of #method_missing 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 :__mod__ (PENDING: Not yet implemented) when the name is :/ delegates to :__truediv__ (PENDING: Not yet implemented) when the name is :>> delegates to :__rshift__ (PENDING: Not yet implemented) when the name is :& delegates to :__and__ (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 :__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) 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 PyCall::LibPython::API .builtins_module_ptr returns the different instance but the same address is expected to be a kind of PyCall::PyPtr #delete deletes a value for a given key when key is a python object deletes a value for a given key #[] 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 .new accepts python object as a 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=12, tm_mday=23, tm_hour=15, tm_min=1, tm_sec=49, tm_wday=0, tm_yday=358, tm_isdst=0) #[]= stores a given value for a given key when key is a python object stores a given value for a given key Pending: (Failures listed here are expected and do not affect your suite's status) 1) PyCall::LibPython::Helpers.import_module is a wrapper method of PyImport_ImportModule # Not yet implemented # ./spec/pycall/libpython/helpers_spec.rb:7 2) 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 3) PyCall::PyTypeObjectWrapper.register_python_type_mapping # Not yet implemented # ./spec/pycall/pytypeobject_wrapper_spec.rb:89 4) 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 5) #inspect # Not yet implemented # ./spec/pycall/tuple_spec.rb:34 6) PyCall.exec without globals with locals of a Hash # Not yet implemented # ./spec/pycall/eval_spec.rb:64 7) PyCall.eval without globals with locals of a Hash # Not yet implemented # ./spec/pycall/eval_spec.rb:28 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:122 11) PyCall::PyObjectWrapper#<= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:134 12) PyCall::PyObjectWrapper#!= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:126 13) PyCall::PyObjectWrapper#>= # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:142 14) PyCall::PyObjectWrapper#> # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:138 15) PyCall::PyObjectWrapper#to_f delegates to builtins.float # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:256 16) PyCall::PyObjectWrapper#method_missing when the name is :| delegates to :__or__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:117 17) PyCall::PyObjectWrapper#method_missing when the name is :** delegates to :__pow__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:97 18) PyCall::PyObjectWrapper#method_missing when the name is :% delegates to :__mod__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:93 19) PyCall::PyObjectWrapper#method_missing when the name is :/ delegates to :__truediv__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:89 20) PyCall::PyObjectWrapper#method_missing when the name is :>> delegates to :__rshift__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:105 21) PyCall::PyObjectWrapper#method_missing when the name is :& delegates to :__and__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:109 22) PyCall::PyObjectWrapper#method_missing when the name is :^ delegates to :__xor__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:113 23) PyCall::PyObjectWrapper#method_missing when the name is :- delegates to :__sub__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:81 24) PyCall::PyObjectWrapper#method_missing when the name is :+ delegates to :__add__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:77 25) PyCall::PyObjectWrapper#method_missing when the name is :* delegates to :__mul__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:85 26) PyCall::PyObjectWrapper#method_missing when the name is :<< delegates to :__lshift__ # Not yet implemented # ./spec/pycall/pyobject_wrapper_spec.rb:101 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 3.63 seconds (files took 0.31124 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 43297 /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_8b1f90b2-9115-494e-a5b1-43d27b130bf1/build