First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 53215
Alias:
Product:
Component:
Status: CLOSED
Resolution: TEST-REQUEST
Assigned To: Gentoo Web Application Packages Maintainers <web-apps@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gunnar Wrobel <wrobel@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
phpPgAds-2.0.ebuild ebuild that causes webapp-config to be unhappy text/plain Jacob Smullyan 2004-06-07 11:17 0000 723 bytes Details
webapptrace output from webapp-config text/plain Jacob Smullyan 2004-06-07 11:19 0000 35.39 KB Details
webapp-config.patch webapp-config.patch patch Sven Wegener 2004-06-13 11:54 0000 832 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 53215 depends on: Show dependency tree
Bug 53215 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-07 06:24 0000
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"

------- Comment #1 From Stuart Herbert (RETIRED) 2004-06-07 10:46:08 0000 -------
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

------- Comment #2 From Jacob Smullyan 2004-06-07 11:16:15 0000 -------
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.

------- Comment #3 From Jacob Smullyan 2004-06-07 11:17:38 0000 -------
Created an attachment (id=32884) [details]
ebuild that causes webapp-config to be unhappy

BTW, I am using webapp-config 1.9-r2.

------- Comment #4 From Jacob Smullyan 2004-06-07 11:19:06 0000 -------
Created an attachment (id=32885) [details]
output from webapp-config 

------- Comment #5 From Stuart Herbert (RETIRED) 2004-06-07 14:44:32 0000 -------
Thank you.  Give me a day to two to post a fix.

Best regards,
Stu

------- Comment #6 From Stuart Herbert (RETIRED) 2004-06-11 15:11:37 0000 -------
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

------- Comment #7 From Jacob Smullyan 2004-06-12 11:40:00 0000 -------
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?

------- Comment #8 From Stuart Herbert (RETIRED) 2004-06-13 01:28:42 0000 -------
Hi,

Hopefully that's fixed now, and it's on the mirrors.

Best regards,
Stu

------- Comment #9 From Jacob Smullyan 2004-06-13 08:18:30 0000 -------
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

------- Comment #10 From Sven Wegener 2004-06-13 11:54:04 0000 -------
Created an attachment (id=33181) [details]
webapp-config.patch

Stu, don't know if you've already fixed this issue, see patch.

------- Comment #11 From Stuart Herbert (RETIRED) 2004-06-13 22:55:12 0000 -------
Hi Sven,

I'd missed those two.  Thanks for spotting them.  I've added your patch to -r1.

Best regards,
Stu

------- Comment #12 From Stuart Herbert (RETIRED) 2004-06-14 16:47:43 0000 -------
webapp-config 1.10-r1 is now out, and contains a fix for this bug.  Please
test.

Best regards,
Stu

------- Comment #13 From Stuart Herbert (RETIRED) 2004-06-26 17:49:49 0000 -------
Closing old bug.

First Last Prev Next    No search results available      Search page      Enter new bug