Summary: | webapp-config fails to install folders with whitespace in their name | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gunnar Wrobel (RETIRED) <wrobel> |
Component: | New packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | major | CC: | smulloni |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild that causes webapp-config to be unhappy
output from webapp-config webapp-config.patch |
Description
Gunnar Wrobel (RETIRED)
2004-06-07 06:24:48 UTC
Hi, Could you attach your ebuild for sitebar to this bug please? That'll make it a lot easier for me to fix this bug for you. Many thanks, Stu I'm having the same problem with an ebuild I'm trying to write (for phpPgAds). A directory called "backwards compatibility" in its htdocs is getting installed as "backwards", which then causes a nasty failure, leaving an incomplete (and unrecorded) installation. Shortly I will attach the ebuild and the output resulting from it. Created attachment 32884 [details]
ebuild that causes webapp-config to be unhappy
BTW, I am using webapp-config 1.9-r2.
Created attachment 32885 [details]
output from webapp-config
Thank you. Give me a day to two to post a fix. Best regards, Stu Hi, I've just added webapp-config v1.10 to Portage. I tested v1.10 against your phppgads ebuild, and it appeared to cope with spaces in filenames now. Please test, and let me know how you get on. Best regards, Stu I'm not able to install this ebuild; the sources don't seem to be available: smulloni@bracknell webapp-config $ sudo emerge -f webapp-config-1.10.ebuild Calculating dependencies ...done! >>> emerge (1 of 1) net-www/webapp-config-1.10 to / >>> Downloading http://gentoo.oregonstate.edu/distfiles/webapp-config-1.10.tar.bz2 --14:38:43-- http://gentoo.oregonstate.edu/distfiles/webapp-config-1.10.tar.bz2 => `/usr/portage/distfiles/webapp-config-1.10.tar.bz2' Resolving gentoo.oregonstate.edu... 128.193.0.3 Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected. HTTP request sent, awaiting response... 404 Not Found 14:38:43 ERROR 404: Not Found. >>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/webapp-config-1.10.tar.bz2 --14:38:43-- http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/webapp-config-1.10.tar.bz2 => `/usr/portage/distfiles/webapp-config-1.10.tar.bz2' Resolving distro.ibiblio.org... 152.2.210.109 Connecting to distro.ibiblio.org[152.2.210.109]:80... connected. HTTP request sent, awaiting response... 404 Not Found 14:38:44 ERROR 404: Not Found etc. Is there some trick to getting them, or were they just never released? Hi, Hopefully that's fixed now, and it's on the mirrors. Best regards, Stu The installation succeeded, but I think there is still a slight problem. After seeing some errors flash by, I cleaned and reinstalled this way: webapp-config -I -d banners -h localhost phpPgAds 2.0 2> webapp.err > webapp.out And webapp.err looks like this: bracknell phpPgAds # cat webapp.err date: /var/www/localhost/htdocs/banners/misc/backwards: No such file or directory date: /var/www/localhost/htdocs/banners/misc/backwards: No such file or directory date: /var/www/localhost/htdocs/banners/misc/backwards: No such file or directory So there is still some code that is splitting filenames by spaces. That's bash for you! cheers, js Created attachment 33181 [details, diff]
webapp-config.patch
Stu, don't know if you've already fixed this issue, see patch.
Hi Sven, I'd missed those two. Thanks for spotting them. I've added your patch to -r1. Best regards, Stu webapp-config 1.10-r1 is now out, and contains a fix for this bug. Please test. Best regards, Stu Closing old bug. |