Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 124639
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Web Application Packages Maintainers <web-apps@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Yoann Pannier <gentoo-bugs.f@umsar.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
wac.log full emerge log text/plain Yoann Pannier 2006-03-02 06:41 0000 54.19 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 124639 depends on: Show dependency tree
Bug 124639 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: 2006-03-02 06:40 0000
Here is the output for the first test that fails only, see the full log in
attachments for other failures (i think it is too long to fit here).

 * Running webapp-config doctests...
E.EEE......EEE..E.E.
======================================================================
ERROR: doctest of WebappConfig.content.Contents.add
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/unittest.py", line 423, in runTest
    self.__testFunc()
  File "/usr/lib/python2.3/doctest.py", line 1359, in runit
    _utest(tester, name, doc, filename, lineno)
  File "/usr/lib/python2.3/doctest.py", line 1309, in _utest
    raise DocTestTestFailure('Failed doctest test for %s\n'
DocTestTestFailure: Failed doctest test for WebappConfig.content.Contents.add
  File
"/var/tmp/portage/webapp-config-1.50.10/work/webapp-config-1.50.10/WebappConfig/content.py",
line 309, in add

*****************************************************************
Failure in example:
b.entry(here + '/tests/testfiles/contents/app/test1') #doctest: +ELLIPSIS
from line #84 of WebappConfig.content.Contents.add
Expected:
'file 1 config-owned "test1" ... d8e8fca2dc0f896fd7cb4cb0031ba249 '
Got:'file 1 config-owned "test1" 1135870710 d8e8fca2dc0f896fd7cb4cb0031ba249 '
*****************************************************************
[snip]





### emerge --info

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) III CPU family     
1266MHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distcc distlocks
fixpackages sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
LANG="en_US.ISO8859-15"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 crypt
cups curl eds emboss encode expat foomaticdb fortran gd gdbm gif gstreamer gtk2
imlib java jpeg libg++ libwww mad mailwrapper mikmod mmx motif mp3 mpeg mysql
ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl php pic png python
quicktime readline recode ruby snmp sse ssl tcpd threads tiff truetype
truetype-fonts type1-fonts udev vhosts vorbis xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Yoann Pannier 2006-03-02 06:41:36 0000 -------
Created an attachment (id=81108) [details]
full emerge log

Here is the full emerge log.

------- Comment #2 From Gunnar Wrobel 2006-03-02 07:12:45 0000 -------
The "#doctest: +ELLIPSIS" command does not work in your case. Thus all "..."
within the test output are not recognized as a replacement for variable
content.

I don't know yet why this happens but I assume it is related to python-2.3.5

I'll investigate and report back when I found out why the older python version
does not support this. 

Thanks for the report!

------- Comment #3 From Gunnar Wrobel 2006-03-04 08:39:19 0000 -------
"#doctest: +ELLIPSIS" is a 2.4 feature and I did not find an easy solution to
have the same effect with 2.3.*. 

So as a workaround I simply disabled running the tests if python<2.4 is
detected (ebuilds for 1.50.10 and 1.50.11) 

Another solution would be to depend on python>=2.4 but I think the rest of the
app works also under 2.3.*. So I'd rather not restrict the dependencies only
because of the testing feature.

Or did you experience any other problems when using webapp-config with 2.3.5?

------- Comment #4 From Yoann Pannier 2006-03-05 12:06:24 0000 -------
(In reply to comment #3)
> Or did you experience any other problems when using webapp-config with 2.3.5?

No i did not. I used it only for a fresh installation (awstats), but i found
nothing bad so far.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug