Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513326 - dev-ruby/mail:2.6 should install VERSION file - /usr/lib64/ruby/gems/1.9.1/gems/mail-2.6.1/lib/mail/version.rb:6:in `read': No such file or directory - /usr/lib64/ruby/gems/1.9.1/gems/mail-2.6.1/lib/mail/../../VERSION (Errno::ENOENT)
Summary: dev-ruby/mail:2.6 should install VERSION file - /usr/lib64/ruby/gems/1.9.1/ge...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-15 10:27 UTC by René 'Necoro' Neumann
Modified: 2014-06-15 17:29 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 René 'Necoro' Neumann 2014-06-15 10:27:23 UTC
In fixing the bug https://github.com/mikel/mail/issues/566, the file VERSION got moved out of lib/ into the root folder. The ebuild does not pick it up and installs it, which is a problem as it gets referenced by the code.

Therefore, any use of mail in a program results in the following error:

/usr/lib64/ruby/gems/1.9.1/gems/mail-2.6.1/lib/mail/version.rb:6:in `read': No such file or directory - /usr/lib64/ruby/gems/1.9.1/gems/mail-2.6.1/lib/mail/../../VERSION (Errno::ENOENT)
	from /usr/lib64/ruby/gems/1.9.1/gems/mail-2.6.1/lib/mail/version.rb:6:in `<module:VERSION>'
	from /usr/lib64/ruby/gems/1.9.1/gems/mail-2.6.1/lib/mail/version.rb:3:in `<module:Mail>'
	from /usr/lib64/ruby/gems/1.9.1/gems/mail-2.6.1/lib/mail/version.rb:2:in `<top (required)>'
	from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require'
	from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require'
	from /usr/lib64/ruby/gems/1.9.1/gems/mail-2.6.1/lib/mail.rb:27:in `<module:Mail>'
	from /usr/lib64/ruby/gems/1.9.1/gems/mail-2.6.1/lib/mail.rb:2:in `<top (required)>

I'm not sure, what is the best way to fix it, but please do, as in the current shape the package is not usable.
Comment 1 Hans de Graaff gentoo-dev Security 2014-06-15 17:29:24 UTC
We normally fix this by installing the VERSION file also. Now fixed in mail-2.6.1-r1.