Your message dated Wed, 06 Apr 2005 14:17:02 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#300181: 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; 18 Mar 2005 09:16:51 +0000
>From [EMAIL PROTECTED] Fri Mar 18 01:16:50 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DCDb8-0001ou-00; Fri, 18 Mar 2005 01:16:50 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
id 1DCDb5-0002D3-GG; Fri, 18 Mar 2005 10:16:48 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: bow: FTBFS (amd64/gcc-4.0): array type has incomplete element type
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 18 Mar 2005 10:16:48 +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
There is another problem with the latest version of gcc-4.0.
When building 'bow' on amd64 with gcc-4.0,
I now 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
array.o array.c
In file included from array.c:22:
./bow/libbow.h:1631: warning: type qualifiers ignored on function return type
./bow/libbow.h:2128: error: array type has incomplete element type
make[1]: *** [array.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 ../tmp-orig/bow-20020213/bow/libbow.h ./bow/libbow.h
--- ../tmp-orig/bow-20020213/bow/libbow.h 2002-02-14 00:00:29.000000000
+0100
+++ ./bow/libbow.h 2005-03-18 10:02:20.546240909 +0100
@@ -1343,7 +1343,7 @@
#include <bow/kl.h>
#include <bow/em.h>
#include <bow/knn.h>
-struct argp_child; /* forward declare this type */
+#include "argp.h"
/* Associate method M with the string NAME, so the method structure
can be retrieved later with BOW_METHOD_AT_NAME(). Set the group
diff -urN ../tmp-orig/bow-20020213/argp/argp-fs-xinl.c ./argp/argp-fs-xinl.c
--- ../tmp-orig/bow-20020213/argp/argp-fs-xinl.c 1997-03-14
16:12:42.000000000 +0100
+++ ./argp/argp-fs-xinl.c 2005-03-18 09:57:31.594093978 +0100
@@ -23,8 +23,6 @@
#endif
#define ARGP_FS_EI
-#undef __OPTIMIZE__
-#define __OPTIMIZE__
#include "argp-fmtstream.h"
/* Add weak aliases. */
diff -urN ../tmp-orig/bow-20020213/argp/argp-xinl.c ./argp/argp-xinl.c
--- ../tmp-orig/bow-20020213/argp/argp-xinl.c 1997-03-14 16:12:44.000000000
+0100
+++ ./argp/argp-xinl.c 2005-03-18 09:58:21.626423228 +0100
@@ -23,8 +23,6 @@
#endif
#define ARGP_EI
-#undef __OPTIMIZE__
-#define __OPTIMIZE__
#include "argp.h"
/* Add weak aliases. */
diff -urN ../tmp-orig/bow-20020213/dv.c ./dv.c
--- ../tmp-orig/bow-20020213/dv.c 1999-03-17 22:08:53.000000000 +0100
+++ ./dv.c 2005-03-18 09:55:16.845139074 +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 ../tmp-orig/bow-20020213/multiclass.c ./multiclass.c
--- ../tmp-orig/bow-20020213/multiclass.c 1999-10-15 22:17:42.000000000
+0200
+++ ./multiclass.c 2005-03-18 09:55:16.846138881 +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 ../tmp-orig/bow-20020213/svm_base.c ./svm_base.c
--- ../tmp-orig/bow-20020213/svm_base.c 2002-02-13 23:49:41.000000000 +0100
+++ ./svm_base.c 2005-03-18 09:55:16.847138688 +0100
@@ -261,7 +261,6 @@
case 4:
kernel = svm_kernel_fisher;
break;
- default:
}
break;
case AL_TEST_IN_TRAIN_ARG:
---------------------------------------
Received: (at 300181-close) by bugs.debian.org; 6 Apr 2005 18:28:39 +0000
>From [EMAIL PROTECTED] Wed Apr 06 11:28:39 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 1DJFGZ-000385-00; Wed, 06 Apr 2005 11:28:39 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DJF5K-0001CD-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#300181: 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:
X-CrossAssassin-Score: 2
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]