[Reproducible-builds] Bug#814974: sdl-image1.2: FTBFS: /usr/lib/x86_64-linux-gnu/libpng.a: error adding symbols: Bad value

Chris Lamb lamby at debian.org
Wed Feb 17 08:52:26 UTC 2016


Source: sdl-image1.2
Version: 1.2.12-5
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

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 libSDL_image.la -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,libSDL_image-1.2.so.0 -o .libs/libSDL_image-1.2.so.0.8.4
  /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 'libSDL_image.la' failed
  make[1]: *** [libSDL_image.la] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160217093625.I45idgCdO8/sdl-image1.2-1.2.12'
  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.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdl-image1.2.1.2.12-5.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 4824 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160217/f33079ec/attachment.obj>


More information about the Reproducible-builds mailing list