/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare -Wnested-externs -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -Werror -Wno-error=missing-field-initializers -Wno-error=unused-parameter -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DG_LOG_DOMAIN=\"wocky\" -ggdb -O1 -O2 -O3 -pipe -march=core2 -mmmx -msse -m3dnow -fdiagnostics-show-option -MT wocky-sasl-scram.lo -MD -MP -MF .deps/wocky-sasl-scram.Tpo -c -o wocky-sasl-scram.lo wocky-sasl-scram.c libtool: compile: i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare -Wnested-externs -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -Werror -Wno-error=missing-field-initializers -Wno-error=unused-parameter -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DG_LOG_DOMAIN=\"wocky\" -ggdb -O1 -O2 -O3 -pipe -march=core2 -mmmx -msse -m3dnow -fdiagnostics-show-option -MT wocky-sasl-scram.lo -MD -MP -MF .deps/wocky-sasl-scram.Tpo -c wocky-sasl-scram.c -fPIC -DPIC -o .libs/wocky-sasl-scram.o cc1: warnings being treated as errors wocky-sasl-scram.c: In function 'scram_handle_auth_data': wocky-sasl-scram.c:528:60: error: 'attr' may be used uninitialized in this function [-Wuninitialized] wocky-sasl-scram.c:526:9: note: 'attr' was declared here make[8]: *** [wocky-sasl-scram.lo] Error 1 I believe -Werror is being added to CFLAGS by the package; my CFLAGS are CFLAGS="-ggdb -O1 -O2 -O3 -pipe -march=core2 -mmmx -msse -m3dnow -fdiagnostics-show-option"
./configure --help has: ... Optional Features: ... --disable-Werror compile without -Werror (normally enabled in development builds)
OK, that's confusing: the subdir lib/ext/wocky has its own autotools setup which appears to have been shipped in a development state: m4_define([wocky_nano_version], [1]) ... TP_COMPILER_WARNINGS([ERROR_CFLAGS], [test "x$official_release" = xno],
Upstreamed to https://bugs.freedesktop.org/show_bug.cgi?id=37701 with patch. I'd probably suggest though that we should turn off -Werror with --disable-Werror to configure.
Will commit this as soon as I am able to, thanks Ed
+ 20 Jun 2011; Pacho Ramos <pacho@gentoo.org> telepathy-salut-0.5.0.ebuild, + +files/telepathy-salut-0.5.0-uninitialized.patch: + Fix uninitialized variable and drop Werror, bug #369091 by Ed Catmur. +