Package: python2.4
Version: 2.4.1-0
Severity: important

Hello,

your package failed to build automatically (even after working around
#307037):

Automatic build of python2.4_2.4.1-1+hurd.1 on beethoven by
sbuild/hurd-i386 1.170.5
Build started at 20050430-1301
******************************************************************************
python2.4_2.4.1-1+hurd.1.dsc exists in cwd
** Using build dependencies supplied by package:
Build-Depends: debhelper (>= 4.2), autoconf, libreadline4-dev,
libncurses5-dev (>= 5.3), tk8.4-dev, libdb4.2-dev, zlib1g-dev,
libgmp3-dev, libgdbm-dev, blt-dev (>= 2.4z), libssl-dev,
libbluetooth1-dev [ !hurd-i386], sharutils, libbz2-dev
Build-Depends-Indep: libhtml-tree-perl, tetex-bin, tetex-extra, texinfo,
emacs21, tar, gzip, bzip2, debiandoc-sgml, sharutilsBuild-Conflicts:
tcl8.0-dev, tk8.0-dev, tcl8.2-dev, tk8.2-dev, tcl8.3-dev, tk8.3-dev
[...]
Checking correctness of source dependencies...
Toolchain package versions: libc0.3-dev_2.3.2.ds1-20.0.1
gcc-3.3_1:3.3.5-12 g++-3.3_1:3.3.5-12 binutils_2.15-5
libstdc++5-3.3-dev_1:3.3.5-12 libstdc++5_1:3.3.5-12
------------------------------------------------------------------------------
dpkg-source: extracting python2.4 in python2.4-2.4.1
dpkg-buildpackage: source package is python2.4
dpkg-buildpackage: source version is 2.4.1-1+hurd.1
dpkg-buildpackage: host architecture is hurd-i386
[...]
checking cthreads.h usability... yes
checking cthreads.h presence... yes
checking for cthreads.h... yes
[...]
gcc -shared build/temp.gnu-0.3-i686-AT386-2.4/_tkinter.o
build/temp.gnu-0.3-i686-AT386-2.4/tkappinit.o -L/usr/X11R6/lib64
-L/usr/X11R6/lib -lBLT -ltk8.4 -ltcl8.4 -lX11 -o
build/lib.gnu-0.3-i686-AT386-2.4/_tkinter.so
python:
/build/mbanck/hurd-20050119/build-tree/hurd/libpthread/sysdeps/generic/pt-mutex-timedlock.c:55:
__pthread_mutex_timedlock_internal: Assertion `__pthread_threads'
failed.
/bin/sh: line 1:  9403 Aborted                 CC='gcc' LDSHARED='gcc
-shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E
../setup.py build
make[1]: *** [sharedmods] Error 134
make[1]: Leaving directory `/build/mbanck/python2.4-2.4.1/build-static'
make: *** [stamp-build-static] Error 2
******************************************************************************
Build finished at 20050430-1343
FAILED [dpkg-buildpackage died]


I believe this is due to cthreads.dpatch (which disables cthreads on
GNU/Hurd and leads to pthreads being used) having been dropped since
python2.3, what was the rationale for that (it appears to still apply
fine)?

The above error is typical for an application trying to call pthread
functions but not having been linked with -lpthread:

[EMAIL PROTECTED]:~/build/[...]/python2.4-2.4.1/build-static$ ldd python
        libdl.so.2 => /lib/libdl.so.2 (0x01025000)
        libthreads.so.0.3 => /lib/libthreads.so.0.3 (0x01028000)
        libutil.so.1 => /lib/libutil.so.1 (0x0102e000)
        libm.so.6 => /lib/libm.so.6 (0x01031000)
        libc.so.0.3 => /lib/libc.so.0.3 (0x01053000)
        /lib/ld.so => /lib/ld.so (0x00001000)
        libmachuser.so.1 => /lib/libmachuser.so.1 (0x011e0000)
        libhurduser.so.0.3 => /lib/libhurduser.so.0.3 (0x011f3000)



cheers,

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to