[pkg-fso-maint] Bug#638600: nodm: FTBFS in Ubuntu because of unchecked return value of asprintf
Ilya Barygin
barygin at gmail.com
Sat Aug 20 06:57:39 UTC 2011
Package: nodm
Version: 0.11-1
Severity: minor
Hello,
nodm fails to build in Ubuntu because of -D_FORTIFY_SOURCE=2 compiler flag
enabled by default (see https://wiki.ubuntu.com/CompilerFlags). It causes
warnings to be generated, then the package fails to build because of -Werror.
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNODM_SESSION='"/usr/sbin/nodm"' -g -O2 -Wall -Werror -c -o nodm-xserver.o `test -f 'xserver.c' || echo './'`xserver.c
xserver.c: In function 'nodm_xserver_read_window_path':
xserver.c:413:17: error: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Werror=unused-result]
xserver.c:415:17: error: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors
make[2]: *** [nodm-xserver.o] Error 1
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric
APT policy: (500, 'oneiric')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-11-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
More information about the pkg-fso-maint
mailing list