Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340683 - dev-libs/liblist-2.3.1-r1[doc] breaks on gentoo-prefix
Summary: dev-libs/liblist-2.3.1-r1[doc] breaks on gentoo-prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 13:03 UTC by Nathan Phillip Brink (binki) (RETIRED)
Modified: 2010-10-20 13:56 UTC (History)
2 users (show)

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


Attachments
adds missing ${EPREFIX} (liblist-2.3.1-r1-EPREFIX.patch,411 bytes, patch)
2010-10-12 13:04 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details | Diff
liblist-2.3.1-r1-EPREFIX-PF.patch (liblist-2.3.1-r1-EPREFIX-PF.patch,750 bytes, text/plain)
2010-10-12 13:39 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-10-12 13:03:39 UTC
The current ebuild errors out in this fashion:
 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/share
 * /usr/share/doc
 * /usr/share/doc/liblist-2.3.1
 * ERROR: dev-libs/liblist-2.3.1-r1 failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix


This is caused by the change below:

--- liblist-2.3.1-r1.ebuild     13 Aug 2010 03:06:15 -0000      1.1
+++ liblist-2.3.1-r1.ebuild     29 Sep 2010 02:21:45 -0000      1.2
@@ -17,4 +17,9 @@
 
+DEPEND="doc? ( media-gfx/transfig
+       dev-texlive/texlive-metapost
+       virtual/latex-base )"
+
 src_configure() {
-       econf $(use_enable doc docs) \
+       econf --docdir=/usr/share/doc/${P} \
+               $(use_enable doc docs) \
                $(use_enable examples) \

The problem is a simple missing ${EPREFIX}, patch to be attached.
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-10-12 13:04:53 UTC
Created attachment 250359 [details, diff]
adds missing ${EPREFIX}
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-10-12 13:39:39 UTC
Created attachment 250361 [details]
liblist-2.3.1-r1-EPREFIX-PF.patch

I also noticed that docs are installed into /usr/share/doc/${P} instead of /usr/share/doc/${PF}, this patch fixes both problems.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-10-20 13:56:59 UTC
+  20 Oct 2010; Jeremy Olexa <darkside@gentoo.org> liblist-2.3.1-r1.ebuild:
+  Fix doc location for Gentoo Prefix, bug 340683 by Nathan Phillip Brink

Thank you!