I tried to build an ebuild for SiteBar (www.sitebar.org). The installation process fails because of one folder that has a space character in its name. * Installing sitebar 3.2.5 ... * Creating required directories * /var/www/localhost/htdocs/sitebar/. already exists as a real directory; * skipping /var/www/localhost/htdocs/sitebar/. Reproducible: Always Steps to Reproduce: 1. emerge sitebar (The sitebar ebuild does not yet exist on gentoo, so you cannot really do this.) Actual Results: * Installing sitebar 3.2.5 ... * Creating required directories * /var/www/localhost/htdocs/sitebar/. already exists as a real directory; * skipping /var/www/localhost/htdocs/sitebar/. ... >>> dir (root-owned) skins/Classic >>> dir (root-owned) skins/Mozilla >>> dir (root-owned) Modern <- !!! This should not happen >>> dir (root-owned) skins/Cornflower ... Expected Results: The folder is called "Mozilla Modern" and should not have been splitted in half. Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.4.26_pre6-gentoo) ================================================================= System uname: 2.4.26_pre6-gentoo i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.15 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dfx X Xaw3d apache2 berkdb crypt curl doc emacs flash gd gdbm gif gpm gtk gtk2 imap ipv6 java jpeg ldap libwww lzw-tiff maildir mcal mozilla mpeg mysql ncurses nls pam pdflib perl png pwdb python readline sasl slp spell ssl tetex tiff truetype x86 xml xml2 zlib"
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.