Package: ggi-doc
Version: 0.0.20040308-1
Severity: serious
Hi,
building the package ggi-doc in a clean sid build environment
(with pbuilder) on i386 results in:
=========================================================================
[...]
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using
uid of process (65534)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined;
using uid of process (65534)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of
process (65534)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined;
using uid of process (65534)
dpkg-source: building ggi-doc using existing ggi-doc_0.0.20040308.orig.tar.gz
dpkg-source: building ggi-doc in ggi-doc_0.0.20040308-1.diff.gz
dpkg-source: building ggi-doc in ggi-doc_0.0.20040308-1.dsc
debian/rules build
dh_testdir
dh_installdirs
dh_installdirs: Compatibility levels before 4 are deprecated.
cp debian/debian.txt html/packages
/usr/bin/make -C html
DEST=/tmp/buildd/ggi-doc-0.0.20040308/debian/ggi-doc/usr/share/doc/ggi-doc/html
make[1]: Entering directory `/tmp/buildd/ggi-doc-0.0.20040308/html'
GGIWWW=file:///tmp/buildd/ggi-doc-0.0.20040308/debian/ggi-doc/usr/share/doc/ggi-doc/html
python www.py
/tmp/buildd/ggi-doc-0.0.20040308/debian/ggi-doc/usr/share/doc/ggi-doc/html
Traceback (most recent call last):
File "www.py", line 118, in ?
publish_site()
File "www.py", line 87, in publish_site
publish_html(k,l,m)
File "www.py", line 114, in publish_html
parser = parser.Parser())
File "/tmp/buildd/ggi-doc-0.0.20040308/html/parser.py", line 9, in __init__
docutils.parsers.rst.Parser.__init__(self, inliner = Inliner())
File "/tmp/buildd/ggi-doc-0.0.20040308/html/parser.py", line 18, in __init__
states.Inliner.__init__(self, roles = { 'system' : self.system_role,
TypeError: __init__() got an unexpected keyword argument 'roles'
make[1]: *** [site] Error 1
make[1]: Leaving directory `/tmp/buildd/ggi-doc-0.0.20040308/html'
make: *** [build-stamp] Error 2
=========================================================================
When I remove the roles keyword from the __init__() call in parser.py:18, the
build works. It gives me many warnings, though. (Maybe this is normal.)
docutils.parsers.rst.states.Inliner.__init__() previously had a roles keyword
argument which is not present anymore in the new python-docutils version.
Since the old version didn't use it at all, it looks safe to just remove it
from the call as described above.
(Otherwise, the bug could be reassigned to python-docutils for the API
compatibility regression but I don't think this is necessary.)
Thanks for considering.
--
DARTS - Debian Archive Regression Test Suite
http://darts.alioth.debian.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]