[Splashy-devel] Bug#501997: splashy: FTBFS when DEB_BUILD_OPTIONS is set to noopt, nostrip

Patrick Schoenfeld schoenfeld at in-medias-res.com
Sun Oct 12 15:08:59 UTC 2008


Package: splashy
Severity: serious
Tags: patch
thanks

Hi,

because I intend to debug a segfault in splashy I tried to built the
package with DEB_BUILD_OPTIONS=noopt,nostrip. This did not work, because

creating splashy
cc -DHAVE_CONFIG_H -I. -I..  -D_REENTRANT -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/directfb
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -g -Wall
-O0 -Wall -Werror -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -c -o
splashy_config-splashy_config-main.o `test -f 'splashy_config-main.c' ||
echo './'`splashy_config-main.c
cc1: warnings being treated as errors
splashy_config-main.c: In function ‘main’:
splashy_config-main.c:154: error: implicit declaration of function
‘setlocale’
splashy_config-main.c:154: error: ‘LC_ALL’ undeclared (first use in this
function)
splashy_config-main.c:154: error: (Each undeclared identifier is
reported only once
splashy_config-main.c:154: error: for each function it appears in.)

The fix is simple. Its just neccessary to add

#include <locale.h>

at line 44 of src/splashy_config-main.c

Thanks and best Regards,
Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/splashy-devel/attachments/20081012/0c366e70/attachment.pgp 


More information about the Splashy-devel mailing list