Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 381529

Summary: [PATCH] app-text/libwpd-0.9.3 missing ${EPREFIX} from doc install path
Product: Gentoo/Alt Reporter: Edward "Hades" <edward.hades>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: add ${EPREFIX}

Description Edward "Hades" 2011-09-02 08:58:48 UTC
The following error occurs when trying to merge app-text/libwpd-0.9.3:

 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/share
 * /usr/share/doc
 * /usr/share/doc/libwpd-0.9.3
 * ERROR: app-text/libwpd-0.9.3 failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 1718:  Called install_qa_check
 *   misc-functions.sh, line  210:  Called install_qa_check_prefix
 *   misc-functions.sh, line  796:  Called die
 * The specific snippet of code:
 *                      die "Aborting due to QA concerns: there are files installed outside the prefix"
 * 
 * If you need support, post the output of 'emerge --info =app-text/libwpd-0.9.3',
 * the complete build log and the output of 'emerge -pqv =app-text/libwpd-0.9.3'.
 * The complete build log is located at '/gentoo/var/tmp/portage/app-text/libwpd-0.9.3/temp/build.log'.
 * The ebuild environment file is located at '/gentoo/var/tmp/portage/app-text/libwpd-0.9.3/temp/environment'.
 * S: '/gentoo/var/tmp/portage/app-text/libwpd-0.9.3/work/libwpd-0.9.3'
!!! post install failed; exiting.


The reason: missing ${EPREFIX} in econf line:

libwpd-0.9.3.ebuild:33:        --docdir=/usr/share/doc/${PF} \


Patch attached.
Comment 1 Edward "Hades" 2011-09-02 08:59:47 UTC
Created attachment 285331 [details, diff]
add ${EPREFIX}
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-09-02 14:14:21 UTC
Fixed, thanks.

Remember to quote ${EPREFIX} as it could contain spaces.