Summary: | dev-ruby/pygments_rb-1.2.1 : /.../popen.rb:163:in lexers! : undefined method inject for nil:NilClass (NoMethodError) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | kingjon3377, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2020-10-09 | ||
Attachments: |
emerge-info.txt
dev-ruby:pygments_rb-1.2.1:20180208-092626.log emerge-history.txt environment etc.portage.tbz2 |
Created attachment 518602 [details]
emerge-info.txt
Created attachment 518604 [details]
dev-ruby:pygments_rb-1.2.1:20180208-092626.log
Created attachment 518606 [details]
emerge-history.txt
Created attachment 518608 [details]
environment
Created attachment 518610 [details]
etc.portage.tbz2
This may be related to different python interpreters. If your python interpreter is python3.5 and pygments or simplejson is not installed for it then this might happen. I'm seeing this when my eselected Python is 3.6, but not when I switch to 2.7 (the only version in pygments_rb PYTHON_COMPAT). Both pygments and simplejson are installed for both Python versions. Package removed. |
>>> Compiling source in /var/tmp/portage/dev-ruby/pygments_rb-1.2.1/work ... * Running compile phase for ruby22 ... /var/tmp/portage/dev-ruby/pygments_rb-1.2.1/work/ruby22/pygments.rb-1.2.1/lib/pygments/popen.rb:163:in `lexers!': undefined method `inject' for nil:NilClass (NoMethodError) from /usr/lib64/ruby/2.2.0/forwardable.rb:204:in `lexers!' from cache-lexers.rb:4:in `<main>' * ERROR: dev-ruby/pygments_rb-1.2.1::gentoo failed (compile phase): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib_20180202-195308 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] pypy (fallback) [4] jython2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv dev-ruby/pygments_rb [ebuild N ] dev-ruby/pygments_rb-1.1.2 USE="{-test}" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby22 ruby23 -ruby24"