Your message dated Sat, 09 Jul 2011 15:02:31 +0000
with message-id <[email protected]>
and subject line Bug#633346: fixed in biosig4c++ 0.96.3+svn2677-2
has caused the Debian Bug report #633346,
regarding biosig4c++: FTBFS on big endian: error: 'for' loop initial 
declarations are only allowed in C99 mode
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
633346: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633346
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: biosig4c++
Version: 0.96.3+svn2677
Severity: important
Tags: patch

biosig4c++ fails to build on all big endian platforms with the following error:

| gcc -c -pipe -fPIC -W -O2 -D=HARDCODED_EVENTTABLE -D=WITH_ZLIB 
-D=__4HAERTEL__ -D=WITH_FAMOS -D=WITH_CHOLMOD  -Wextra  -I 
/usr/include/gdcm-2.0/ -o "crc4scp.o" "t220/crc4scp.c"
| cat "debian/upstream-files/eventcodes.txt" | awk "-F\t" '/^[^#]/ {print 
"\t"$1", \""$2,"\","}' > eventcodes.i
| gcc -c -pipe -fPIC -W -O2 -D=HARDCODED_EVENTTABLE -D=WITH_ZLIB 
-D=__4HAERTEL__ -D=WITH_FAMOS -D=WITH_CHOLMOD  -Wextra  -I 
/usr/include/gdcm-2.0/ -o "biosig.o" "biosig.c"
| biosig.c: In function 'mfer_swap8b':
| biosig.c:564:17: error: 'for' loop initial declarations are only allowed in 
C99 mode
| biosig.c:564:17: note: use option -std=c99 or -std=gnu99 to compile your code
| biosig.c: In function 'sopen':
| biosig.c:6272:19: warning: comparison between signed and unsigned integer 
expressions [-Wsign-compare]
| biosig.c:6272:19: warning: signed and unsigned type in conditional expression 
[-Wsign-compare]
| make[2]: *** [biosig.o] Error 1
| make[1]: *** [override_dh_auto_build] Error 2
| make[2]: Leaving directory 
`/build/buildd2-biosig4c++_0.96.3+svn2677-1-mips-jMXF92/biosig4c++-0.96.3+svn2677'
| make[1]: Leaving directory 
`/build/buildd2-biosig4c++_0.96.3+svn2677-1-mips-jMXF92/biosig4c++-0.96.3+svn2677'
| make: *** [build] Error 2

Full build logs are available on:
https://buildd.debian.org/status/package.php?p=biosig4c%2B%2B&suite=sid

The patch below fixes the problem.

