Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200756 - cake-1.1.18.5850 ebuild has minor path typo
Summary: cake-1.1.18.5850 ebuild has minor path typo
Status: VERIFIED DUPLICATE of bug 200757
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-29 19:00 UTC by Paul Sumner
Modified: 2007-11-29 21:07 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 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 ***