Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110398 - Ebuild config loop asking for drupal directory saying any directory does not exist
Summary: Ebuild config loop asking for drupal directory saying any directory does not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-24 18:35 UTC by grdscarabe
Modified: 2007-01-03 23:47 UTC (History)
1 user (show)

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


Attachments
Patch that resolve the problem changing the error message and not testing the presence of the language directory (drupal-4.6.3.ebuild.patch,291 bytes, patch)
2005-10-24 18:37 UTC, grdscarabe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description grdscarabe 2005-10-24 18:35:21 UTC
When configuring drupal with :
ebuild /var/db/pkg/www-apps/drupal-4.6.3/drupal-4.6.3.ebuild config
the script ask for the druspal installation directory indefinitely telling that
the directories entered do not exist.

Reproducible: Always
Steps to Reproduce:
1.emerge www-apps/drupal
2.ebuild /var/db/pkg/www-apps/drupal-4.6.3/drupal-4.6.3.ebuild config
3.enter the directory : /usr/share/webapps/drupal/4.6.3/htdocs-secure/ which is
the one by default

Actual Results:  
The script loop indefinitely telling the directory doesn't exist even if it exists

Expected Results:  
proceed to the configuration

The bug come from the fact that the script expect a language directory in the
drupal installation directory ... and this one doesn't exist !
There is a patch that may resolve the problem ... but perhaps the language
directory should really exist !!

93c93
<                               [ -d ${MY_HTDOCSDIR}/language ] && \
---
>                               #[ -d ${MY_HTDOCSDIR}/language ] && \
95c95,96
<                               ewarn "The directory ${MY_HTDOCSDIR} does not exist"
---
>                               #ewarn "The directory ${MY_HTDOCSDIR} does not
exist"
>                               ewarn "The directory ${MY_HTDOCSDIR} do not
correspond"
Comment 1 grdscarabe 2005-10-24 18:37:02 UTC
Created attachment 71371 [details, diff]
Patch that resolve the problem changing the error message and not testing the presence of the language directory

Not sure the patch resolve the good bug ... perhaps the installation should
copy a language directory !
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-01-03 23:47:14 UTC
This bug is fixed in the drupal-4.7.4 ebuild