Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703416 - dev-ruby/rdoc-6.2.0 : /.../kernel_require.rb:54:in require : cannot load such file -- racc/parser-text (LoadError)
Summary: dev-ruby/rdoc-6.2.0 : /.../kernel_require.rb:54:in require : cannot load such...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-20 13:43 UTC by Toralf Förster
Modified: 2019-12-22 06:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.75 KB, text/plain)
2019-12-20 13:43 UTC, Toralf Förster
Details
dev-ruby:rdoc-6.2.0:20191220-113623.log (dev-ruby:rdoc-6.2.0:20191220-113623.log,3.80 KB, text/plain)
2019-12-20 13:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,30.34 KB, text/plain)
2019-12-20 13:43 UTC, Toralf Förster
Details
environment (environment,81.55 KB, text/plain)
2019-12-20 13:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.39 KB, application/x-bzip)
2019-12-20 13:43 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-12-20 13:43:38 UTC
Generating lib/rdoc/rd/block_parser.rb...
/usr/bin/ruby24 /usr/lib64/ruby/gems/2.4.0/gems/racc-1.4.16/bin/racc -l -o lib/rdoc/rd/block_parser.rb lib/rdoc/rd/block_parser.ry
/usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- racc/parser-text (LoadError)
	from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /usr/lib64/ruby/gems/2.4.0/gems/racc-1.4.16/lib/racc/parserfilegenerator.rb:13:in `<top (required)>'
	from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl-20191219-151520

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
  [2]   ruby25 (with Rubygems)
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 20 Dec 2019 11:05:57 +0000

emerge -qpvO dev-ruby/rdoc
[ebuild  N    ] dev-ruby/rdoc-6.2.0  USE="-doc -test" RUBY_TARGETS="ruby24 ruby25 -ruby26"
Comment 1 Toralf Förster gentoo-dev 2019-12-20 13:43:40 UTC
Created attachment 600190 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-20 13:43:43 UTC
Created attachment 600192 [details]
dev-ruby:rdoc-6.2.0:20191220-113623.log
Comment 3 Toralf Förster gentoo-dev 2019-12-20 13:43:46 UTC
Created attachment 600194 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-12-20 13:43:49 UTC
Created attachment 600196 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-12-20 13:43:51 UTC
Created attachment 600198 [details]
etc.portage.tbz2
Comment 6 Pavol Cupka 2019-12-21 12:43:37 UTC
Seems to be related or caused by dev-ruby/racc-1.4.16 upgrade. Previous version of dev-ruby/racc-1.4.14 works fine for rdoc compilation.
Comment 7 Steve Arnold archtester gentoo-dev 2019-12-21 23:41:59 UTC
I can confirm the latest version is indeed missing "parser-text" which *does* exist in the previous version, except IDTR so I have no idea why it's missing or what the fix/workaround is.  I have a pretty fresh install here that just decided today that I needed ruby26 USE flags all over, and then it blows up.  A suggested workaround would be *really* nice right now...
Comment 8 Steve Arnold archtester gentoo-dev 2019-12-22 00:19:55 UTC
I wasn't sure masking would work, but masking the latest ruby slot seems to be okay for now...
Comment 9 Larry the Git Cow gentoo-dev 2019-12-22 06:18:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=175dbb8748ceb17cd517506ae7abe3e95bfb69ce

commit 175dbb8748ceb17cd517506ae7abe3e95bfb69ce
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2019-12-22 06:18:06 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2019-12-22 06:18:06 +0000

    dev-ruby/racc: fix parser-text installation
    
    We now use upstream git where this file is not pre-packaged.
    
    Closes: https://bugs.gentoo.org/703416
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/racc/{racc-1.4.16.ebuild => racc-1.4.16-r1.ebuild} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)