Skip to content

Instantly share code, notes, and snippets.

@bazzaar
Last active December 7, 2019 19:22
Show Gist options
  • Save bazzaar/4dda03bb5dab303b9cc6b43398478b04 to your computer and use it in GitHub Desktop.
Save bazzaar/4dda03bb5dab303b9cc6b43398478b04 to your computer and use it in GitHub Desktop.
raku 2019.11 Inline::Python module zef install 'build failure'
bazzaar@linux:~> perl6 -v
This is Rakudo version 2019.11 built on MoarVM version 2019.11
implementing Perl 6.d.
(Opensuse Leap15.1 packaged install : Rakudo compiler only)
# --
excerpt from perl6 -V
----------------------
moar::ldflags= -O3 -DNDEBUG -Wl,-rpath,"//opt/rakudo-pkg/lib" # <----- why double slash at start of path?
moar::ldrpath=-Wl,-rpath,"//opt/rakudo-pkg/lib"
# --
zef loading modules (as ordinary user) to ~/.perl6 local dir
(all modules used by Rakudo * have successfully loaded)
# --
bazzaar@linux:~> which python
/usr/bin/python
bazzaar@linux:~> ls -ls /usr/bin/python
4 lrwxrwxrwx 1 root root 9 Oct 22 16:44 /usr/bin/python -> python2.7
bazzaar@linux:~> python
Python 2.7.14 (default, Oct 12 2017, 15:50:02) [GCC] on linux2
bazzaar@linux:~> which python2-config
/usr/bin/python2-config
bazzaar@linux:~> /usr/bin/python2-config
Usage: /usr/bin/python2-config [--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--help]
# --
bazzaar@linux:~> zef install Inline::Python
===> Searching for: Inline::Python
===> Building: Inline::Python:ver<0.3>:auth<cpan:NINE>
[Inline::Python] elems requires a concrete object (got a VMNull type object instead)
[Inline::Python] in method build at /home/bazzaar/.perl6/precomp/902863C6FF81B0B9901E5C42393B9B7181A4AE04/84/84F6485675793C57C38A5D580CA9D36E01F755B9 line 35
[Inline::Python] in block <unit> at -e line 1
===> Building [FAIL]: Inline::Python:ver<0.3>:auth<cpan:NINE>
Aborting due to build failure: Inline::Python:ver<0.3>:auth<cpan:NINE> (use --force-build to override)
# --
Previously was able to install Inline::Python on Rakudo Star 2019.03 (though that was on OS version Leap15.0 too)
# --
Existing Github tickets/references :
https://github.com/niner/Inline-Python/issues/36 # ([ufobat 2019-04-26] (Null) does not support elems (for type VMNull))
https://github.com/niner/Inline-Python/issues/33#issuecomment-479676975 # ([Xliff 2019-04-03] Module not currently installable ...)
https://travis-ci.org/niner/Inline-Python # (No such method 'payload' for invocant of type 'X::Parameter::InvalidConcreteness')
# --
Other dependencies installed :
bazzaar@linux:~> zef locate Distribution::Builder::MakeFromJSON
===> From Distribution: Distribution::Builder::MakeFromJSON:ver<0.4>:auth<>:api<>
Distribution::Builder::MakeFromJSON => /home/bazzaar/.perl6/sources/84F6485675793C57C38A5D580CA9D36E01F755B9
bazzaar@linux:~> zef locate System::Query
===> From Distribution: System::Query:ver<0.1.4>:auth<github:tony-o>:api<>
System::Query => /home/bazzaar/.perl6/sources/0972158012B755D59BDD5150E12868776E99AF72
bazzaar@linux:~> zef locate Inline::Python
!!!> Nothing located
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment