[Reproducible-builds] Bug#809711: dillo: FTBFS: /usr/bin/ld: bw.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC

Chris Lamb lamby at debian.org
Sun Jan 3 09:46:53 UTC 2016

Source: dillo
Version: 3.0.5-1
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,

dillo fails to build from source in unstable/amd64:


   g++ -DHAVE_CONFIG_H -I. -I..  -I.. -DDILLO_SYSCONF='"/etc/dillo/"' -DDILLO_DOCDIR='"/usr/share/doc/dillo/"'  -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/libpng12  -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2  -I/usr/include/libpng12   -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2  -I/usr/include/libpng12   -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fvisibility-inlines-hidden  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -c -o xembed.o xembed.cc
  html.cc: In function 'const char* Html_get_attr2(DilloHtml*, const char*, int, const char*, int)':
  html.cc:4071:18: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
      for (i = 1; i < tagsize; ++i) {
  g++ -I/usr/include/libpng12  -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2  -I/usr/include/libpng12   -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2  -I/usr/include/libpng12   -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fvisibility-inlines-hidden  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions  -Wl,-z,relro -L/usr/local/lib -o dillo dillo.o paths.o tipwin.o ui.o uicmd.o bw.o cookies.o auth.o md5.o digest.o colors.o misc.o history.o prefs.o prefsparser.o keys.o url.o bitvec.o klist.o chain.o utf8.o timeout.o dialog.o web.o nav.o cache.o decode.o dicache.o capi.o domain.o css.o cssparser.o styleengine.o plain.o html.o form.o table.o bookmark.o dns.o gif.o jpeg.o png.o imgbuf.o image.o menu.o dpiapi.o findbar.o xembed.o ../dlib/libDlib.a ../dpip/libDpip.a IO/libDiof.a ../dw/libDw-widgets.a ../dw/libDw-fltk.a ../dw/libDw-core.a ../lout/liblout.a -ljpeg -lpng12 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -lfltk -lX11 -lz -lpthread -lX11 
  /usr/bin/ld: bw.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
  bw.o: error adding symbols: Bad value
  collect2: error: ld returned 1 exit status
  Makefile:589: recipe for target 'dillo' failed
  make[4]: *** [dillo] Error 1
  make[4]: Leaving directory '/home/lamby/temp/cdt.20160103094342.oVDEJkW1ZH/dillo-3.0.5/src'
  Makefile:703: recipe for target 'all-recursive' failed
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160103094342.oVDEJkW1ZH/dillo-3.0.5/src'
  Makefile:478: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160103094342.oVDEJkW1ZH/dillo-3.0.5'
  Makefile:363: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160103094342.oVDEJkW1ZH/dillo-3.0.5'
  dh_auto_build: make -j8 returned exit code 2
  debian/rules:11: recipe for target 'build' failed
  make: *** [build] Error 2


The full build log is attached.


     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dillo.3.0.5-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 4614 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160103/8d9c63a1/attachment.obj>

More information about the Reproducible-builds mailing list