Your message dated Tue, 30 Aug 2005 04:17:09 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#298421: fixed in sphinx2 0.5-3
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; 7 Mar 2005 13:11:58 +0000
>From [EMAIL PROTECTED] Mon Mar 07 05:11:58 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 1D8I1e-00043k-00; Mon, 07 Mar 2005 05:11:58 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1D8Ixy-0001kR-FR; Mon, 07 Mar 2005 15:12:14 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: sphinx2: FTBFS (amd64/gcc-4.0): invalid storage class for function 
'block_actual_cdcn_norm'
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 07 Mar 2005 15:12:14 +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: sphinx2
Severity: normal
Tags: patch

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

fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include 
-I../../include -I../../include -DFAST8B=1 -g -O2 -Wall -DAD_BACKEND_OSS -MT 
blk_cdcn_norm.lo -MD -MP -MF .deps/blk_cdcn_norm.Tpo -c blk_cdcn_norm.c  -fPIC 
-DPIC -o .libs/blk_cdcn_norm.o
blk_cdcn_norm.c: In function 'block_cdcn_norm':
blk_cdcn_norm.c:49: error: invalid storage class for function 
'block_actual_cdcn_norm'
blk_cdcn_norm.c:78: warning: implicit declaration of function 
'block_actual_cdcn_norm'
blk_cdcn_norm.c: At top level:
blk_cdcn_norm.c:102: warning: conflicting types for 'block_actual_cdcn_norm'
blk_cdcn_norm.c:102: error: static declaration of 'block_actual_cdcn_norm' 
follows non-static declaration
blk_cdcn_norm.c:78: error: previous implicit declaration of 
'block_actual_cdcn_norm' was here
make[5]: *** [blk_cdcn_norm.lo] Error 1
make[5]: Leaving directory `/sphinx2-0.5/src/libsphinx2'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/sphinx2-0.5/src/libsphinx2/blk_cdcn_norm.c 
./src/libsphinx2/blk_cdcn_norm.c
--- ../tmp-orig/sphinx2-0.5/src/libsphinx2/blk_cdcn_norm.c      2004-07-16 
02:57:11.000000000 +0200
+++ ./src/libsphinx2/blk_cdcn_norm.c    2005-03-07 14:52:40.954556643 +0100
@@ -36,6 +36,8 @@
 #include <math.h>
 #include "cdcn.h"
 
+static void block_actual_cdcn_norm();
+
 /************************************************************************
  *   Dummy routine to convert from suitcase to sane varibles
  ***************************************************************************/
@@ -46,7 +48,6 @@
 {
     /* Multidimensional arrays in C suck, so we have to
        forward-declare-hack this. */
-    static void block_actual_cdcn_norm();
     float *variance, *prob, *tilt, *noise, *codebook, *corrbook;
     int    num_codes;
 
diff -urN ../tmp-orig/sphinx2-0.5/src/libsphinx2/cdcn_norm.c 
./src/libsphinx2/cdcn_norm.c
--- ../tmp-orig/sphinx2-0.5/src/libsphinx2/cdcn_norm.c  2004-07-16 
02:57:11.000000000 +0200
+++ ./src/libsphinx2/cdcn_norm.c        2005-03-07 14:53:38.791393067 +0100
@@ -36,6 +36,8 @@
 #include <math.h>
 #include "cdcn.h"
 
+static void actual_cdcn_norm();
+
 /************************************************************************
  *   Dummy routine to convert from suitcase to sane varibles
  ***************************************************************************/
@@ -44,7 +46,6 @@
                CDCN_type *cdcn_variables)
 {
     /* Multidimensional arrays, yuck. */
-    static void actual_cdcn_norm();
     float *variance, *prob, *tilt, *noise, *codebook, *corrbook;
     int num_codes;
 
diff -urN ../tmp-orig/sphinx2-0.5/src/libsphinx2/cdcn_update.c 
./src/libsphinx2/cdcn_update.c
--- ../tmp-orig/sphinx2-0.5/src/libsphinx2/cdcn_update.c        2005-03-07 
15:04:19.924642521 +0100
+++ ./src/libsphinx2/cdcn_update.c      2005-03-07 14:55:24.187049760 +0100
@@ -37,6 +37,12 @@
 #include <math.h>
 #include "cdcn.h"
 
+static float initialize (float [][NUM_COEFF+1], int, float *, float [],
+         float, float [][NUM_COEFF+1], float *, float [][NUM_COEFF+1], int);
+static void correction(float *, float *, float *, float *, int);
+static float max_q (float *, float *, float *, float *, float *,
+                       float *, int, float *, int);
+
 /*************************************************************************
  *
  * cdcn_update finds the vectors x, noise
@@ -57,12 +63,6 @@
     float      *noise, *tilt, *codebook, *prob, *variance, *corrbook;
     int        num_codes;
     /* Multidimensional arrays, gar gar gar */
-    static float initialize (float [][NUM_COEFF+1], int, float *, float [],
-         float, float [][NUM_COEFF+1], float *, float [][NUM_COEFF+1], int);
-
-    static void correction(float *, float *, float *, float *, int);
-    static float max_q (float *, float *, float *, float *, float *,
-                       float *, int, float *, int);
 
     /*
      * If error, dont bother
diff -urN ../tmp-orig/sphinx2-0.5/src/libsphinx2/linklist.c 
./src/libsphinx2/linklist.c
--- ../tmp-orig/sphinx2-0.5/src/libsphinx2/linklist.c   2004-05-18 
21:02:40.000000000 +0200
+++ ./src/libsphinx2/linklist.c 2005-03-07 15:01:20.439286506 +0100
@@ -134,7 +134,7 @@
        cpp = list[i].freelist = (void **) malloc (list[i].n_malloc * 
elem_size);
        cp = (void *) cpp;
        for (j = list[i].n_malloc-1; j > 0; --j) {
-           (char*)cp += elem_size;
+           cp = (char*)cp + elem_size;
            *cpp = cp;
            cpp = (void **)cp;
        }
diff -urN ../tmp-orig/sphinx2-0.5/src/libsphinx2/search.c 
./src/libsphinx2/search.c
--- ../tmp-orig/sphinx2-0.5/src/libsphinx2/search.c     2004-07-24 
01:36:34.000000000 +0200
+++ ./src/libsphinx2/search.c   2005-03-07 15:03:14.278313473 +0100
@@ -2459,6 +2459,9 @@
     lm_next_frame ();
 }
 
+static void compute_phone_perplexity( void );
+static search_hyp_t *fwdtree_pscr_path ( void );
+
 void
 search_finish_fwd (void)
 {
@@ -2468,7 +2471,6 @@
     CHAN_T *hmm, /* *thmm,*/ **acl;
     /* int32 bp, bestbp, bestscore; */
     /* int32 l_scr; */
-    static void compute_phone_perplexity( void );
     
     if ((CurrentFrame > 0) && (topsen_window > 1)) {
        /* Wind up remaining frames */
@@ -2529,7 +2531,6 @@
     /* Get pscr-score for fwdtree recognition */
     {
        search_hyp_t *pscrpath;
-       static search_hyp_t *fwdtree_pscr_path ( void );
        
        if (query_phone_conf ()) {
            pscrpath = fwdtree_pscr_path ();

---------------------------------------
Received: (at 298421-close) by bugs.debian.org; 30 Aug 2005 11:19:46 +0000
>From [EMAIL PROTECTED] Tue Aug 30 04:19:46 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EA473-0000An-00; Tue, 30 Aug 2005 04:17:09 -0700
From: Isaac Clerencia <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#298421: fixed in sphinx2 0.5-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 30 Aug 2005 04:17:09 -0700
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-Level: 
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

Source: sphinx2
Source-Version: 0.5-3

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

libsphinx2-dev_0.5-3_i386.deb
  to pool/main/s/sphinx2/libsphinx2-dev_0.5-3_i386.deb
libsphinx2g0_0.5-3_i386.deb
  to pool/main/s/sphinx2/libsphinx2g0_0.5-3_i386.deb
sphinx2-bin_0.5-3_i386.deb
  to pool/main/s/sphinx2/sphinx2-bin_0.5-3_i386.deb
sphinx2-hmm-6k_0.5-3_all.deb
  to pool/main/s/sphinx2/sphinx2-hmm-6k_0.5-3_all.deb
sphinx2_0.5-3.diff.gz
  to pool/main/s/sphinx2/sphinx2_0.5-3.diff.gz
sphinx2_0.5-3.dsc
  to pool/main/s/sphinx2/sphinx2_0.5-3.dsc



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.
Isaac Clerencia <[EMAIL PROTECTED]> (supplier of updated sphinx2 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: Tue, 30 Aug 2005 12:17:16 +0200
Source: sphinx2
Binary: libsphinx2g0 sphinx2-hmm-6k libsphinx2-dev sphinx2-bin
Architecture: source all i386
Version: 0.5-3
Distribution: unstable
Urgency: low
Maintainer: Isaac Clerencia <[EMAIL PROTECTED]>
Changed-By: Isaac Clerencia <[EMAIL PROTECTED]>
Description: 
 libsphinx2-dev - speech recognition library - development kit
 libsphinx2g0 - speech recognition library
 sphinx2-bin - speech recognition utilities
 sphinx2-hmm-6k - speech recognition library - default acoustic model
Closes: 298421
Changes: 
 sphinx2 (0.5-3) unstable; urgency=low
 .
   * Switched packaging to CDBS
   * Applied patch to make it build in amd64 with gcc4, closes: #298421
   * Moved previous in-place patches to patches/10_oldpatches.patch
Files: 
 6ac83029b7940284e75cd2c526b8e6d6 683 sound optional sphinx2_0.5-3.dsc
 95da0230dcd9a23ab67cf1c6c55f7252 5760 sound optional sphinx2_0.5-3.diff.gz
 1c232fa88b544f9ce93dd2e43e0a0100 5971556 sound optional 
sphinx2-hmm-6k_0.5-3_all.deb
 bbbeb50125bb98eb753c4cdc12f837e6 136494 sound optional 
sphinx2-bin_0.5-3_i386.deb
 ca0267a7a7e88a9dcea9aa60924634d7 225514 libs optional 
libsphinx2g0_0.5-3_i386.deb
 07092010fa006b9adeb5ab9855eb8d02 281554 devel optional 
libsphinx2-dev_0.5-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Signed by Isaac Clerencia <[EMAIL PROTECTED]>

iD8DBQFDFD6IQET2GFTmct4RAkH2AKCFCo9HUNUz7vZ6pRSkxbvis+0i7ACfR04I
ncaquShWX+7KeIjcDADLWSo=
=wcg2
-----END PGP SIGNATURE-----


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

Reply via email to