[pkg-dhcp-devel] Bug#643470: isc-dhcp: FTBFS: comapi.c:425:15: error: variable 'status' set but not used [-Werror=unused-but-set-variable]

Didier Raboud odyx at debian.org
Tue Sep 27 12:41:57 UTC 2011


Source: isc-dhcp
Version: 4.1.1-P1-17
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110923 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -DHAVE_CONFIG_H -I. -I../includes  -I.. -DLOCALSTATEDIR='"/var"'   -g -O2  -Wall -Werror -fno-strict-aliasing -MT comapi.o -MD -MP -MF .deps/comapi.Tpo -c -o comapi.o comapi.c
> comapi.c: In function 'dhcp_group_remove':
> comapi.c:425:15: error: variable 'status' set but not used [-Werror=unused-but-set-variable]
> comapi.c: In function 'dhcp_control_signal_handler':
> comapi.c:514:25: error: variable 'control' set but not used [-Werror=unused-but-set-variable]
> comapi.c: In function 'dhcp_subnet_set_value':
> comapi.c:615:17: error: variable 'subnet' set but not used [-Werror=unused-but-set-variable]
> comapi.c: In function 'dhcp_subnet_get_value':
> comapi.c:640:17: error: variable 'subnet' set but not used [-Werror=unused-but-set-variable]
> comapi.c: In function 'dhcp_subnet_destroy':
> comapi.c:661:17: error: variable 'subnet' set but not used [-Werror=unused-but-set-variable]
> comapi.c: In function 'dhcp_subnet_signal_handler':
> comapi.c:688:17: error: variable 'subnet' set but not used [-Werror=unused-but-set-variable]
> comapi.c: In function 'dhcp_subnet_stuff_values':
> comapi.c:714:17: error: variable 'subnet' set but not used [-Werror=unused-but-set-variable]
> comapi.c: In function 'dhcp_shared_network_set_value':
> comapi.c:764:25: error: variable 'shared_network' set but not used [-Werror=unused-but-set-variable]
> comapi.c: In function 'dhcp_shared_network_get_value':
> comapi.c:790:25: error: variable 'shared_network' set but not used [-Werror=unused-but-set-variable]
> comapi.c: In function 'dhcp_shared_network_destroy':
> comapi.c:812:25: error: variable 'shared_network' set but not used [-Werror=unused-but-set-variable]
> comapi.c: In function 'dhcp_shared_network_signal_handler':
> comapi.c:852:25: error: variable 'shared_network' set but not used [-Werror=unused-but-set-variable]
> comapi.c: In function 'dhcp_shared_network_stuff_values':
> comapi.c:878:25: error: variable 'shared_network' set but not used [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors
> 
> make[2]: *** [comapi.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/09/23/isc-dhcp_4.1.1-P1-17_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the pkg-dhcp-devel mailing list