[parted-devel] 3.1 build error, parted.alioth.debian.org broken

Chris Bainbridge chris.bainbridge at gmail.com
Thu Jun 12 15:50:23 UTC 2014


1. On Debian jessie, parted-3.1 from source build error:

CC       ui.o
ui.c: In function 'init_readline':
ui.c:1477:41: error: 'CPPFunction' undeclared (first use in this function)
     rl_attempted_completion_function = (CPPFunction*) complete_function;
                                         ^
ui.c:1477:41: note: each undeclared identifier is reported only once
for each function it appears in
ui.c:1477:53: error: expected expression before ')' token
     rl_attempted_completion_function = (CPPFunction*) complete_function;

It is trivial to fix, replace CPPFunction with rl_completion_func_t

2. parted bugs http://www.gnu.org/software/parted/bugs.shtml links to
http://parted.alioth.debian.org/cgi-bin/trac.cgi/newticket which
returns:

Oops...

Trac detected an internal error: No module named _md5

Traceback (most recent call last):
  File "/var/lib/gforge/chroot/home/groups/parted/cgi-bin/trac.cgi",
line 19, in <module>
    from trac.web import cgi_frontend
  File "/srv/alioth.debian.org/chroot/home/groups/parted/srv/lib/python2.5/site-packages/trac/web/__init__.py",
line 1, in <module>
    from trac.web.api import *
  File "/srv/alioth.debian.org/chroot/home/groups/parted/srv/lib/python2.5/site-packages/trac/web/api.py",
line 27, in <module>
    from trac.util import get_last_traceback
  File "/srv/alioth.debian.org/chroot/home/groups/parted/srv/lib/python2.5/site-packages/trac/util/__init__.py",
line 21, in <module>
    import md5
  File "/var/lib/gforge/chroot/home/groups/parted/srv/lib/python2.5/md5.py",
line 6, in <module>
    from hashlib import md5
  File "/var/lib/gforge/chroot/home/groups/parted/srv/lib/python2.5/hashlib.py",
line 104, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/var/lib/gforge/chroot/home/groups/parted/srv/lib/python2.5/hashlib.py",
line 31, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5

http://parted.alioth.debian.org/ seems to be broken too.



More information about the parted-devel mailing list