Your message dated Sun, 2 Apr 2006 21:44:16 +0200
with message-id <[EMAIL PROTECTED]>
and subject line thy removed
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)
--- Begin Message ---
Package: thy-auth
Version: 0.3.0-1
Severity: normal
Tags: patch
When building 'thy-auth' on amd64/unstable with gcc-4.0,
I get the following error:
cc -c -I. -I../../../../lib/compat -I../.. -DPATCHLEVEL=\"0\"
-DEXTRAVERSION=\"\" -D_GNU_SOURCE=1 -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\"
-Winline -Wshadow -Wpointer-arith -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wchar-subscripts
-Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit
-Wmissing-braces -Wparentheses -Wswitch -Wunused -g -O2 -I../../../lib
../../../../lib/compat/compat.c -o compat.o
In file included from ../../../../lib/compat/compat.h:35,
from ../../../../lib/compat/compat.c:32:
/usr/include/errno.h:69: error: two or more data types in declaration specifiers
make[3]: *** [compat.o] Error 1
make[3]: Leaving directory
`/thy-auth-0.3.0/debian/build-x86_64-linux/lib/compat'
This happens because the type check for 'error_t' in configure
does not work for some reason.
With the attached patch 'thy-auth' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/thy-auth-0.3.0/configure ./configure
--- ../tmp-orig/thy-auth-0.3.0/configure 2004-02-13 12:36:47.000000000
+0100
+++ ./configure 2005-04-03 20:57:37.234615711 +0200
@@ -6800,73 +6800,6 @@
_ACEOF
-echo "$as_me:$LINENO: checking for error_t" >&5
-echo $ECHO_N "checking for error_t... $ECHO_C" >&6
-if test "${ac_cv_type_error_t+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-$ac_includes_default
-int
-main ()
-{
-if ((error_t *) 0)
- return 0;
-if (sizeof (error_t))
- return 0;
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s
conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- ac_cv_type_error_t=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ac_cv_type_error_t=no
-fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
-echo "${ECHO_T}$ac_cv_type_error_t" >&6
-if test $ac_cv_type_error_t = yes; then
- :
-else
-
-cat >>confdefs.h <<_ACEOF
-#define error_t int
-_ACEOF
-
-fi
-
-
-
for ac_header in stdlib.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
diff -urN ../tmp-orig/thy-auth-0.3.0/lib/compat/compat.h ./lib/compat/compat.h
--- ../tmp-orig/thy-auth-0.3.0/lib/compat/compat.h 2004-02-13
12:33:22.000000000 +0100
+++ ./lib/compat/compat.h 2005-04-03 20:56:24.642226411 +0200
@@ -124,10 +124,6 @@
#define socklen_t int
#endif
-#ifndef error_t
-#define error_t int
-#endif
-
#ifndef HAVE_SOCKADDR_STORAGE
struct sockaddr_storage
{
diff -urN ../tmp-orig/thy-auth-0.3.0/lib/compat/compat.m4 ./lib/compat/compat.m4
--- ../tmp-orig/thy-auth-0.3.0/lib/compat/compat.m4 2004-02-13
12:33:22.000000000 +0100
+++ ./lib/compat/compat.m4 2005-04-03 20:57:13.045151112 +0200
@@ -52,7 +52,6 @@
AC_TYPE_SIZE_T
AC_CHECK_SIZEOF(size_t)
-AC_CHECK_TYPE(error_t, int)
AC_FUNC_MALLOC
m4_ifdef([AC_FUNC_REALLOC], [AC_FUNC_REALLOC])
--- End Message ---
--- Begin Message ---
thy has been removed from Debian because it is unmaintained upstream
and buggy.
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---