Your message dated Wed, 30 Mar 2005 13:32:04 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#284751: fixed in brutefir 1.0c-1
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; 8 Dec 2004 14:09:56 +0000
>From [EMAIL PROTECTED] Wed Dec 08 06:09:55 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c158081.adsl.hansenet.de (localhost.localdomain) [213.39.158.81] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Cc2Vu-0001a8-00; Wed, 08 Dec 2004 06:09:55 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1Cc2Zr-00031J-16; Wed, 08 Dec 2004 15:14:03 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: brutefir: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 08 Dec 2004 15:14:03 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (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_2004_03_25
X-Spam-Level: 

Package: brutefir
Severity: normal
Tags: patch

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

bfrun.c:2269: error: invalid lvalue in assignment
bfrun.c:2270: error: invalid lvalue in assignment
bfrun.c:2339: error: invalid lvalue in assignment
bfrun.c:2340: error: invalid lvalue in assignment
bfrun.c:2385: error: invalid lvalue in assignment
bfrun.c:2465: error: invalid lvalue in assignment
bfrun.c:2466: error: invalid lvalue in assignment
bfrun.c: In function 'bf_reset_peak':
bfrun.c:2515: error: invalid lvalue in assignment
bfrun.c: In function 'bf_register_process':
bfrun.c:2614: error: invalid lvalue in assignment
bfrun.c:2615: error: invalid lvalue in assignment
bfrun.c: In function 'bf_make_realtime':
bfrun.c:2637: error: invalid lvalue in assignment
bfrun.c: In function 'bf_exit':
bfrun.c:2682: error: invalid lvalue in assignment
bfrun.c:2685: error: invalid lvalue in assignment
make[1]: *** [bfrun.o] Error 1
make[1]: Leaving directory `/brutefir-1.0'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/brutefir-1.0/bfio_jack.c ./bfio_jack.c
--- ../tmp-orig/brutefir-1.0/bfio_jack.c        2004-04-21 21:49:00.000000000 
+0200
+++ ./bfio_jack.c       2004-12-08 15:03:52.164319736 +0100
@@ -101,13 +101,13 @@
                        sizeof(jack_default_audio_sample_t));
             }
         }
-        (volatile bool_t)stopped = true;
+        stopped = true;
         return -1;
     }
     frames_left = process_cb(states, n_handles, iobufs, n_frames,
                              BF_CALLBACK_EVENT_NORMAL);
     if (frames_left == -1) {
-        (volatile bool_t)stopped = true;
+        stopped = true;
         return -1;
     }
     
@@ -432,7 +432,7 @@
 bfio_synch_stop(void)
 {
     if (!(volatile bool_t)stopped) {
-        (volatile bool_t)stopped = true;
+        stopped = true;
         jack_client_close(client);
     }
 }    
diff -urN ../tmp-orig/brutefir-1.0/bflogic_eq.c ./bflogic_eq.c
--- ../tmp-orig/brutefir-1.0/bflogic_eq.c       2004-04-21 21:49:00.000000000 
+0200
+++ ./bflogic_eq.c      2004-12-08 15:06:13.390850040 +0100
@@ -113,7 +113,7 @@
         active = c[(volatile int)equalisers[n].active_coeff];
         if (*coeff == c[0] || *coeff == c[1]) {
             *coeff = active;
-            (volatile bool_t)equalisers[n].not_changed = false;
+            equalisers[n].not_changed = false;
         }
     }
 }
diff -urN ../tmp-orig/brutefir-1.0/bfrun.c ./bfrun.c
--- ../tmp-orig/brutefir-1.0/bfrun.c    2004-04-21 21:49:00.000000000 +0200
+++ ./bfrun.c   2004-12-08 15:02:57.000000000 +0100
@@ -496,7 +496,7 @@
     if (delay < 0 || delay > bfconf->maxdelay[io][channel]) {
        return -1;
     }
-    (volatile int)icomm->delay[io][channel] = delay;
+    icomm->delay[io][channel] = delay;
 
     if (bfconf->n_virtperphys[io][physch] == 1) {
        return dai_change_delay(io, physch, delay);
@@ -601,7 +601,7 @@
     }
     
     if ((volatile bool_t)icomm->doreset_overflow) {
-        (volatile bool_t)icomm->doreset_overflow = false;
+        icomm->doreset_overflow = false;
         memset(overflow, 0, sizeof(struct bfoverflow) *
                bfconf->n_channels[OUT]);    
     }
@@ -631,7 +631,7 @@
                 pinfo("rti: not full processing - no rti update\n");
             }
         }
-        (volatile double)icomm->realtime_index = max_rti;
+        icomm->realtime_index = max_rti;
         check_overflows(overflow);
         lastprinttime = tt;
     }
@@ -1324,10 +1324,10 @@
         if (bit_find(partial_proc, 0, n_filters - 1) == -1) {
             timersub(&period_end, &period_start, &tv);
             period_length = tv.tv_sec * 1000000 + tv.tv_usec;
-            (volatile uint32_t)icomm->period_us[process_index] = period_length;
-            (volatile bool_t)icomm->full_proc[process_index] = true;
+            icomm->period_us[process_index] = period_length;
+            icomm->full_proc[process_index] = true;
         } else {
-            (volatile bool_t)icomm->full_proc[process_index] = false;
+            icomm->full_proc[process_index] = false;
         }
         gettimeofday(&period_start, NULL);
 
@@ -2078,9 +2078,9 @@
     memset(&icomm->debug, 0xFF, sizeof(icomm->debug));
     memcpy(icomm->fctrl, bfconf->initfctrl, bfconf->n_filters *
           sizeof(struct bffilter_control));
-    (volatile pid_t)icomm->pids[0] = getpid();
-    (volatile int)icomm->n_pids = 1;
-    (volatile int)icomm->exit_status = BF_EXIT_OK;
+    icomm->pids[0] = getpid();
+    icomm->n_pids = 1;
+    icomm->exit_status = BF_EXIT_OK;
     FOR_IN_AND_OUT {
        memcpy(icomm->delay[IO], bfconf->delay[IO], bfconf->n_channels[IO] *
               sizeof(int));
@@ -2266,8 +2266,8 @@
            return;
            
        default:
-           (volatile pid_t)icomm->pids[icomm->n_pids] = pid;
-           (volatile int)icomm->n_pids += 1;
+           icomm->pids[icomm->n_pids] = pid;
+           icomm->n_pids += 1;
             break;
        }
     }
@@ -2336,8 +2336,8 @@
                return;
                
            default:
-               (volatile pid_t)icomm->pids[icomm->n_pids] = pid;
-               (volatile int)icomm->n_pids += 1;
+               icomm->pids[icomm->n_pids] = pid;
+               icomm->n_pids += 1;
                 close(synch_pipe[1]);
                 if (!readfd(synch_pipe[0], dummydata, 1)) {
                     bf_exit(BF_EXIT_OTHER);
@@ -2382,7 +2382,7 @@
         dai_trigger_callback_io();
         for (n = 0; n < icomm->n_pids; n++) {
             if ((volatile pid_t)icomm->pids[n] == getpid()) {
-                (volatile pid_t)icomm->pids[n] = 0;
+                icomm->pids[n] = 0;
                 break;
             }
         }
@@ -2462,8 +2462,8 @@
             /* never reached */
             return;
         } else {
-            (volatile pid_t)icomm->pids[icomm->n_pids] = pid;  
-            (volatile int)icomm->n_pids += 1;
+            icomm->pids[icomm->n_pids] = pid;  
+            icomm->n_pids += 1;
         }
     }
 
@@ -2512,7 +2512,7 @@
 void
 bf_reset_peak(void)
 {
-    (volatile bool_t)icomm->doreset_overflow = true;
+    icomm->doreset_overflow = true;
     memcpy(icomm->overflow, reset_overflow, sizeof(struct bfoverflow) *
           bfconf->n_channels[OUT]);
 }
@@ -2611,8 +2611,8 @@
 void
 bf_register_process(pid_t pid)
 {
-    (volatile pid_t)icomm->pids[icomm->n_pids] = pid;  
-    (volatile int)icomm->n_pids += 1;
+    icomm->pids[icomm->n_pids] = pid;  
+    icomm->n_pids += 1;
 }
 
 void
@@ -2634,7 +2634,7 @@
             pinfo("Warning: not allowed to set realtime priority. Will run "
                   "with default priority\n  instead, which is less "
                   "reliable (underflow may occur).\n");
-            (volatile bool_t)icomm->ignore_rtprio = true;
+            icomm->ignore_rtprio = true;
             return;
         } else {
             if (name != NULL) {
@@ -2679,10 +2679,10 @@
     self = getpid();
     
     if (icomm != NULL) {
-        (volatile int)icomm->exit_status = status;
+        icomm->exit_status = status;
         for (n = 0; n < icomm->n_pids; n++) {
             if ((volatile pid_t)icomm->pids[n] == self) {
-                (volatile pid_t)icomm->pids[n] = 0;
+                icomm->pids[n] = 0;
                 self_pos = n;
             }
         }
diff -urN ../tmp-orig/brutefir-1.0/dai.c ./dai.c
--- ../tmp-orig/brutefir-1.0/dai.c      2004-04-21 21:49:01.000000000 +0200
+++ ./dai.c     2004-12-08 15:05:40.138905104 +0100
@@ -957,8 +957,8 @@
     if ((io != IN && io != OUT) || channel < 0 || channel >= BF_MAXCHANNELS) {
        return;
     }
-    (volatile bool_t)ca->is_muted[io][channel] =
-       (volatile bool_t)!ca->is_muted[io][channel];
+    ca->is_muted[io][channel] =
+       !ca->is_muted[io][channel];
 }
 
 int
@@ -975,7 +975,7 @@
     {
        return -1;
     }
-    (volatile int)ca->delay[io][channel] = delay;      
+    ca->delay[io][channel] = delay;    
     return 0;
 }
 
@@ -1305,9 +1305,9 @@
                if ((volatile int)ca->frames_left == -1 ||
                    frames_left < (volatile int)ca->frames_left)
                {
-                   (volatile int)ca->frames_left = frames_left;
+                   ca->frames_left = frames_left;
                }
-               (volatile int)ca->lastbuf_index = buf_index;
+               ca->lastbuf_index = buf_index;
                break;
                
            default:
@@ -1567,11 +1567,11 @@
                 bfconf->iomods[n].stop(OUT);
             }
        }
-       (volatile bool_t)ca->blocking_stopped = true;
+       ca->blocking_stopped = true;
         for (n = 0; n < n_devs[OUT]; n++) {
             sd = dev[OUT][n];
             if (!sd->uses_callback) {
-                (volatile bool_t)sd->finished = true;
+                sd->finished = true;
             }
         }
         if (output_finish()) {
@@ -1680,7 +1680,7 @@
         {
             bf_exit(BF_EXIT_OTHER);
         }
-        (volatile int)callback_ready_waiting[io] = 0;
+        callback_ready_waiting[io] = 0;
     }
     cbmutex(io, false);    
 }
@@ -1713,14 +1713,14 @@
         if ((volatile int)ca->cb_frames_left == -1 ||
             frame_count < (volatile int)ca->cb_frames_left)
         {
-            (volatile int)ca->cb_frames_left = frame_count;
+            ca->cb_frames_left = frame_count;
         }
-        (volatile int)ca->cb_lastbuf_index = (volatile 
int)ca->cb_buf_index[IN];
+        ca->cb_lastbuf_index = (volatile int)ca->cb_buf_index[IN];
         return 0;
     case BF_CALLBACK_EVENT_FINISHED:
         for (n = 0; n < state_count[OUT]; n++) {
             sd = (struct subdev *)states[OUT][n];
-            (volatile bool_t)sd->finished = true;
+            sd->finished = true;
         }
         cbmutex(IN, true);
         trigger_callback_ready(IN);
@@ -1878,7 +1878,7 @@
 
         if (sd->cb.frames_left != -1) {
             if (sd->cb.frames_left > sd->block_size_frames) {
-                (volatile int)sd->cb.frames_left -= sd->block_size_frames;
+                sd->cb.frames_left -= sd->block_size_frames;
                 return 0;
             }
             if (sd->cb.frames_left == 0) {
diff -urN ../tmp-orig/brutefir-1.0/rendereq.h ./rendereq.h
--- ../tmp-orig/brutefir-1.0/rendereq.h 2004-04-21 21:49:01.000000000 +0200
+++ ./rendereq.h        2004-12-08 15:06:01.374676776 +0100
@@ -93,8 +93,8 @@
     }
     gettimeofday(&tv2, NULL);
     timersub(&tv2, &tv1, &tv1);
-    (volatile int)eq->active_coeff = !eq->active_coeff;
-    (volatile bool_t)eq->not_changed = true;
+    eq->active_coeff = !eq->active_coeff;
+    eq->not_changed = true;
 
     if (debug) {
         fprintf(stderr, "EQ: rendering coefficient set %d took %.2f ms\n",

---------------------------------------
Received: (at 284751-close) by bugs.debian.org; 30 Mar 2005 18:45:45 +0000
>From [EMAIL PROTECTED] Wed Mar 30 10:45:45 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 1DGiCH-00008D-00; Wed, 30 Mar 2005 10:45:45 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DGhz2-0000jE-00; Wed, 30 Mar 2005 13:32:04 -0500
From: Free Ekanayaka <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#284751: fixed in brutefir 1.0c-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 30 Mar 2005 13:32:04 -0500
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=-3.4 required=4.0 tests=ADDR_FREE,BAYES_00,
        HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: brutefir
Source-Version: 1.0c-1

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

brutefir_1.0c-1.diff.gz
  to pool/main/b/brutefir/brutefir_1.0c-1.diff.gz
brutefir_1.0c-1.dsc
  to pool/main/b/brutefir/brutefir_1.0c-1.dsc
brutefir_1.0c-1_i386.deb
  to pool/main/b/brutefir/brutefir_1.0c-1_i386.deb
brutefir_1.0c.orig.tar.gz
  to pool/main/b/brutefir/brutefir_1.0c.orig.tar.gz



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.
Free Ekanayaka <[EMAIL PROTECTED]> (supplier of updated brutefir 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, 22 Mar 2005 13:00:44 +0100
Source: brutefir
Binary: brutefir
Architecture: source i386
Version: 1.0c-1
Distribution: unstable
Urgency: low
Maintainer: Free Ekanayaka <[EMAIL PROTECTED]>
Changed-By: Free Ekanayaka <[EMAIL PROTECTED]>
Description: 
 brutefir   - a software convolution engine
Closes: 269715 284751
Changes: 
 brutefir (1.0c-1) unstable; urgency=low
 .
   * New upstream release
   * Using dpatch
   * Added dpatch for the Makefile
   * Bug fix: "brutefir: FTBFS (amd64/gcc-4.0): invalid lvalue in
     assignment", thanks to Andreas Jochens (Closes: #284751).
   * Bug fix: "brutefir: ftbfs [sparc] Requires v9|v9a|v9b", thanks to
     Blars Blarson (Closes: #269715).
Files: 
 fb2a44c7cc85c6217a7634b77185110c 690 sound optional brutefir_1.0c-1.dsc
 37509097a730f63760660497cc6280cf 235337 sound optional 
brutefir_1.0c.orig.tar.gz
 be016b94b40d02e6a5ba4add003e6b5a 6980 sound optional brutefir_1.0c-1.diff.gz
 53992dd54e91e7a27b0890880588aa8f 172008 sound optional brutefir_1.0c-1_i386.deb

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

iD8DBQFCSuzL1pbKhmC2uVgRAkP8AJ91CLprm1hA7EHcvcKLhuN6vah2uACgkXDu
Ir/4/opjrRINQ7sDeOJzAEw=
=pvaA
-----END PGP SIGNATURE-----


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

Reply via email to