--- biosig4c++-0.96.3+svn2677.orig/biosig.c
+++ biosig4c++-0.96.3+svn2677/biosig.c
@@ -561,7 +561,8 @@ void* mfer_swap8b(uint8_t *buf, int8_t l
        typedef uint64_t iType;
 #if __BYTE_ORDER == __BIG_ENDIAN
         if (FLAG_SWAP) {
-                for (unsigned k=len; k < sizeof(iType); buf[k++]=0);
+               unsigned k;
+                for (k=len; k < sizeof(iType); buf[k++]=0);
                 *(iType*)buf = bswap_64(*(iType*)buf);
         }
         else

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



--- End Message ---
--- Begin Message ---
Source: biosig4c++
Source-Version: 0.96.3+svn2677-2

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

biosig-tools_0.96.3+svn2677-2_amd64.deb
  to main/b/biosig4c++/biosig-tools_0.96.3+svn2677-2_amd64.deb
biosig4c++_0.96.3+svn2677-2.debian.tar.gz
  to main/b/biosig4c++/biosig4c++_0.96.3+svn2677-2.debian.tar.gz
biosig4c++_0.96.3+svn2677-2.dsc
  to main/b/biosig4c++/biosig4c++_0.96.3+svn2677-2.dsc
libbiosig-dev_0.96.3+svn2677-2_amd64.deb
  to main/b/biosig4c++/libbiosig-dev_0.96.3+svn2677-2_amd64.deb
libbiosig0-dbg_0.96.3+svn2677-2_amd64.deb
  to main/b/biosig4c++/libbiosig0-dbg_0.96.3+svn2677-2_amd64.deb
libbiosig0_0.96.3+svn2677-2_amd64.deb
  to main/b/biosig4c++/libbiosig0_0.96.3+svn2677-2_amd64.deb
octave-biosig_0.96.3+svn2677-2_amd64.deb
  to main/b/biosig4c++/octave-biosig_0.96.3+svn2677-2_amd64.deb
python-biosig_0.96.3+svn2677-2_amd64.deb
  to main/b/biosig4c++/python-biosig_0.96.3+svn2677-2_amd64.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.
Yaroslav Halchenko <[email protected]> (supplier of updated biosig4c++ 
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.8
Date: Sat, 09 Jul 2011 10:40:56 -0400
Source: biosig4c++
Binary: libbiosig0 libbiosig0-dbg libbiosig-dev biosig-tools python-biosig 
octave-biosig
Architecture: source amd64
Version: 0.96.3+svn2677-2
Distribution: unstable
Urgency: low
Maintainer: NeuroDebian Team <[email protected]>
Changed-By: Yaroslav Halchenko <[email protected]>
Description: 
 biosig-tools - format conversion tools for biomedical data formats
 libbiosig-dev - I/O library for biomedical data - development files
 libbiosig0 - I/O library for biomedical data - dynamic library
 libbiosig0-dbg - I/O library for biomedical data - debug symbols
 octave-biosig - Octave bindings for BioSig library
 python-biosig - Python bindings for BioSig library
Closes: 633346
Changes: 
 biosig4c++ (0.96.3+svn2677-2) unstable; urgency=low
 .
   * up_for_loop_initial patch to prevent FTBFS. Thanks Aurelien Jarno for
     report and patch (Closes: #633346)
Checksums-Sha1: 
 ec548aa3fcd7418e6399d58df1eb73d9f41be7e1 1510 biosig4c++_0.96.3+svn2677-2.dsc
 c2ae123391e20bdd59625ba75fe431d17a150a62 11044 
biosig4c++_0.96.3+svn2677-2.debian.tar.gz
 bb7c82c5905fb3df6846023b4b725f93a313dd4d 308740 
libbiosig0_0.96.3+svn2677-2_amd64.deb
 06ad982c517c709573694fadb307c6c221490006 57314 
libbiosig0-dbg_0.96.3+svn2677-2_amd64.deb
 a38dbcc3362bad96591a09589377e65011940d12 385834 
libbiosig-dev_0.96.3+svn2677-2_amd64.deb
 6230feb311625f8c5adfbedf5065bc249e1e9b26 13604 
biosig-tools_0.96.3+svn2677-2_amd64.deb
 62284ee610c7a11107f8c8eaa3911f7442c2aea7 38048 
python-biosig_0.96.3+svn2677-2_amd64.deb
 c050d03172afe2ebd7f47f01b47f11e6b719528c 18034 
octave-biosig_0.96.3+svn2677-2_amd64.deb
Checksums-Sha256: 
 880e4d686eebc6767a582e4ea03dc5f1d66195f05d93d68b44d30bb2cc322574 1510 
biosig4c++_0.96.3+svn2677-2.dsc
 686263e953fca7e898f44660a609a2d15131e76ac3d05f7f70d6618db4beb195 11044 
biosig4c++_0.96.3+svn2677-2.debian.tar.gz
 75a1448fbca9d344691bb0eb36b8202165e826d997bf1ff293e9f8fc26516de0 308740 
libbiosig0_0.96.3+svn2677-2_amd64.deb
 cbdf3c8e94583163db288a1e948b917e09aba9a02fe2fb4d9c53761c29d31bbb 57314 
libbiosig0-dbg_0.96.3+svn2677-2_amd64.deb
 4891cc53f8d3c02f7a762a1d48a24a06bb7cfaacced7fd271beedb7f64185858 385834 
libbiosig-dev_0.96.3+svn2677-2_amd64.deb
 d0a6c4b8effac46f6680977706406548246db1ed58f87826ef37724f31038de0 13604 
biosig-tools_0.96.3+svn2677-2_amd64.deb
 ef89eec44b97a5d366f0ea2d986fb6220e87571ccd354badc99b65ba36a2d620 38048 
python-biosig_0.96.3+svn2677-2_amd64.deb
 c12a49a9713962c4080792aadedebaba68584569c9005a41eaf4fa0b2eda30bb 18034 
octave-biosig_0.96.3+svn2677-2_amd64.deb
Files: 
 3cb117a66ba4e958f059c01d8050315f 1510 science extra 
biosig4c++_0.96.3+svn2677-2.dsc
 dcf3474c69051fa7297886ad2fa970b9 11044 science extra 
biosig4c++_0.96.3+svn2677-2.debian.tar.gz
 0bee4021bc0b356670551ee04b852709 308740 libs extra 
libbiosig0_0.96.3+svn2677-2_amd64.deb
 12dc3cea673400bae25ed9f06a3bfeed 57314 debug extra 
libbiosig0-dbg_0.96.3+svn2677-2_amd64.deb
 6fd022032ac70cc3d5e90586a5a2b04f 385834 libdevel extra 
libbiosig-dev_0.96.3+svn2677-2_amd64.deb
 3d6db07f686517cd9f7482448eb68adc 13604 science extra 
biosig-tools_0.96.3+svn2677-2_amd64.deb
 ede01f13de760d8f4a59417c5a4916c4 38048 python extra 
python-biosig_0.96.3+svn2677-2_amd64.deb
 a9a8653395006c5dd03cd16d57c7f99c 18034 science extra 
octave-biosig_0.96.3+svn2677-2_amd64.deb

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

iEYEARECAAYFAk4YaxIACgkQjRFFY3XAJMhInwCbB4iC32PuHwt4aqKGYy6ZCBnv
nE4AoLulkONBZ2O/CO30lohK3k6u+too
=gzS+
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to