Your message dated Wed, 06 Apr 2005 14:17:02 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#288830: fixed in bow 20020213-7
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Jan 2005 21:32:32 +0000
>From [EMAIL PROTECTED] Wed Jan 05 13:32:31 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c196149.adsl.hansenet.de (localhost.localdomain) 
[213.39.196.149] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CmIlb-0005pz-00; Wed, 05 Jan 2005 13:32:31 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CmIrE-0004LS-Po; Wed, 05 Jan 2005 22:38:20 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: bow: FTBFS (amd64/gcc-4.0): invalid storage class for function 
'grow_if_necessary'
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 05 Jan 2005 22:38:20 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: bow
Severity: normal
Tags: patch

When building 'bow' on amd64 with gcc-4.0,
I get the following error:

gcc -c   -Ibow -I. -I./argp -DHAVE_LIBNSL=1 -DHAVE_STRERROR=1 
-DHAVE_GETTIMEOFDAY=1 -DHAVE_RANDOM=1 -DHAVE_SRANDOM=1 -DHAVE_SETENV=1 
-DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_ALLOCA_H=1  -g -O -Wall -Wimplicit -o 
dv.o dv.c
In file included from dv.c:22:
./bow/libbow.h:1631: warning: type qualifiers ignored on function return type
dv.c: In function '_bow_dv_index_for_di':
dv.c:56: error: invalid storage class for function 'grow_if_necessary'
dv.c:71: error: invalid storage class for function 'initialize_dv_index'
make[1]: *** [dv.o] Error 1
make[1]: Leaving directory `/bow-20020213'
make: *** [build] Error 2

With the attached patch 'bow' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN bow.orig/Makefile.in bow-20020213/Makefile.in
--- bow.orig/Makefile.in        2005-01-05 20:03:10.670469328 +0100
+++ bow-20020213/Makefile.in    2005-01-05 20:25:00.291376688 +0100
@@ -462,7 +462,7 @@
        rm -f $(DOC_HTML_FILES) *_toc.html $(DOC_INFO_FILES) \
        $(DOC_DVI_FILES) $(OTHER_DVI_FILES) $(OTHER_INFO_FILES) \
        $(OTHER_HTML_FILES)
-       cd doc ; rm -f *
+#      cd doc ; rm -f *
 
 # Making a distribution .tar.gz file
 
diff -urN bow.orig/dv.c bow-20020213/dv.c
--- bow.orig/dv.c       1999-03-17 22:08:53.000000000 +0100
+++ bow-20020213/dv.c   2005-01-05 20:05:40.263727696 +0100
@@ -52,7 +52,7 @@
 {
   int dv_index;                        /* The "document vector" index at
                                   which we are looking for. */
-  static inline void grow_if_necessary ()
+  inline void grow_if_necessary ()
     {
       if (error_on_creation)
        bow_error ("Shouldn't be creating new entry for a weight.");
@@ -67,7 +67,7 @@
                                       + sizeof (bow_de) * (*dv)->size));
        }
     }
-  static inline void initialize_dv_index (int dvi)
+  inline void initialize_dv_index (int dvi)
     {
       (*dv)->entry[dvi].di = di;
       (*dv)->entry[dvi].count = 0;
diff -urN bow.orig/multiclass.c bow-20020213/multiclass.c
--- bow.orig/multiclass.c       1999-10-15 22:17:42.000000000 +0200
+++ bow-20020213/multiclass.c   2005-01-05 20:10:07.545094752 +0100
@@ -1050,7 +1050,7 @@
 void
 bow_sort_scores (bow_score *scores, int count)
 {
-  static int score_compare (const void *x, const void *y)
+  int score_compare (const void *x, const void *y)
     {
       if (((bow_score *)x)->weight > ((bow_score *)y)->weight)
        return -1;
@@ -1256,6 +1256,7 @@
        }
       return si;
     next_si:
+      continue;
     }
   return -1;
 }
@@ -1340,6 +1341,7 @@
          max_ci = ci;
        }
     next_class1:
+      continue;
     }
 
   if (local_exclude_cis_size + 1 < exclude_cis_capacity/2
@@ -1421,8 +1423,10 @@
              max_ci2 = ci2;
            }
        next_class22:
+          continue;
        }
     next_class2:
+      continue;
     }
   assert (max_si >= 0);
 
diff -urN bow.orig/svm_base.c bow-20020213/svm_base.c
--- bow.orig/svm_base.c 2002-02-13 23:49:41.000000000 +0100
+++ bow-20020213/svm_base.c     2005-01-05 20:07:47.130441024 +0100
@@ -261,7 +261,6 @@
     case 4:
       kernel = svm_kernel_fisher;
       break;
-    default:
     }
     break;
   case AL_TEST_IN_TRAIN_ARG:

---------------------------------------
Received: (at 288830-close) by bugs.debian.org; 6 Apr 2005 18:28:40 +0000
>From [EMAIL PROTECTED] Wed Apr 06 11:28:40 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DJFGa-00038B-00; Wed, 06 Apr 2005 11:28:40 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DJF5K-0001CB-00; Wed, 06 Apr 2005 14:17:02 -0400
From: Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#288830: fixed in bow 20020213-7
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 06 Apr 2005 14:17:02 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: bow
Source-Version: 20020213-7

We believe that the bug you reported is fixed in the latest version of
bow, which is due to be installed in the Debian FTP archive:

bow_20020213-7.diff.gz
  to pool/main/b/bow/bow_20020213-7.diff.gz
bow_20020213-7.dsc
  to pool/main/b/bow/bow_20020213-7.dsc
libbow_20020213-7_i386.deb
  to pool/main/b/bow/libbow_20020213-7_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]> (supplier of updated bow 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  6 Apr 2005 19:22:18 +0200
Source: bow
Binary: libbow
Architecture: source i386
Version: 20020213-7
Distribution: unstable
Urgency: low
Maintainer: Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]>
Changed-By: Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]>
Description: 
 libbow     - Bag of Words Library
Closes: 258544 288830 300181
Changes: 
 bow (20020213-7) unstable; urgency=low
 .
   * Applied patch from Andreas Jochens to fix FTBFS when using gcc-4.0
   so that this package builds now properly in amd64.
   (Closes: #258544, #288830, #300181)
   * Small improvements in mail2folder contributed script (save by number
   of message in folder and not by Message-ID)
   * Fixed lintian warning related to info installation
Files: 
 f1d625f69354234238005856ec483c9d 725 text optional bow_20020213-7.dsc
 2b833f2aca29f32ecbe473fa4b2b89dd 28284 text optional bow_20020213-7.diff.gz
 91c1775067cedbf893e10be423f688fd 500326 text optional 
libbow_20020213-7_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iQCVAwUBQlQjnftEPvakNq0lAQIgGwQAryRf0Mirr6L6qEITHkksE1HKyws4W8so
LF+jjf+CE8CUto2lGF+eVmhKrQdy1p8/eT9xPyUNwiZ6X73YIewKPp8ohwT+v5Fr
aEjuVVGUrhYohfhBFZPWyrpmLACbuiidLmGYtEcAtt1DxLzehOvK3FgCmhJIVWvx
lOoUlQ3/Dmk=
=KhPT
-----END PGP SIGNATURE-----


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

Reply via email to