Debian Bug report logs - #552881
mmorph: [PATCH] FTBFS: mymalloc.c:19: error: conflicting types for 'sys_errlist'

version graph

Package: src:mmorph; Maintainer for src:mmorph is Thomas Bushnell, BSG <tb@debian.org>;

Reported by: Lucas Nussbaum <lucas@lucas-nussbaum.net>

Date: Thu, 29 Oct 2009 05:10:18 UTC

Severity: serious

Tags: patch, sid, squeeze, wheezy

Found in version mmorph/2.3.4.2-12

Fixed in version 2.3.4.2-12.1

Done: Ondřej Surý <ondrej@sury.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Thomas Bushnell, BSG <tb@debian.org>:
Bug#552881; Package src:mmorph. (Thu, 29 Oct 2009 05:10:21 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
New Bug report received and forwarded. Copy sent to Thomas Bushnell, BSG <tb@debian.org>. (Thu, 29 Oct 2009 05:10:22 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
To: submit@bugs.debian.org
Subject: mmorph: FTBFS: mymalloc.c:19: error: conflicting types for 'sys_errlist'
Date: Wed, 28 Oct 2009 11:41:43 +0100
Source: mmorph
Version: 2.3.4.2-12
Severity: serious
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20091028 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -O2 -Wall   -c -o mymalloc.o mymalloc.c
> mymalloc.c:19: error: conflicting types for 'sys_errlist'
> /usr/include/bits/sys_errlist.h:28: error: previous declaration of 'sys_errlist' was here
> mymalloc.c: In function 'my_malloc':
> mymalloc.c:37: warning: suggest explicit braces to avoid ambiguous 'else'
> mymalloc.c: In function 'my_realloc':
> mymalloc.c:47: warning: suggest explicit braces to avoid ambiguous 'else'
> mymalloc.c: In function 'my_calloc':
> mymalloc.c:59: warning: suggest explicit braces to avoid ambiguous 'else'
> mymalloc.c: In function 'my_strdup':
> mymalloc.c:69: warning: suggest explicit braces to avoid ambiguous 'else'
> make[1]: *** [mymalloc.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/10/28/mmorph_2.3.4.2-12_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |




Added tag(s) sid and squeeze. Request was from Gerfried Fuchs <rhonda@deb.at> to control@bugs.debian.org. (Sun, 24 Jan 2010 21:06:30 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Thomas Bushnell, BSG <tb@debian.org>:
Bug#552881; Package src:mmorph. (Wed, 17 Mar 2010 02:42:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jari Aalto <jari.aalto@cante.net>:
Extra info received and forwarded to list. Copy sent to Thomas Bushnell, BSG <tb@debian.org>. (Wed, 17 Mar 2010 02:42:06 GMT) Full text and rfc822 format available.

Message #12 received at 552881@bugs.debian.org (full text, mbox):

From: Jari Aalto <jari.aalto@cante.net>
To: 552881@bugs.debian.org, control@bugs.debian.org
Subject: mmorph: [PATCH] FTBFS: mymalloc.c:19: error: conflicting types for 'sys_errlist'
Date: Wed, 17 Mar 2010 04:36:21 +0200
[Message part 1 (text/plain, inline)]
retitle 552881 mmorph: [PATCH] FTBFS: mymalloc.c:19: error: conflicting types for 'sys_errlist'
tags 552881 + patch
thanks

The following patches fix the compile problems. Content for
debian/chnagelog attached.

Observations:

- The code was converted from varargs (no longer in Gcc 4.4) to ISO-C stdargs
- The code relies on particular version of db.h, thus -DDB_185_H (see
  inside code).
- BITS() macro was unknown. It's use was converted into ANSI-C equivalents.
- Statements inside if() needed more parenhesis near logical operators like ||.
- tfs.c: Someone should review the last patch with a good eye. I think I
  deciphered to whom the else statements belong but an extra eye to
  verify would be helpful.
- Missing braces around else statements was added in general.

mmorph (2.3.4.2-12.1) unstable; urgency=low

  [Jari Aalto]
  * debian/control
    - Change libdb-dev to libdb4.8-dev because the code uses old
      Berkeley DB interface.
  * debian/patches
    - (Number 10): Add patch to fix compiling errors.
      (RC bug FTBFS serious; Closes: #552881).
  * debian/rules
    - (CFLAGS): add -DDB_185_H.
  * debian/source/format
    - New file.

 -- Jari Aalto <jari.aalto@cante.net>  Wed, 17 Mar 2010 03:25:42 +0200

[mmorph-2.3.4.2-12-debian-jari-aalto.patch (text/x-diff, inline)]
 debian/changelog |   18 ++++++++++++++++++
 debian/control   |    2 +-
 debian/rules     |    4 ++--
 3 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cbefd6a..29a60e2 100644
diff --git a/debian/control b/debian/control
index ed6d229..0ae0d1a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: misc
 Priority: extra
 Maintainer: Thomas Bushnell, BSG <tb@debian.org>
 Standards-Version: 3.7.3
-Build-Depends: debhelper (>= 5), bison, flex, libdb-dev
+Build-Depends: debhelper (>= 5), bison, flex, libdb4.8-dev
 
 Package: mmorph
 Architecture: any
diff --git a/debian/rules b/debian/rules
index b995e0b..7317482 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-CFLAGS=-O2 -Wall
+CFLAGS=-O2 -Wall -DDB_185_H
 ifneq ($(findstring debug,$(DEB_BUILD_OPTIONS)),)
-CFLAGS+=-g
+CFLAGS+=-g -DDB_185_H
 endif
 
 build: build-stamp
[mmorph-2.3.4.2-12-compile-fixes-jari-aalto.patch (text/x-diff, inline)]
 bitmap.c         |    2 +-
 bitmap.h         |    5 ++---
 config.h         |    2 +-
 database.c       |    7 ++++++-
 debian/changelog |   18 ++++++++++++++++++
 debian/control   |    2 +-
 debian/rules     |    4 ++--
 mymalloc.c       |   32 ++++++++++++++++++--------------
 mymalloc.h       |    2 --
 output.c         |   45 +++++++++++++++++++++++++++------------------
 output.h         |   10 +++++-----
 spell.h          |    3 ++-
 tokenize.l       |   16 +++++++++-------
 unify.h          |    4 +++-
 user.h           |    7 +------
 user.y           |    9 ++++-----
 16 files changed, 100 insertions(+), 68 deletions(-)

diff --git a/bitmap.c b/bitmap.c
index c4c72af..0af7a99 100644
--- a/bitmap.c
+++ b/bitmap.c
@@ -162,7 +162,7 @@ s_bitmap   *bitmap2;
     while (bits1 < last_word)
 	if (*bits1++ & *bits2++)
 	    return (1);
-    return (*bits1 & *bits2 & FULL_SET(bitmap1->size & MODULO_MASK)
+    return ((*bits1 & *bits2 & FULL_SET(bitmap1->size & MODULO_MASK))
 	    != NO_BITS);
 }
 
diff --git a/bitmap.h b/bitmap.h
index fb2b294..93c1f36 100644
--- a/bitmap.h
+++ b/bitmap.h
@@ -9,10 +9,9 @@
 
 #include "config.h"
 #include <values.h>
-
-/* It seems this macro is needed - ajk */
 #include <limits.h>
-#define BITS(t) (sizeof(t)*CHAR_BIT)
+
+#define BITS(type)      (sizeof (type) * CHAR_BIT)
 
 #define WORD_TYPE	unsigned long
 #define WORD_SIZE	BITS(WORD_TYPE)
diff --git a/config.h b/config.h
index 23a7121..7b6c291 100644
--- a/config.h
+++ b/config.h
@@ -16,7 +16,7 @@
 #define STDC_HEADERS 1
 
 /* The number of bytes in a long.  */
-#define SIZEOF_LONG 4
+#define SIZEOF_LONG 8
 
 /* Define if you have the <limits.h> header file.  */
 #define HAVE_LIMITS_H 1
diff --git a/database.c b/database.c
index 38db56e..9d478ff 100644
--- a/database.c
+++ b/database.c
@@ -27,7 +27,12 @@
 #endif
 #endif
 
-#include <db_185.h>
+#ifdef DB_185_H
+#include <db_185.h> /* HASHINFO */
+#else
+#include <db.h>
+#endif
+
 #include <fcntl.h>
 #include <netinet/in.h>
 #include "mymalloc.h"
diff --git a/debian/changelog b/debian/changelog
index cbefd6a..29a60e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,21 @@
+mmorph (2.3.4.2-12.1) unstable; urgency=low
+
+  [Jari Aalto]
+  * Non-maintainer upload.
+    - Move to packaging format "3.0 (quilt)" due to patch.
+  * debian/control
+    - Change libdb-dev to libdb4.8-dev because the code uses old
+      Berkeley DB interface.
+  * debian/patches
+    - (Number 10): Add patch to fix compiling errors.
+      (RC bug FTBFS serious; Closes: #552881).
+  * debian/rules
+    - (CFLAGS): add -DDB_185_H.
+  * debian/source/format
+    - New file.
+
+ -- Jari Aalto <jari.aalto@cante.net>  Wed, 17 Mar 2010 03:25:42 +0200
+
 mmorph (2.3.4.2-12) unstable; urgency=medium
 
   * debian/control (Build-Depends): Omit libdb3-dev option since libdb-dev
diff --git a/debian/control b/debian/control
index ed6d229..0ae0d1a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: misc
 Priority: extra
 Maintainer: Thomas Bushnell, BSG <tb@debian.org>
 Standards-Version: 3.7.3
-Build-Depends: debhelper (>= 5), bison, flex, libdb-dev
+Build-Depends: debhelper (>= 5), bison, flex, libdb4.8-dev
 
 Package: mmorph
 Architecture: any
diff --git a/debian/rules b/debian/rules
index b995e0b..7317482 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-CFLAGS=-O2 -Wall
+CFLAGS=-O2 -Wall -DDB_185_H
 ifneq ($(findstring debug,$(DEB_BUILD_OPTIONS)),)
-CFLAGS+=-g
+CFLAGS+=-g -DDB_185_H
 endif
 
 build: build-stamp
diff --git a/mymalloc.c b/mymalloc.c
index 62c205e..a0845dd 100644
--- a/mymalloc.c
+++ b/mymalloc.c
@@ -10,23 +10,23 @@
     convenient wrappers around memory allocation functions
 */
 
-#include <string.h>
 #ifndef  MALLOC_FUNC_CHECK
 #include <malloc.h>
 #include <errno.h>
 #include "mymalloc.h"
-extern int  sys_nerr;
-extern char *sys_errlist[];
+#include <errno.h>
 
 /* extern char *strdup();*/
 
-extern void fatal_error();
+extern void fatal_error(char*, ...);
 
 #define MEM_ERROR(f_name) \
-	if (errno == ENOMEM) \
+	if (errno == ENOMEM) { \
 	    fatal_error("out of memory (%s)",f_name); \
-	else \
-	    fatal_error("program bug: memory allocation error (%s)",f_name)
+        } \
+	else { \
+   	    fatal_error("program bug: memory allocation error (%s)",f_name); \
+	}
 
 void
 my_malloc(var, size)
@@ -34,8 +34,9 @@ T_PTR      *var;
 size_t      size;
 
 {
-    if ((*var = malloc(size)) == NULL)
-	MEM_ERROR("malloc");
+    if ((*var = malloc(size)) == NULL) {
+	MEM_ERROR("malloc")
+    }
 }
 
 void
@@ -44,8 +45,9 @@ T_PTR      *var;
 size_t      size;
 
 {
-    if ((*var = realloc(*var, size)) == NULL)
-	MEM_ERROR("realloc");
+    if ((*var = realloc(*var, size)) == NULL) {
+	MEM_ERROR("realloc")
+	    }
 }
 
 
@@ -56,8 +58,9 @@ size_t      nelem;
 size_t      size;
 
 {
-    if ((*var = calloc(nelem, size)) == NULL)
-	MEM_ERROR("calloc");
+    if ((*var = calloc(nelem, size)) == NULL) {
+	MEM_ERROR("calloc")
+    }
 }
 
 void
@@ -66,8 +69,9 @@ char      **var;
 char       *str;
 
 {
-    if ((*var = strdup(str)) == NULL)
+    if ((*var = strdup(str)) == NULL) {
 	MEM_ERROR("strdup");
+    }
 }
 
 void
diff --git a/mymalloc.h b/mymalloc.h
index f51e539..c7a7736 100644
--- a/mymalloc.h
+++ b/mymalloc.h
@@ -87,8 +87,6 @@ extern void my_strdup();
 
 #endif	/* MALLOC_FUNC_CHECK */
 
-#include <stddef.h>
-
 #define MY_MALLOC(var,type) \
     my_malloc((T_PTR *) &(var), (size_t) sizeof (type))
 
diff --git a/output.c b/output.c
index 30e05c0..adc77f6 100644
--- a/output.c
+++ b/output.c
@@ -9,12 +9,12 @@
 */
 
 #include <stdarg.h>
+
 #include <ctype.h>
 #include "user.h"
 #include "output.h"
 #include "parse.h"
 
-
 FILE       *outfile;
 FILE       *logfile;
 FILE       *rejectfile;
@@ -23,12 +23,13 @@ char       *prompt = PROMPT;
 
 /*VARARGS*/
 void
-fatal_error(char *format, ...)
-
+fatal_error(char *first, ...)
 {
     va_list     ap;
+    char       *format;
 
-    va_start(ap, format);
+    va_start(ap, first);
+    format = va_arg(ap, char *);
     (void) fflush(outfile);
     if (parsing) {
 	if (fprintf(logfile,
@@ -53,12 +54,13 @@ fatal_error(char *format, ...)
 
 /*VARARGS*/
 void
-print_warning(char *format, ...)
-
+print_warning(char *first, ...)
 {
     va_list     ap;
+    char       *format;
 
-    va_start(ap, format);
+    va_start(ap, first);
+    format = va_arg(ap, char *);
     (void) fflush(outfile);
     if (fprintf(logfile, "Warning: ") == EOF)
 	EXIT(3);
@@ -71,12 +73,13 @@ print_warning(char *format, ...)
 
 /*VARARGS*/
 void
-print_out(char *format, ...)
-
+print_out(char *first, ...)
 {
     va_list     ap;
+    char       *format;
 
-    va_start(ap, format);
+    va_start(ap, first);
+    format = va_arg(ap, char *);
     if (vfprintf(outfile, format, ap) == EOF)
 	EXIT(3);
     va_end(ap);
@@ -90,12 +93,13 @@ flush_out()
 
 /*VARARGS*/
 void
-print_log(char *format, ...)
-
+print_log(char *first, ...)
 {
     va_list     ap;
+    char       *format;
 
-    va_start(ap, format);
+    va_start(ap, first);
+    format = va_arg(ap, char *);
     if (vfprintf(logfile, format, ap) == EOF)
 	EXIT(3);
     va_end(ap);
@@ -103,12 +107,15 @@ print_log(char *format, ...)
 
 /*VARARGS*/
 void
-print(FILE *file, char *format, ...)
-
+print(FILE *first, ...)
 {
     va_list     ap;
+    char       *format;
+    FILE       *file;
 
-    va_start(ap, format);
+    va_start(ap, first);
+    file = va_arg(ap, FILE *);
+    format = va_arg(ap, char *);
     if (vfprintf(file, format, ap) == EOF)
 	EXIT(3);
     va_end(ap);
@@ -156,12 +163,14 @@ t_letter    letter;
 		status = putc(';', file);
 	}
     }
-    if (status == EOF)
+    if (status == EOF) {
 	if (file != logfile)
 	    fatal_error("error while writing in a file (errno=%d=%s)",
 		      errno, (errno < sys_nerr ? sys_errlist[errno] : "?"));
-	else	/* cannot print error message to log */
+	else { /* cannot print error message to log */
 	    EXIT(3);
+        }
+    }
 }
 
 void
diff --git a/output.h b/output.h
index 1e5d8fa..4444105 100644
--- a/output.h
+++ b/output.h
@@ -17,12 +17,12 @@ extern FILE *logfile;
 extern FILE *rejectfile;
 extern char *prompt;
 
-extern void fatal_error(char *format, ...);
-extern void print_warning(char *format, ...);
+extern void fatal_error( char*, ... /* va_alist */ );
+extern void print_warning( char*, ... /* va_alist */ );
 extern void flush_out();
-extern void print_out(char *format, ...);
-extern void print_log(char *format, ...);
-extern void print(FILE *file, char *format, ...);
+extern void print_out( char*, ... /* va_alist */ );
+extern void print_log( char*, ... /* va_alist */ );
+extern void print( FILE*, ... /* va_alist */ );
 extern void print_string();
 extern void print_string_l();
 extern void print_letter();
diff --git a/spell.h b/spell.h
index 661b915..5e0e47e 100644
--- a/spell.h
+++ b/spell.h
@@ -6,10 +6,11 @@
 */
 #ifndef spell_h
 #define spell_h
+#include <limits.h>
 
 #define LETTER_MAX	    ((t_letter) ((1L << BITS(t_letter)) -1))
 #define LETTER_ANY	    LETTER_MAX
-#define LETTER_MAP_SIZE	    (1L << BITS(char))
+#define LETTER_MAP_SIZE	    (1L << CHAR_BIT)
 #define NUL_LETTER	    ((t_letter) 0)
 
 #define SURFACE_FLAG	(1L)
diff --git a/tokenize.l b/tokenize.l
index fffbbe1..14e6f4e 100644
--- a/tokenize.l
+++ b/tokenize.l
@@ -19,7 +19,8 @@
 
 #define NUL '\0'
 
-//int	yylineno = 1;
+/* int	yylineno = 1; NOT needed in GNU flex */
+
 int	linepos = 0;
 static char	buf_str[MAXSTRLNG];
 static char   *pbuf_str;
@@ -155,12 +156,13 @@ comment		(\;.*\n)
 	    *pbuf_str++='\t';
 	    break;
 	case '0':
-	    if (sscanf(yytext+1, "%o", &escaped_char) != 1
-		|| escaped_char > MAXUCHAR
-		|| escaped_char == 0)
+	    if ((sscanf(yytext+1, "%o", &escaped_char) != 1)
+		|| (escaped_char > MAXUCHAR)
+		|| (escaped_char == 0))
 		    fatal_error("%s value \"%s\" is not allowed",
 		    "error while reading octal code:",
 		    yytext);
+
 	    *pbuf_str++ = (unsigned char) escaped_char;
 	    break;
         default: 
@@ -186,9 +188,9 @@ comment		(\;.*\n)
 	    escaped_char='\t';
 	    break;
 	case '0':
-	    if (sscanf(yytext+1, "%o", &escaped_char) != 1
-		|| escaped_char > MAXUCHAR
-		|| escaped_char == 0)
+	    if ((sscanf(yytext+1, "%o", &escaped_char) != 1)
+		|| (escaped_char > MAXUCHAR)
+		|| (escaped_char == 0))
 		    fatal_error("%s value \"%s\" is not allowed",
 		    "error while reading octal code:",
 		    yytext);
diff --git a/unify.h b/unify.h
index 6e7643b..ad68f9e 100644
--- a/unify.h
+++ b/unify.h
@@ -7,8 +7,10 @@
 #ifndef unify_h
 #define unify_h
 
+#include <limits.h>
+
 /* size of the array in which the surface string is constructed */
-#define MAXUCHAR		((unsigned char) ((1L << BITS(char)) -1))
+#define MAXUCHAR		((unsigned char) ((1L << CHAR_BIT) -1))
 #define CONCAT_SIZE		MAXUCHAR
 /* first part of that array */
 #define PREFIX_CONCAT_SIZE	(CONCAT_SIZE/2)
diff --git a/user.h b/user.h
index 4a682fd..5642f2a 100644
--- a/user.h
+++ b/user.h
@@ -10,17 +10,12 @@
 #if defined(STDC_HEADERS) && ! MALLOC_FUNC_CHECK
 #include <stdlib.h>	/* ANSI & POSIX types */
 #endif
-#include <unistd.h>
-#include <string.h>
 #include <stdio.h>
 #include <errno.h>
 
 
 /* because they may not be declared in errno.h: */
-extern int  sys_nerr;
-#if 0  /* this breaks in Debian */
-extern char *sys_errlist[];
-#endif
+#include "errno.h"
 
 #ifndef FALSE
 #define FALSE   (0)
diff --git a/user.y b/user.y
index 671406e..8c6af87 100644
--- a/user.y
+++ b/user.y
@@ -8,6 +8,8 @@
 #include "user.h"
 #include "parse.h"
 
+int yylex(void);
+
 s_symbol	*defined_symbol;
 static s_symbol	*largest_type_sym;
 static t_card		 largest_type_card;
@@ -250,7 +252,6 @@ ProjSep	: BAR
 	    current_type->project_card= current_type->card;
 	    crc32file_add(&crc, (unsigned char) '|');
 	}
-	;
 
 TypeNew	: DNAME 
 	{
@@ -453,7 +454,6 @@ ValSetSpec : ValSet
 		fatal_error("value set complement for \"%s\" is empty",
 			    current_attribute->name);
 	}
-	;
 
 ValSet	: NOTEQUAL ValDisj
 	{
@@ -521,7 +521,6 @@ Affix	:   AffixString Tfs
 	    $$=$2;
 	    variable_allowed = TRUE; /* useful only for prefix */
 	}
-	;
 
 AttDefPLUS	: AttDefPLUS AttDef
 	{
@@ -895,7 +894,6 @@ LexNew	: LSTRING
 	    /* save string */
 	    current_string = $1;
 	}
-	;
 
 LexDefSTAR	: LexDefSTAR LexDef
 	{
@@ -1224,11 +1222,12 @@ Sequence    : LANGLE LetterSTAR RANGLE
 		    fatal_error("symbol \"%s\" is not a %s",
 				pair_symbol->name,
 				symbol_kind_str[current_letter_kind]);
-		if (pair_symbol->data->pair.pair_flags == BOTH_CLASSES)
+		if (pair_symbol->data->pair.pair_flags == BOTH_CLASSES) {
 		    if (current_letter_kind == Surface_Letter)
 			current_pair_flags |= SURFACE_IS_CLASS;
 		    else
 			current_pair_flags |= LEXICAL_IS_CLASS;
+                }
 		if (current_letter_kind == Surface_Letter)
 		    $$ = pair_symbol->data->pair.surface;
 		else
[mmorph-2.3.4.2-12-compile-fixes--tfs.c-else--jari-aalto.patch (text/x-diff, inline)]
--- a/tfs.c
+++ b/tfs.c
@@ -276,18 +276,25 @@ unsigned char *crc_hash;
     }
     else {
 	if ((status = saved_tfs_table(FALSE, crc_hash)))
-	    if (status < 0)
+	    if (status < 0) {
 		fatal_error("tfs file \"%s\" is corrupted", tfs_file_name);
-	    else if (status == 1)	/* bad CRC */
-		fatal_error("database file \"%s\" %s%s\"%s\": %s",
-			    tfs_file_name, "does not correspond\n",
-			    "to the morphology description in ",
-			    gram_file_name, "please recreate it");
-	    else	/* bad signature */
-		fatal_error("%s \"%s\" %s %s %s %s",
-			    "database file", tfs_file_name,
-			    "was not created by", CREATOR_NAME,
-			    "version", VERSION_STR);
+	    }
+	    else {
+		/* bad CRC */
+		if (status == 1) {
+		    fatal_error("database file \"%s\" %s%s\"%s\": %s",
+				tfs_file_name, "does not correspond\n",
+				"to the morphology description in ",
+				gram_file_name, "please recreate it");
+		}
+		/* bad signature */
+		else {
+		    fatal_error("%s \"%s\" %s %s %s %s",
+				"database file", tfs_file_name,
+				"was not created by", CREATOR_NAME,
+				"version", VERSION_STR);
+		}
+	    }
 	old_tfs_table_size = tfs_table_size;
 	max_tfs_table_size = tfs_table_size;
 	/* fill tfs btree */

Changed Bug title to 'mmorph: [PATCH] FTBFS: mymalloc.c:19: error: conflicting types for 'sys_errlist'' from 'mmorph: FTBFS: mymalloc.c:19: error: conflicting types for 'sys_errlist'' Request was from Jari Aalto <jari.aalto@cante.net> to control@bugs.debian.org. (Wed, 17 Mar 2010 02:42:08 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Jari Aalto <jari.aalto@cante.net> to control@bugs.debian.org. (Wed, 17 Mar 2010 02:42:08 GMT) Full text and rfc822 format available.

Added tag(s) wheezy. Request was from Kurt Roeckx <kurt@roeckx.be> to control@bugs.debian.org. (Wed, 16 Feb 2011 19:03:37 GMT) Full text and rfc822 format available.

Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Mon, 06 Jun 2011 21:57:05 GMT) Full text and rfc822 format available.

Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. (Mon, 06 Jun 2011 21:57:05 GMT) Full text and rfc822 format available.

Message #23 received at 552881-done@bugs.debian.org (full text, mbox):

From: Ondřej Surý <ondrej@sury.org>
To: 552881-done@bugs.debian.org
Subject: Fixed in NMU
Date: Mon, 6 Jun 2011 23:53:15 +0200
Version: 2.3.4.2-12.1

-- 
Ondřej Surý <ondrej@sury.org>




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 06 Jul 2011 07:35:02 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 10:20:39 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.