[Chilli] Error building package on debian jessie/sid

Simone Piccardi piccardi at truelite.it
Tue Aug 26 11:02:16 UTC 2014


Hi,

I'm working to create a private Debian package for coova-chilli, and 
when I was trying to create it in jessie/sid I got the following error:


x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -D_GNU_SOURCE -Wall 
-Werror -fno-builtin -fno-strict-aliasing -O2 -fomit-frame-pointer 
-funroll-loops -pipe -I../bstring -DDEFCHILLICONF='"/etc/chilli.conf"' 
-DDEFPIDFILE='"/var/run/chilli.pid"' -DDEFSTATEDIR='"/var/run"' 
-DSBINDIR='"/usr/sbin"'   -DDEFLIBDIR='"/usr/lib/coova-chilli"' -g -O2 
-MT main-opt.o -MD -MP -MF .deps/main-opt.Tpo -c -o main-opt.o main-opt.c
main-opt.c: In function ‘main’:
main-opt.c:786:29: error: ‘ptr’ may be used uninitialized in this 
function [-Werror=maybe-uninitialized]
   _options.uamdomains[i++] = STRDUP(tok);
                              ^
cc1: all warnings being treated as errors
Makefile:752: set di istruzioni per l'obiettivo "main-opt.o" non riuscito
make[4]: *** [main-opt.o] Errore 1


I just used the command debuild -uc -us on the untarred directory of 
coova-chilli-1.3.0.tar.gz.

The same is working, with a lot of lintian warning and error, but 
compiling things, when building the package under current stable (wheezy).

Regards
Simone

PS I'm currently working under debian stable, and I have some patch to 
debian/ files to remove lintian errors and warning.  I can post them, if 
you give me directions.
-- 
Simone Piccardi                                 Truelite Srl
piccardi at truelite.it (email/jabber)             Via Monferrato, 6
Tel. +39-347-1032433                            50142 Firenze
http://www.truelite.it  Tel. +39-055-7879597    Fax. +39-055-7333336


More information about the Chilli mailing list