Bug#841493: grads: FTBFS: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC

Chris Lamb lamby at debian.org
Fri Oct 21 07:47:32 UTC 2016


Source: grads
Version: 2:2.1.a3-4
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,

grads fails to build from source in unstable/amd64:

  […]

  g++  -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161021094534.hpmC2nvFrA.db.grads/grads-2.1.a3=. -fstack-protector-strong -Wformat -Werror=format-security -rdynamic  -Wl,-z,relro -L/usr/lib/x86_64-linux-gnu/hdf5/serial -Lyes/lib -Wl,--as-needed -o grads grads.o gxsubs.o gxmeta.o gxchpl.o gxcntr.o gxstrm.o gxwmap.o gxshad.o gxshad2.o gaexpr.o gafunc.o gautil.o gagx.o gscrpt.o gamach.o bufrstn.o gabufr.o gabufrtbl.o gxdxwd.o galloc.o  dodstn.o gaddes.o gaio.o gacfg.o gauser.o gasdf.o gatxt.o gxX.o gxC.o gxprint.o -L/usr/lib    -lX11 -lXext -lreadline  -ltermcap -lgd -lpng16 -lz -ljpeg -lgrib2c -lmfhdfalt -ldfalt -ludunits2 -lsz -ljpeg -lz -lhdf5 -ljpeg -lz -lsz -lnetcdf -ludunits2  -ltiff -lgeotiff -lshp -lgadap -ldapclient -ldap -lcurl -lxml2 -lz -lpthread -lm -ldl -lrt -lcairo -lXrender -lfontconfig -lfreetype -lpixman-1 -lpng16 -lxml2 -lz -lm  -lcairo -lfreetype
  /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libgadap.a(gadap.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
  /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libgadap.a(gaConnect.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
  /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libgadap.a(gaReports.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
  /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libgadap.a(gaUtils.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
  /usr/bin/ld: final link failed: Nonrepresentable section on output
  collect2: error: ld returned 1 exit status
  Makefile:634: recipe for target 'grads' failed
  make[3]: *** [grads] Error 1
  make[3]: Leaving directory '/home/lamby/temp/cdt.20161021094534.hpmC2nvFrA.db.grads/grads-2.1.a3/src'
  Makefile:538: recipe for target 'all' failed
  make[2]: *** [all] Error 2
  make[2]: Leaving directory '/home/lamby/temp/cdt.20161021094534.hpmC2nvFrA.db.grads/grads-2.1.a3/src'
  Makefile:429: recipe for target 'all-recursive' failed
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20161021094534.hpmC2nvFrA.db.grads/grads-2.1.a3'
  dh_auto_build: make -j9 returned exit code 2
  debian/rules:5: 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: grads.2:2.1.a3-4.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 12327 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161021/eed84da9/attachment.obj>


More information about the Reproducible-builds mailing list