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

Bug 200756

Summary: cake-1.1.18.5850 ebuild has minor path typo
Product: Gentoo Linux Reporter: Paul Sumner <paul>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Sumner 2007-11-29 19:00:06 UTC
There is a path problem in the following snippet:

        webapp_serverowned -R "${MY_HTDOCSDIR}"/app/tmp
        for i in app/config/*.php ; do
                webapp_configfile ${MY_HTDOCSDIR}/app/config/${i}
        done
        webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt

It should probably be:

        webapp_serverowned -R "${MY_HTDOCSDIR}"/app/tmp
        for i in app/config/*.php ; do
                webapp_configfile ${MY_HTDOCSDIR}/${i}
        done
        webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt

Note: $i has app/config in it.

Reproducible: Always

Steps to Reproduce:
1. emerge the ebuild
2. ebuild bombs with error messages, e.g.:

 * ERROR: www-apps/cake-1.1.18.5850 failed.
 * Call stack:
 *                 ebuild.sh, line 1695:  Called dyn_install
 *                 ebuild.sh, line 1132:  Called qa_call 'src_install'
 *                 ebuild.sh, line   44:  Called src_install
 *   cake-1.1.18.5850.ebuild, line   58:  Called webapp_configfile '/usr/share/webapps/cake/1.1.18.5850/htdocs/app/config/app/config/acl.ini.php'
 *             webapp.eclass, line  131:  Called webapp_checkfileexists '/usr/share/webapps/cake/1.1.18.5850/htdocs/app/config/app/config/acl.ini.php' '/var/tmp/portage/www-apps/cake-1.1.18.5850/image/'
 *             webapp.eclass, line   82:  Called die
 * The specific snippet of code:
 *              die "$msg"
 *  The die message:
 *   ebuild fault: file '/usr/share/webapps/cake/1.1.18.5850/htdocs/app/config/app/config/acl.ini.php' not found

Note: the app/config/app/config.




Attaching ebuild with correction.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-29 21:07:50 UTC

*** This bug has been marked as a duplicate of bug 200757 ***