Package: cdebootstrap Version: cdebootstrap: FTBFS with unused results Severity: normal
Hi, cdeboostrap fails to build when unused result warnings are set as errors in the compiler Toolchain. Please consider to add "-Wno-error=unused-result" at CFLAGS_* in debian/control or fix following lines handling retry code: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../../include -Wall -W -Werror -Wno-error=unused-result -Os -fomit-frame-pointer -std=gnu99 -MT check.o -MD -MP -MF .deps/check.Tpo -c -o check.o ../../src/check.c ../../src/check.c: In function ‘check_md5’: ../../src/check.c:50:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] [...] x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../../include -Wall -W -Werror -Wno-error=unused-result -Os -fomit-frame-pointer -std=gnu99 -MT execute.o -MD -MP -MF .deps/execute.Tpo -c -o execute.o ../../src/execute.c ../../src/execute.c: In function ‘internal_di_exec’: ../../src/execute.c:88:8: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] ../../src/execute.c:93:10: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] ../../src/execute.c:101:10: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] ../../src/execute.c:157:12: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] ../../src/execute.c: In function ‘internal_di_exec_child’: ../../src/execute.c:67:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] ../../src/execute.c:74:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] Thank you very much! Leo Iannacone. -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric'), (100, 'oneiric-backports') Architecture: i386 (i686) Kernel: Linux 3.0.0-13-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

