as in summary Debian has the patch that fixes. http://sources.debian.net/data/main/z/ziproxy/3.3.1-2.1/debian/patches/03_giflib5.diff Reproducible: Always Steps to Reproduce: 1. emerge ziproxy, assuming that media-libs/giflib-5* installed (5.1.4 in my case) 2. apply debian patch 3. emerge ziproxy Actual Results: text.c:229:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(*outbuf, *outlen, 1, file_unpack); ^ http.c: In function ‘send_error’: http.c:721:6: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread (txtfilebuf, 1, txtfilesize, txtfile); ^ preemptdns.c: In function ‘preempt_dns_from_html’: preemptdns.c:201:25: warning: ignoring return value of ‘daemon’, declared with attribute warn_unused_result [-Wunused-result] daemon (0, 0); ^ http.c: In function ‘read_content’: http.c:1273:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf (from, "%x", &pending_chunk_len); ^ http.c:1286:5: warning: ignoring return value of ‘feof’, declared with attribute warn_unused_result [-Wunused-result] feof (from); ^ http.c: In function ‘get_response_headers’: http.c:1392:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(line, 5, sockrfp); ^ http.c:1414:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(line+n, sizeof(line), sockrfp); ^ image.c: In function ‘mem_to_png’: image.c:505:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ memcpy(data, desc->buf + desc->x.pos,length); ^ image.c: In function ‘png_to_mem’: image.c:703:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ memcpy(desc->buf + desc->x.pos, data ,length); ^ image.c: In function ‘gif_mem_input’: image.c:858:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ memcpy(data,desc->buf + desc->x.pos,copied); ^ image.c: In function ‘gif2bitmap’: image.c:908:17: error: too few arguments to function ‘DGifOpen’ if ((GifFile = DGifOpen((void*)&desc, &gif_mem_input)) == NULL) ^ In file included from image.c:61:0: /usr/include/gif_lib.h:182:14: note: declared here GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error); /* new one (TVT) */ ^ image.c:948:3: warning: incompatible implicit declaration of built-in function ‘memcpy’ memcpy(Raster, LastImg->RasterBits, bmp->width*bmp->height); ^ image.c:1086:2: error: too few arguments to function ‘DGifCloseFile’ DGifCloseFile(GifFile); ^ In file included from image.c:61:0: /usr/include/gif_lib.h:183:9: note: declared here int DGifCloseFile(GifFileType * GifFile, int *ErrorCode); ^ image.c: In function ‘optimize_palette’: image.c:2201:3: warning: incompatible implicit declaration of built-in function ‘memcpy’ memcpy (bmp->palette, new_palette, sizeof (unsigned char) * bmp->pal_bpp * used_colors); ^ image.c:2271:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ memcpy (bmp->palette, new_palette, sizeof (unsigned char) * bmp->pal_bpp * used_colors); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=native -O2 -pipe -c -o netd.o netd.c Makefile:456: recipe for target 'image.o' failed make[3]: *** [image.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/work/ziproxy-3.3.1/src' Makefile:472: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/work/ziproxy-3.3.1/src' Makefile:325: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/work/ziproxy-3.3.1/src' Makefile:329: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 * ERROR: net-proxy/ziproxy-3.3.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-proxy/ziproxy-3.3.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-proxy/ziproxy-3.3.1-r1::gentoo'`. * The complete build log is located at '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/temp/build.log'. * The ebuild environment file is located at '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/temp/environment'. * Working directory: '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/work/ziproxy-3.3.1' * S: '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/work/ziproxy-3.3.1' >>> Failed to emerge net-proxy/ziproxy-3.3.1-r1, Log file: >>> '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/temp/build.log' * Messages for package net-proxy/ziproxy-3.3.1-r1: * ERROR: net-proxy/ziproxy-3.3.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-proxy/ziproxy-3.3.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-proxy/ziproxy-3.3.1-r1::gentoo'`. * The complete build log is located at '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/temp/build.log'. * The ebuild environment file is located at '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/temp/environment'. * Working directory: '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/work/ziproxy-3.3.1' * S: '/home/tmp/portage/net-proxy/ziproxy-3.3.1-r1/work/ziproxy-3.3.1'
Created attachment 449946 [details] build.log
Created attachment 449948 [details, diff] patch
*** This bug has been marked as a duplicate of bug 571898 ***