Bug #4161

Installing the gem from master generates error on fedora 12

Added by Bryan Kearney almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:07/07/2010
Priority:Normal Due date:
Assignee:Jesse Wolfe % Done:

0%

Category:-
Target version:2.6.0
Affected Puppet version:2.6alpha1 Branch:http://github.com/jes5199/puppet/tree/bug/master/4161
Keywords:
Votes: 0

Description

From git master (5f8a2424bcd4f78e71963060b375e12167c7bbef), execute

rake create_gem
sudo gem install pkg/puppet-2.6.0.gem

Get the following output:

[bkearney@localhost puppet]$ sudo gem install pkg/puppet-2.6.0.gem 
Successfully installed puppet-2.6.0
1 gem installed
Installing ri documentation for puppet-2.6.0...
RDoc failure in lib/puppet/application

Some info:

[bkearney@localhost puppet]$ uname -a
Linux localhost.localdomain 2.6.32.14-127.fc12.i686 #1 SMP Fri May 28 05:04:10 UTC 2010 i686 i686 i386 GNU/Linux
[bkearney@localhost puppet]$ cat /etc/fe
fedora-release  festival/       
[bkearney@localhost puppet]$ cat /etc/fedora-release 
Fedora release 12 (Constantine)
[bkearney@localhost puppet]$ sudo gem list
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (2.3.8, 2.3.4)
actionpack (2.3.8, 2.3.4)
activerecord (2.3.8, 2.3.4)
activeresource (2.3.8, 2.3.4)
activesupport (2.3.8, 2.3.4)
Antwrap (0.7.0)
archive-tar-minitar (0.5.2)
authlogic (2.1.5)
builder (2.1.2)
buildr (1.4.0)
bundler (0.9.26)
compass (0.10.2)
cucumber (0.7.3)
daemons (1.1.0)
deltacloud-client (0.0.4)
diff-lcs (1.1.2)
erubis (2.6.5)
eventmachine (0.12.10)
extlib (0.9.15)
facter (1.5.7)
gem2rpm (0.6.0)
gettext (2.1.0)
gettext_activerecord (2.1.0)
gettext_rails (2.1.0)
gherkin (1.0.30)
haml (3.0.13)
highline (1.5.2, 1.5.1)
hoe (2.6.1, 2.3.3)
i18n (0.4.1)
json (1.4.3)
json_pure (1.4.3, 1.4.0)
locale (2.0.5)
locale_rails (2.0.5)
mail (2.2.5)
memcache-client (1.8.3)
mime-types (1.16)
minitest (1.6.0)
mocha (0.9.8)
net-sftp (2.0.4, 2.0.2)
net-ssh (2.0.23, 2.0.15)
pg (0.9.0)
polyglot (0.3.1)
puppet (2.6.0)
rack (1.2.1, 1.0.1)
rack-mount (0.6.6)
rack-test (0.5.4)
rails (2.3.8, 2.3.4)
rake (0.8.7)
rake-compiler (0.7.0)
rerun (0.5.2)
rest-client (1.5.1)
rjb (1.2.5)
rspec (1.3.0)
rubyforge (2.0.4, 2.0.3)
rubygems-update (1.3.7)
rubyzip (0.9.4, 0.9.1)
sinatra (1.0)
sproutcore (1.0.1046)
sqlite3-ruby (1.3.0)
term-ansicolor (1.0.5)
text-format (1.0.0)
text-hyphen (1.0.0)
thin (1.2.7)
thor (0.13.6)
treetop (1.4.8)
trollop (1.16.2)
tzinfo (0.3.22)
xml-simple (1.0.12)
[bkearney@localhost puppet]$ ruby --version
ruby 1.8.6 (2010-02-05 patchlevel 399) [i386-linux]
[bkearney@localhost puppet]$ 

History

Updated by Bryan Kearney almost 2 years ago

Durn it, full error text:

RDoc failure in lib/puppet/application.rb at or around line 385 column 19

Before reporting this, could you check that the file you’re documenting compiles cleanly—RDoc is not a full Ruby parser, and gets confused easily if fed invalid programs.

The internal error was:

ERROR: While executing gem … (NoMethodError)

undefined method `name' for #<RubyToken::TkLPAREN:0xb60e2c00>

Updated by James Turnbull almost 2 years ago

  • Status changed from Unreviewed to Investigating
  • Target version set to 2.6.0

Updated by James Turnbull almost 2 years ago

  • Assignee set to Jesse Wolfe

Updated by Jesse Wolfe almost 2 years ago

  • Status changed from Investigating to In Topic Branch Pending Review
  • Branch set to http://github.com/jes5199/puppet/tree/bug/master/4161

RDoc doesn’t like some of our method definitions. This patch asks RDoc to ignore them.

Updated by Markus Roberts almost 2 years ago

  • Status changed from In Topic Branch Pending Review to Closed

In master as commit:a5fc3643105754f5b81f56a787553548537c529c

Also available in: Atom PDF