[cl-debian] Bug#410368: ecl: doesn't know about the GNU system in autotools data

Package: ecl Version: 0.9i-2 Severity: important Tags: patch Justification: fails to build from source Here are two patches to make the build possible on Hurd: diff -r 045b9347e44a src/h/config.h.in --- a/src/h/config.h.in Tue Feb 06 17:36:54 2007 +0100 +++ b/src/h/config.h.in Sat Feb 10 04:15:48 2007 +0100 @@ -302,7 +302,7 @@ typedef unsigned @CL_FIXNUM_TYPE@ cl_has #include "@ECL_FPE_CODE@" #if defined(ECL_THREADS) -# if defined(darwin) || defined(freebsd) +# if defined(darwin) || defined(freebsd) || defined(gnu) # define PTHREAD_MUTEX_ERRORCHECK_NP PTHREAD_MUTEX_ERRORCHECK # define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE # define PTHREAD_MUTEX_NORMAL_NP PTHREAD_MUTEX_NORMAL diff -r 045b9347e44a src/aclocal.m4 --- a/src/aclocal.m4 Tue Feb 06 17:36:54 2007 +0100 +++ b/src/aclocal.m4 Sat Feb 10 03:55:51 2007 +0100 @@ -188,6 +188,16 @@ case "${host_os}" in # libdir may have a dollar expression inside linux*) thehost='linux' + THREAD_CFLAGS='-D_THREAD_SAFE' + THREAD_LIBS='-lpthread' + SHARED_LDFLAGS="-shared ${LDFLAGS}" + BUNDLE_LDFLAGS="-shared ${LDFLAGS}" + LDRPATH='-Wl,--rpath,/usr/lib/ecl/' + clibs="-ldl" + # Maybe CFLAGS="-D_ISOC99_SOURCE ${CFLAGS}" ??? + ;; + gnu*) + thehost='gnu' THREAD_CFLAGS='-D_THREAD_SAFE' THREAD_LIBS='-lpthread' SHARED_LDFLAGS="-shared ${LDFLAGS}" -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (990, 'testing'), (501, 'stable'), (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2-k7 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages ecl depends on: ii common-lisp-controller 6.9 This is a Common Lisp source and c ii gcc-4.1 4.1.1-21 The GNU C compiler ii libc6 2.3.6.ds1-10 GNU C Library: Shared libraries ii libgc-dev 1:6.8-1 conservative garbage collector for ii libgc1c2 1:6.8-1 conservative garbage collector for ii libgmp3-dev 2:4.2.1+dfsg-4 Multiprecision arithmetic library ii libgmp3c2 2:4.2.1+dfsg-4 Multiprecision arithmetic library ii libncurses5-dev 5.5-5 Developer's libraries and docs for ecl recommends no packages. -- no debconf information -- nowhere.man@levallois.eu.org OpenPGP 0xD9D50D8A

Your message dated Thu, 29 Mar 2007 10:02:27 +0000 with message-id <E1HWrSd-0007mu-1J@ries.debian.org> and subject line Bug#410368: fixed in ecl 0.9i-20070324-1 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
participants (2)
-
owner@bugs.debian.org
-
Pierre THIERRY