Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659910 - dev-ruby/pdf-reader:2 invalid gemspec file
Summary: dev-ruby/pdf-reader:2 invalid gemspec file
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: 2018-07-03 04:53 UTC by Anton Bolshakov
Modified: 2018-07-03 05:15 UTC (History)
0 users

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 Anton Bolshakov 2018-07-03 04:53:08 UTC
I'm debugging a metasploit ebuild (in Pentoo) and found that one of the following plugin does not load:
/usr/lib64/metasploit4.16/modules/auxiliary/gather/http_pdf_authors.rb: LoadError cannot load such file -- ascii85

(invalid bug report is here: https://github.com/rapid7/metasploit-framework/issues/10235)

I found that the current pdf-reader ebuild does not set RUBY_FAKEGEM_GEMSPEC="pdf-reader.gemspec" and it generages an invalid gemspec file by default which cases this issue.

I have not tested slot 0. Please test and fix both.

Thank you.
Comment 2 Larry the Git Cow gentoo-dev 2018-07-03 05:15:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b24e96b19e13de3d7281eec325bfd1cb1a88212

commit 7b24e96b19e13de3d7281eec325bfd1cb1a88212
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2018-07-03 05:14:32 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2018-07-03 05:14:32 +0000

    dev-ruby/pdf-reader: fix gemspec and parallel slot install
    
    Closes: https://bugs.gentoo.org/659910
    Closes: https://bugs.gentoo.org/610922
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/pdf-reader/pdf-reader-1.4.1-r2.ebuild | 49 ++++++++++++++++++++++++++
 dev-ruby/pdf-reader/pdf-reader-2.1.0-r1.ebuild | 49 ++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)