Source: juman Version: 5.1-2 Severity: serious Tags: wheezy sid User: [email protected] Usertags: qa-ftbfs-20110923 qa-ftbfs hardening-format-security hardening 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. -I.. -g -O2 -fstack-protector > --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security > -Werror=format-security -Wall -c iotool.c -fPIC -DPIC -o .libs/iotool.o > iotool.c: In function 'getpath': > iotool.c:136:6: warning: implicit declaration of function 'getcwd' > [-Wimplicit-function-declaration] > iotool.c:131:12: warning: unused variable 'env' [-Wunused-variable] > iotool.c: In function 'my_strcpy': > iotool.c:307:6: warning: pointer targets in passing argument 1 of 'strcpy' > differ in signedness [-Wpointer-sign] > /usr/include/x86_64-linux-gnu/bits/string3.h:103:1: note: expected 'char * > __restrict__' but argument is of type 'unsigned char *' > iotool.c:307:6: warning: pointer targets in passing argument 2 of 'strcpy' > differ in signedness [-Wpointer-sign] > /usr/include/x86_64-linux-gnu/bits/string3.h:103:1: note: expected 'const > char * __restrict__' but argument is of type 'unsigned char *' > iotool.c: In function 'my_strcmp': > iotool.c:324:6: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:324:6: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:324:6: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:324:6: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:324:6: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:324:6: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:324:6: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:324:6: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:324:6: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:324:6: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:324:6: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:324:6: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:324:6: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c: In function 'compare_top_str1': > iotool.c:356:6: warning: pointer targets in passing argument 1 of 'strlen' > differ in signedness [-Wpointer-sign] > /usr/include/string.h:399:15: note: expected 'const char *' but argument is > of type 'unsigned char *' > iotool.c:357:6: warning: pointer targets in passing argument 1 of 'strlen' > differ in signedness [-Wpointer-sign] > /usr/include/string.h:399:15: note: expected 'const char *' but argument is > of type 'unsigned char *' > iotool.c: In function 'compare_top_str2': > iotool.c:378:6: warning: pointer targets in passing argument 1 of 'strlen' > differ in signedness [-Wpointer-sign] > /usr/include/string.h:399:15: note: expected 'const char *' but argument is > of type 'unsigned char *' > iotool.c:379:6: warning: pointer targets in passing argument 1 of 'strlen' > differ in signedness [-Wpointer-sign] > /usr/include/string.h:399:15: note: expected 'const char *' but argument is > of type 'unsigned char *' > iotool.c: In function 'compare_end_str': > iotool.c:400:6: warning: pointer targets in passing argument 1 of 'strlen' > differ in signedness [-Wpointer-sign] > /usr/include/string.h:399:15: note: expected 'const char *' but argument is > of type 'unsigned char *' > iotool.c:401:6: warning: pointer targets in passing argument 1 of 'strlen' > differ in signedness [-Wpointer-sign] > /usr/include/string.h:399:15: note: expected 'const char *' but argument is > of type 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:404:4: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:404:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 1 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:409:4: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:409:4: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c: In function 'print_current_time': > iotool.c:448:6: error: format not a string literal and no format arguments > [-Werror=format-security] > iotool.c: In function 'set_jumangram_dirname': > iotool.c:568:2: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:568:2: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:568:2: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:568:2: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:568:2: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:568:2: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:568:2: warning: pointer targets in passing argument 1 of > '__builtin_strlen' differ in signedness [-Wpointer-sign] > iotool.c:568:2: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:568:2: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:568:2: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:568:2: warning: pointer targets in passing argument 2 of > '__builtin_strcmp' differ in signedness [-Wpointer-sign] > iotool.c:568:2: note: expected 'const char *' but argument is of type > 'unsigned char *' > iotool.c:573:3: warning: pointer targets in passing argument 2 of 'strcpy' > differ in signedness [-Wpointer-sign] > /usr/include/x86_64-linux-gnu/bits/string3.h:103:1: note: expected 'const > char * __restrict__' but argument is of type 'unsigned char *' > iotool.c: In function 'cha_exit': > iotool.c:609:9: warning: the address of 'progpath' will always evaluate as > 'true' [-Waddress] > iotool.c: In function 'cha_exit_file': > iotool.c:631:9: warning: the address of 'progpath' will always evaluate as > 'true' [-Waddress] > iotool.c: At top level: > ./juman.h:439:13: warning: 'initialize_type_form' declared 'static' but never > defined [-Wunused-function] > iotool.c:589:13: warning: 'grammar_dir' defined but not used > [-Wunused-variable] > iotool.c:590:13: warning: 'chasenrc_path' defined but not used > [-Wunused-variable] > cc1: some warnings being treated as errors > > make[3]: *** [iotool.lo] Error 1 The full build log is available from: http://people.debian.org/~lucas/logs/2011/09/23/juman_5.1-2_lsid64.buildlog This happened because since dpkg 1.16.0 [0], hardening flags are enabled under various conditions. [0] http://lists.debian.org/debian-devel-announce/2011/09/msg00001.html 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. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

