Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200757 - www-apps/cake-1.1.18.5850 ebuild has minor path typo
Summary: www-apps/cake-1.1.18.5850 ebuild has minor path typo
Status: VERIFIED INVALID
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:
: 200756 (view as bug list)
Depends on:
Blocks:
 
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: ---


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

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}
        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 Paul Sumner 2007-11-29 19:04:10 UTC
Created attachment 137333 [details]
Cake 1.1.18.5850-r2 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.