Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677878 - install failure "files are outside of the prefix" dev-lang/ruby-2.6
Summary: install failure "files are outside of the prefix" dev-lang/ruby-2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-13 16:26 UTC by Madhu
Modified: 2019-02-19 14:53 UTC (History)
0 users

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


Attachments
suggested fix (file_677878.txt,560 bytes, patch)
2019-02-13 16:26 UTC, Madhu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Madhu 2019-02-13 16:26:39 UTC
Created attachment 565050 [details, diff]
suggested fix

emerge aborts with a message like:
* QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/lib64
 * /usr/lib64/ruby
 * /usr/lib64/ruby/gems
 * /usr/lib64/ruby/gems/2.6.0
 * /usr/lib64/ruby/gems/2.6.0/build_info
 * /usr/lib64/ruby/gems/2.6.0/cache
 * /usr/lib64/ruby/gems/2.6.0/doc
 * /usr/lib64/ruby/gems/2.6.0/specifications
 * /usr/lib64/ruby/gems/2.6.0/extensions
 * /usr/lib64/ruby/gems/2.6.0/gems
 Aborting due to QA concerns: there are files installed outside the prefix


This problem appears to come from the src_install which "unbundles" gems.
Comment 1 Larry the Git Cow gentoo-dev 2019-02-19 14:53:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b9a96cba6cc3db2d4629d907f729e7a08666eb

commit 71b9a96cba6cc3db2d4629d907f729e7a08666eb
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2019-02-19 14:52:35 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2019-02-19 14:52:35 +0000

    dev-lang/ruby: fix for Prefix by Madhu, bug #677878
    
    Closes: https://bugs.gentoo.org/677878
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-lang/ruby/ruby-2.6.0-r1.ebuild | 2 +-
 dev-lang/ruby/ruby-2.6.1.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)