Source: sdl-image1.2
Version: 1.2.12-5
Severity: serious
Justification: fails to build from source
Usertags: ftbfs

Dear Maintainer,

sdl-image1.2 fails to build from source in unstable/amd64:


  /bin/bash ./libtool    --mode=link gcc  -I/usr/include/libpng12 -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -pipe -Wall 
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -no-undefined -release 1.2 
-version-info 8:4:8 -Wl,-z,relro -Wl,--as-needed -o -rpath 
/usr/lib/x86_64-linux-gnu IMG.lo IMG_bmp.lo IMG_gif.lo IMG_jpg.lo IMG_lbm.lo 
IMG_pcx.lo IMG_png.lo IMG_pnm.lo IMG_tga.lo IMG_tif.lo IMG_xcf.lo IMG_xpm.lo 
IMG_xv.lo IMG_webp.lo  -lpng -lz -ljpeg -ltiff -lz -lwebp  
-L/usr/lib/x86_64-linux-gnu -lSDL
  libtool: link: gcc -shared  -fPIC -DPIC  .libs/IMG.o .libs/IMG_bmp.o 
.libs/IMG_gif.o .libs/IMG_jpg.o .libs/IMG_lbm.o .libs/IMG_pcx.o .libs/IMG_png.o 
.libs/IMG_pnm.o .libs/IMG_tga.o .libs/IMG_tif.o .libs/IMG_xcf.o .libs/IMG_xpm.o 
.libs/IMG_xv.o .libs/IMG_webp.o   -Wl,--as-needed -lpng -ljpeg -ltiff -lz 
-lwebp -L/usr/lib/x86_64-linux-gnu -lSDL  -g -O2 -fstack-protector-strong 
-Wl,-z -Wl,relro   -Wl,-soname -Wl, -o 
  /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpng.a(libpng12_la-png.o): 
relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a 
shared object; recompile with -fPIC
  /usr/lib/x86_64-linux-gnu/libpng.a: error adding symbols: Bad value
  collect2: error: ld returned 1 exit status
  Makefile:541: recipe for target '' failed
  make[1]: *** [] Error 1
  make[1]: Leaving directory 
  dh_auto_build: make -j9 returned exit code 2
  debian/rules:16: recipe for target 'build' failed
  make: *** [build] Error 2


The full build log is attached.


     : :'  :     Chris Lamb
     `. `'` /

Attachment: sdl-image1.
Description: Binary data

Reproducible-builds mailing list

Reply via email to