Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596922 - =net-proxy/ziproxy-3.3.1-r1 does not build against =media-libs/giflib-5*
Summary: =net-proxy/ziproxy-3.3.1-r1 does not build against =media-libs/giflib-5*
Status: RESOLVED DUPLICATE of bug 571898
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: giflib-5
  Show dependency tree
 
Reported: 2016-10-12 06:22 UTC by Oleh
Modified: 2016-10-16 08:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ziproxy-build.log,17.68 KB, text/x-log)
2016-10-12 06:22 UTC, Oleh
Details
patch (03_giflib5.diff,1.37 KB, patch)
2016-10-12 06:23 UTC, Oleh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2016-10-12 06:22:24 UTC
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'
Comment 1 Oleh 2016-10-12 06:22:52 UTC
Created attachment 449946 [details]
build.log
Comment 2 Oleh 2016-10-12 06:23:52 UTC
Created attachment 449948 [details, diff]
patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2016-10-16 05:56:41 UTC

*** This bug has been marked as a duplicate of bug 571898 ***