Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200757 - www-apps/cake- ebuild has minor path typo
Summary: www-apps/cake- ebuild has minor path typo
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
: 200756 (view as bug list)
Depends on:
Reported: 2007-11-29 19:02 UTC by Paul Sumner
Modified: 2007-11-29 21:41 UTC (History)
1 user (show)

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

Cake ebuild (cake-,1.71 KB, text/plain)
2007-11-29 19:04 UTC, Paul Sumner

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Sumner 2007-11-29 19:02:43 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}
        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}
        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- failed.
 * Call stack:
 *       , line 1695:  Called dyn_install
 *       , line 1132:  Called qa_call 'src_install'
 *       , line   44:  Called src_install
 *   cake-, line   58:  Called webapp_configfile '/usr/share/webapps/cake/'
 *             webapp.eclass, line  131:  Called webapp_checkfileexists '/usr/share/webapps/cake/' '/var/tmp/portage/www-apps/cake-'
 *             webapp.eclass, line   82:  Called die
 * The specific snippet of code:
 *              die "$msg"
 *  The die message:
 *   ebuild fault: file '/usr/share/webapps/cake/' not found

Note: the app/config/app/config.

Attaching ebuild with correction.
Comment 1 Paul Sumner 2007-11-29 19:04:10 UTC
Created attachment 137333 [details]
Cake ebuild

Ebuild with 1 line correction.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-29 21:07:50 UTC
*** Bug 200756 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-29 21:30:23 UTC
No such ebuild anywhere in official tree.
Comment 4 Paul Sumner 2007-11-29 21:33:10 UTC
Sorry. What is the most appropriate way to submit changes to an overlay ebuild? I also have a 1.2 (beta) that I would like to submit.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-11-29 21:41:58 UTC
Just note whatever issues on the original bug, thanks.