Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908607 - dev-ruby/racc-1.6.2 fails prepare phase (ruby30: no Ruby script found in input (LoadError))
Summary: dev-ruby/racc-1.6.2 fails prepare phase (ruby30: no Ruby script found in inpu...
Status: RESOLVED DUPLICATE of bug 908598
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-16 18:29 UTC by Steven Trogdon
Modified: 2023-06-16 18:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Trogdon 2023-06-16 18:29:26 UTC
The failure:

# ebuild racc-1.6.2.ebuild clean prepare
 * racc-1.6.2.tar.gz BLAKE2B SHA512 size ;-) ...                                                  [ ok ]
 * checking ebuild checksums ;-) ...                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                            [ ok ]
>>> Unpacking source...
 * Running unpack phase for all
>>> Unpacking racc-1.6.2.tar.gz to /var/tmp/portage/dev-ruby/racc-1.6.2/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/racc-1.6.2/work
>>> Preparing source in /var/tmp/portage/dev-ruby/racc-1.6.2/work ...
 * Running prepare phase for all
 * Running prepare phase for all
ruby30: no Ruby script found in input (LoadError)
 * ERROR: dev-ruby/racc-1.6.2::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_prepare
 *   environment, line 2108:  Called ruby-ng_src_prepare
 *   environment, line 1712:  Called _ruby_invoke_environment 'all' '_ruby_apply_patches'
 *   environment, line  598:  Called _ruby_apply_patches
 *   environment, line  396:  Called all_ruby_prepare
 *   environment, line  738:  Called die
 * The specific snippet of code:
 *               ${ruby} -S rake lib/racc/parser-text.rb || die;

My ruby:

# eselect ruby list
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
  [2]   ruby31 (with Rubygems)

Now racc is presently installed:

 # eix -I racc
[I] dev-ruby/racc
     Available versions:  1.6.2^t ~1.7.0^t {doc test RUBY_TARGETS="ruby30 ruby31 ruby32"}
     Installed versions:  1.6.2^t(09:56:58 PM 04/07/2023)(-doc -test RUBY_TARGETS="ruby30 -ruby27 -ruby31 -ruby32")
     Homepage:            https://github.com/tenderlove/racc
     Description:         A LALR(1) parser generator for Ruby

From /var/tmp/portage/dev-ruby/racc-1.6.2/work/all/racc-1.6.2:

# ruby -S rake lib/racc/parser-text.rb
ruby: no Ruby script found in input (LoadError)
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-16 18:29:53 UTC
Just fixed.

*** This bug has been marked as a duplicate of bug 908598 ***