Package: distcc Version: 2.18.3-1 Severity: serious Tags: patch distcc suffers FTBFS on alpha and amd64:
x86_64-linux-gcc -DHAVE_CONFIG_H -D_GNU_SOURCE -I./src -DSYSCONFDIR="\"/etc\"" -DPKGDATADIR="\"/usr/share/distcc\"" -Isrc -I./lzo -g -O2 -W -Wall -Wimplicit -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wconversion -Wpointer-arith -Wmissing-declarations -o src/rpc.o -c src/rpc.c src/rpc.c: In function `dcc_x_token_int': src/rpc.c:78: warning: passing arg 3 of `memcpy' with different width due to prototype src/rpc.c:91: warning: passing arg 3 of `dcc_writex' with different width due to prototype src/rpc.c: In function `dcc_r_token': src/rpc.c:113: warning: passing arg 3 of `dcc_readx' with different width due to prototype src/rpc.c: In function `dcc_r_token_int': src/rpc.c:174: warning: passing arg 3 of `dcc_readx' with different width due to prototype src/rpc.c:180: warning: passing arg 3 of `memcmp' with different width due to prototype src/rpc.c:182: warning: passing arg 2 of `dcc_explain_mismatch' with different width due to prototype src/rpc.c:192: warning: passing arg 2 of `dcc_explain_mismatch' with different width due to prototype src/rpc.c: At top level: src/rpc.c:207: error: conflicting types for `dcc_r_str_alloc' src/distcc.h:268: error: previous declaration of `dcc_r_str_alloc' src/rpc.c: In function `dcc_r_token_string': src/rpc.c:263: warning: passing arg 2 of `dcc_r_str_alloc' with different width due to prototype make[1]: *** [src/rpc.o] Error 1 Fast fix: diff -Naur distcc-2.18.3/src/distcc.h distcc-2.18.3.fixed/src/distcc.h --- distcc-2.18.3/src/distcc.h 2004-11-21 19:36:30.000000000 +0100 +++ distcc-2.18.3.fixed/src/distcc.h 2005-03-11 09:00:43.071459437 +0100 @@ -265,7 +265,7 @@ int dcc_readx(int fd, void *buf, size_t len); int dcc_pump_sendfile(int ofd, int ifd, size_t n); -int dcc_r_str_alloc(int fd, unsigned len, char **buf); +int dcc_r_str_alloc(int fd, size_t len, char **buf); int tcp_cork_sock(int fd, int corked); int dcc_close(int fd); -ukh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]