Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495262 - libatomic_ops-7.4.0.ebuild installs "doc" files outside prefix
Summary: libatomic_ops-7.4.0.ebuild installs "doc" files outside prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-24 18:54 UTC by Steven Trogdon
Modified: 2013-12-25 05:42 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 Steven Trogdon 2013-12-24 18:54:30 UTC
The subject ebuild returns the following in prefix:

>>> Completed installing libatomic_ops-7.4.0 into /storage/strogdon/gentoo-redlizard/var/tmp/portage/dev-libs/libatomic_ops-7.4.0/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   usr/lib/libatomic_ops.a
   usr/lib/libatomic_ops_gpl.a
ecompressdir: bzip2 -9 /usr/share/doc
 [33;01m*[0m QA Notice: the following files are outside of the prefix:
 [33;01m*[0m /usr
 [33;01m*[0m /usr/share
 [33;01m*[0m /usr/share/doc
 [33;01m*[0m /usr/share/doc/libatomic_ops-7.4.0
 [33;01m*[0m /usr/share/doc/libatomic_ops-7.4.0/README.txt
 [33;01m*[0m /usr/share/doc/libatomic_ops-7.4.0/README_stack.txt
 [33;01m*[0m /usr/share/doc/libatomic_ops-7.4.0/README_win32.txt
 [33;01m*[0m /usr/share/doc/libatomic_ops-7.4.0/README_malloc.txt
 [31;01m*[0m ERROR: dev-libs/libatomic_ops-7.4.0::gentoo_prefix failed:
 [31;01m*[0m   Aborting due to QA concerns: there are files installed outside the prefix

The ebuild has

src_configure() {
        econf --docdir=/usr/share/doc/${PF}
}

and making the change

        econf --docdir=${EPREFIX}/usr/share/doc/${PF}

or something similar seems to fix things.
Comment 1 Tim Harder gentoo-dev 2013-12-25 05:42:48 UTC
Fixed in the tree.