Your message dated Fri, 7 Sep 2012 14:47:47 -0400
with message-id <[email protected]>
and subject line was fixed a while ago
has caused the Debian Bug report #633346,
regarding biosig4c++: FTBFS on sparc: 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 ---
Version: biosig4c++/1.3.0-2
According to
https://buildd.debian.org/status/logs.php?pkg=biosig4c%2B%2B&arch=sparc
there were no problem building it on sparc in a while
--
Yaroslav O. Halchenko
Postdoctoral Fellow, Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
--- End Message ---