Package: newt
Version: 0.52.10-5
Severity: important
Justification: fails to build from source

Building newt with pbuilder fails:

...
gcc -g -O2 -D_GNU_SOURCE -I/usr/include/slang -I/usr/include/tcl8.5   -c -o 
newt.o newt.c
newt.c:40: error: 'TRUE' undeclared here (not in a function)
newt.c:66: error: 'FALSE' undeclared here (not in a function)
newt.c:93: error: initializer element is not constant
newt.c:93: error: (near initialization for 
'extra_shaping_table[0].ar_node.is_shaped')
newt.c:94: error: initializer element is not constant
newt.c:94: error: (near initialization for 
'extra_shaping_table[1].ar_node.is_shaped')
newt.c:95: error: initializer element is not constant
newt.c:95: error: (near initialization for 
'extra_shaping_table[2].ar_node.is_shaped')
newt.c:96: error: initializer element is not constant
newt.c:96: error: (near initialization for 
'extra_shaping_table[3].ar_node.is_shaped')
newt.c:97: error: initializer element is not constant
newt.c:97: error: (near initialization for 
'extra_shaping_table[4].ar_node.is_shaped')
newt.c:98: error: initializer element is not constant
newt.c:98: error: (near initialization for 
'extra_shaping_table[5].ar_node.is_shaped')
newt.c:99: error: initializer element is not constant
newt.c:99: error: (near initialization for 
'extra_shaping_table[6].ar_node.is_shaped')
newt.c: In function 'do_shaping':
newt.c:130: warning: initialization makes integer from pointer without a cast
newt.c:130: warning: initialization makes integer from pointer without a cast
newt.c:165: warning: assignment makes integer from pointer without a cast
newt.c:175: warning: assignment makes integer from pointer without a cast
newt.c: In function 'write_string_int':
newt.c:435: warning: passing argument 1 of 'SLsmg_write_string' discards 
qualifiers from pointer target type
/usr/include/slang.h:1759: note: expected 'char *' but argument is of type 
'const char *'
newt.c: In function 'write_nstring_int':
newt.c:463: warning: passing argument 1 of 'SLsmg_write_nstring' discards 
qualifiers from pointer target type
/usr/include/slang.h:1760: note: expected 'char *' but argument is of type 
'const char *'
make[1]: *** [newt.o] Error 1
make[1]: Leaving directory `/tmp/buildd/newt-0.52.10/build-tree/newt-0.52.10'
make: *** [stampdir/build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=th_TH.UTF-8, LC_CTYPE=th_TH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to