Package: cdebootstrap Severity: normal Tags: patch When building 'cdebootstrap' on amd64 with gcc-4.0, I get the following error:
if x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I../../include -Wall -W -Werror -gstabs -O2 -MT packages.o -MD -MP -MF ".deps/packages.Tpo" -c -o packages.o ../../src/packages.c; \ then mv -f ".deps/packages.Tpo" ".deps/packages.Po"; else rm -f ".deps/packages.Tpo"; exit 1; fi cc1: warnings being treated as errors ../../src/packages.c: In function 'package_extract_self': ../../src/packages.c:133: warning: format '%d' expects type 'int', but argument 4 has type 'ssize_t' make[4]: *** [packages.o] Error 1 make[4]: Leaving directory `/cdebootstrap-0.3.3/build-deb/src' With the attached patch 'cdebootstrap' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/cdebootstrap-0.3.3/src/packages.c ./src/packages.c --- ../tmp-orig/cdebootstrap-0.3.3/src/packages.c 2005-01-22 13:18:17.000000000 +0100 +++ ./src/packages.c 2005-03-23 12:45:16.790401261 +0100 @@ -130,7 +130,7 @@ else goto error; - log_text (DI_LOG_LEVEL_DEBUG, "found date member in %s with size of %d", file, memberlen); + log_text (DI_LOG_LEVEL_DEBUG, "found date member in %s with size of %zd", file, memberlen); log_text (DI_LOG_LEVEL_DEBUG, "Execute \"%s\"", command); pi = popen (command, "w"); -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]