Source: simage
Version: 1.8.3+ds-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=simage&arch=amd64&ver=1.8.3%2Bds-1%2Bb2&stamp=1709984428&raw=0

[ 73%] Building C object CMakeFiles/simage.dir/src/simage_jpeg.c.o
In file included from /<<PKGBUILDDIR>>/src/simage_gif.c:37:
/<<PKGBUILDDIR>>/giflib/quantize.h:17:5: error: conflicting types for 
‘GifQuantizeBuffer’; have ‘int(unsigned int,  unsigned int,  int *, GifByteType 
*, GifByteType *, GifByteType *, GifByteType *, GifColorType *)’ {aka 
‘int(unsigned int,  unsigned int,  int *, unsigned char *, unsigned char *, 
unsigned char *, unsigned char *, GifColorType *)’}
   17 | int GifQuantizeBuffer(unsigned int Width, unsigned int Height,
      |     ^~~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/simage_gif.c:32:
/usr/include/gif_lib.h:217:5: note: previous declaration of ‘GifQuantizeBuffer’ 
with type ‘int(unsigned int,  unsigned int,  int *, const GifByteType *, const 
GifByteType *, const GifByteType *, GifByteType *, GifColorType *)’ {aka 
‘int(unsigned int,  unsigned int,  int *, const unsigned char *, const unsigned 
char *, const unsigned char *, unsigned char *, GifColorType *)’}
  217 | int GifQuantizeBuffer(unsigned int Width, unsigned int Height,
      |     ^~~~~~~~~~~~~~~~~
/usr/bin/cc -DHAVE_CONFIG_H -DSIMAGE_DEBUG=0 -DSIMAGE_INTERNAL -Dsimage_EXPORTS 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/include 
-I/<<PKGBUILDDIR>>/giflib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-MD -MT CMakeFiles/simage.dir/src/simage_jpeg.c.o -MF 
CMakeFiles/simage.dir/src/simage_jpeg.c.o.d -o 
CMakeFiles/simage.dir/src/simage_jpeg.c.o -c /<<PKGBUILDDIR>>/src/simage_jpeg.c
/<<PKGBUILDDIR>>/src/simage_tga.c: In function ‘simage_tga_load’:
/<<PKGBUILDDIR>>/src/simage_tga.c:282:5: warning: ignoring return value of 
‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  282 |     fread(colormap, 1, (size_t)len*indexsize, fp);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/simage.dir/build.make:583: 
CMakeFiles/simage.dir/src/simage_gif.c.o] Error 1

Cheers
-- 
Sebastian Ramacher

Reply via email to