Bug#841394: filters: FTBFS: relocation R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

Chris Lamb lamby at debian.org
Thu Oct 20 08:03:44 UTC 2016


Source: filters
Version: 2.55-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,

filters fails to build from source in unstable/amd64:

  […]

  
  **************************************************************************************
  ** Starting build                                                                   **
  **************************************************************************************
  
   Package:              filters
   Version:              2.55-1
   Build architecture:   amd64
   Date:                 Thu, 20 Oct 2016 10:02:51 +0200
   Hostname:             62b37bf9441f
   Uname:                Linux 62b37bf9441f 4.7.0-1-amd64 #1 SMP Debian 4.7.5-1 (2016-09-26) x86_64 GNU/Linux
   /etc/timezone:        Europe/Belgrade
  
  **************************************************************************************
  ** Installing build dependencies                                                    **
  **************************************************************************************
  
  dh_testdir
  dh_testroot
  dh_prep
  dh_testdir
  dh_testroot
  dh_install
  dh_installdocs
  dh_installchangelogs
  dh_compress
  dh_fixperms
  dh_installdeb
  dh_gencontrol
  dh_md5sums
  dh_builddeb
  dpkg-deb: building package 'filters-build-deps' in '../filters-build-deps_2.55-1_all.deb'.
  
  The package has been created.
  Attention, the package has been created in the current directory,
  not in ".." as indicated by the message above!
  Selecting previously unselected package filters-build-deps.
  (Reading database ... 23456 files and directories currently installed.)
  Preparing to unpack filters-build-deps_2.55-1_all.deb ...
  Unpacking filters-build-deps (2.55-1) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    bison flex libbison-dev libfl-dev
  Suggested packages:
    bison-doc
  The following NEW packages will be installed:
    bison flex libbison-dev libfl-dev
  0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 1733 kB of archives.
  After this operation, 3782 kB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 libfl-dev amd64 2.6.1-1 [92.5 kB]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 flex amd64 2.6.1-1 [428 kB]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 libbison-dev amd64 2:3.0.4.dfsg-1 [432 kB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 bison amd64 2:3.0.4.dfsg-1 [780 kB]
  Fetched 1733 kB in 0s (44.4 MB/s)
  Selecting previously unselected package libfl-dev:amd64.
  (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23460 files and directories currently installed.)
  Preparing to unpack .../0-libfl-dev_2.6.1-1_amd64.deb ...
  Unpacking libfl-dev:amd64 (2.6.1-1) ...
  Selecting previously unselected package flex.
  Preparing to unpack .../1-flex_2.6.1-1_amd64.deb ...
  Unpacking flex (2.6.1-1) ...
  Selecting previously unselected package libbison-dev:amd64.
  Preparing to unpack .../2-libbison-dev_2%3a3.0.4.dfsg-1_amd64.deb ...
  Unpacking libbison-dev:amd64 (2:3.0.4.dfsg-1) ...
  Selecting previously unselected package bison.
  Preparing to unpack .../3-bison_2%3a3.0.4.dfsg-1_amd64.deb ...
  Unpacking bison (2:3.0.4.dfsg-1) ...
  Setting up libfl-dev:amd64 (2.6.1-1) ...
  Processing triggers for libc-bin (2.24-5) ...
  Setting up libbison-dev:amd64 (2:3.0.4.dfsg-1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up bison (2:3.0.4.dfsg-1) ...
  update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
  Setting up flex (2.6.1-1) ...
  Setting up filters-build-deps (2.55-1) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=62b37bf9441f
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20161020100249.wUGqyJu1Pr.db.filters/filters-2.55
  OLDPWD=/home/lamby/temp/cdt.20161020100249.wUGqyJu1Pr.db.filters
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  GPG_KEY=1E953E27D4311E58
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building filters 2.55-1 on amd64                                                 **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package filters
  dpkg-buildpackage: info: source version 2.55-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Marius Gavrilescu <marius at ieval.ro>
   dpkg-source --before-build filters-2.55
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean
     dh_testdir
     dh_auto_clean
  	make -j1 clean
  make[1]: Entering directory '/home/lamby/temp/cdt.20161020100249.wUGqyJu1Pr.db.filters/filters-2.55'
  rm -f -f core *.o *~ jethro kraut cockney jive nyc ken ky00te newspeak nethackify scramble
  cd ky00te.dir && make clean
  make[2]: Entering directory '/home/lamby/temp/cdt.20161020100249.wUGqyJu1Pr.db.filters/filters-2.55/ky00te.dir'
  rm -f y.tab.* lex.yy.*
  rm -f ../ky00te
  make[2]: Leaving directory '/home/lamby/temp/cdt.20161020100249.wUGqyJu1Pr.db.filters/filters-2.55/ky00te.dir'
  make[1]: Leaving directory '/home/lamby/temp/cdt.20161020100249.wUGqyJu1Pr.db.filters/filters-2.55'
     dh_clean
   debian/rules build
  dh build
     dh_testdir
     dh_update_autotools_config
     dh_auto_configure
     dh_auto_build
  	make -j1
  make[1]: Entering directory '/home/lamby/temp/cdt.20161020100249.wUGqyJu1Pr.db.filters/filters-2.55'
  rm -f jethro.c
  flex -t jethro.l > jethro.c
  cc -o jethro jethro.c -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161020100249.wUGqyJu1Pr.db.filters/filters-2.55=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -lfl -Wl,-z,relro
  /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libfl_pic.a(libmain.o): relocation R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
  /usr/bin/ld: final link failed: Bad value
  collect2: error: ld returned 1 exit status
  Makefile:35: recipe for target 'jethro' failed
  make[1]: *** [jethro] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20161020100249.wUGqyJu1Pr.db.filters/filters-2.55'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:3: 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: filters.2.55-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2366 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161020/0bdcce2f/attachment.obj>


More information about the Reproducible-builds mailing list