Source: netperf Version: 2.4.4-6.1 Severity: serious Tags: wheezy Justification: fails to build from source (but built successfully in the past) Control: fixed -1 2.6.0-2
netperf (from wheezy) FTBFS in a minimal pbuilder wheezy chroot due to -Werror=format-security. The version from jessie+ builds fine in jessie+. [...] make[4]: Entering directory `/tmp/buildd/netperf-2.4.4/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c `test -f 'netperf.c' || echo './'`netperf.c netperf.c: In function 'main': netperf.c:148:5: warning: implicit declaration of function 'send_tcp_mss' [-Wimplicit-function-declaration] gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c `test -f 'netlib.c' || echo './'`netlib.c netlib.c: In function 'allocate_buffer_ring': netlib.c:1256:52: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] netlib.c: In function 'alloc_sendfile_buf_ring': netlib.c:1630:52: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] netlib.c: In function 'bind_to_specific_processor': netlib.c:2015:5: warning: implicit declaration of function 'sched_setaffinity' [-Wimplicit-function-declaration] netlib.c: In function 'send_request': netlib.c:2154:13: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat] netlib.c: In function 'send_response': netlib.c:2192:13: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat] netlib.c:2213:13: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat] gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c `test -f 'netsh.c' || echo './'`netsh.c netsh.c: In function 'scan_cmd_line': netsh.c:476:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' [-Wformat] gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c `test -f 'nettest_bsd.c' || echo './'`nettest_bsd.c nettest_bsd.c: In function 'print_top_test_header': nettest_bsd.c:1172:3: error: format not a string literal and no format arguments [-Werror=format-security] nettest_bsd.c: In function 'send_tcp_mss': nettest_bsd.c:2821:3: error: format not a string literal and no format arguments [-Werror=format-security] nettest_bsd.c:2669:37: warning: variable 'tcp_stream_result' set but not used [-Wunused-but-set-variable] nettest_bsd.c: In function 'send_tcp_rr': nettest_bsd.c:5191:10: warning: variable 'bytes_xferd' set but not used [-Wunused-but-set-variable] nettest_bsd.c:5161:9: warning: unused variable 'cpu_title_latency' [-Wunused-variable] nettest_bsd.c:5135:9: warning: unused variable 'tput_title_latency' [-Wunused-variable] nettest_bsd.c: In function 'send_udp_rr': nettest_bsd.c:6858:7: warning: variable 'bytes_xferd' set but not used [-Wunused-but-set-variable] nettest_bsd.c: In function 'send_tcp_conn_rr': nettest_bsd.c:8245:10: warning: variable 'thruput' set but not used [-Wunused-but-set-variable] nettest_bsd.c:8227:9: warning: variable 'timed_out' set but not used [-Wunused-but-set-variable] nettest_bsd.c: In function 'send_tcp_cc': nettest_bsd.c:11424:10: warning: variable 'thruput' set but not used [-Wunused-but-set-variable] nettest_bsd.c:11409:9: warning: variable 'timed_out' set but not used [-Wunused-but-set-variable] nettest_bsd.c: In function 'recv_tcp_cc': nettest_bsd.c:11952:9: warning: variable 'send_message_ptr' set but not used [-Wunused-but-set-variable] nettest_bsd.c:11951:9: warning: variable 'recv_message_ptr' set but not used [-Wunused-but-set-variable] cc1: some warnings being treated as errors make[4]: *** [nettest_bsd.o] Error 1 make[4]: Leaving directory `/tmp/buildd/netperf-2.4.4/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/buildd/netperf-2.4.4/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/buildd/netperf-2.4.4' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/buildd/netperf-2.4.4' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Andreas -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org