Your message dated Tue, 25 Oct 2016 16:57:00 +0000
with message-id <[email protected]>
and subject line Re: libfl-dev: Please build libfl_pic.a with -fPIC
has caused the Debian Bug report #837658,
regarding libfl_pic.a is not compiled with -fPIC
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
837658: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837658
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: filters
Version: 2.55-1
Severity: serious
Justification: fails to build from source
User: [email protected]
Usertags: ftbfs
X-Debbugs-Cc: [email protected]

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
  [email protected]
  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 <[email protected]>
   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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-

Attachment: filters.2.55-1.unstable.amd64.log.txt.gz
Description: Binary data


--- End Message ---
--- Begin Message ---
On Tue, 13 Sep 2016 13:30:21 +0200 Balint Reczey
<[email protected]> wrote:
> Source: libfl-dev
> Version: 2.6.1-1
> Severity: important
> User: [email protected]
> Usertags: pie-bindnow-20160906
> Justification: makes filters FTBFS with extra hardening
> Affects: filters motif
> 
> Dear Maintainers,
> 
> During a rebuild of all packages in sid, filters
> failed to build on amd64 with patched GCC and dpkg. The root
> cause seems to be that libfl_pic.a is shipped as a non-PIC library.
> 
> The rebuild tested if packages are ready for a transition
> enabling PIE and bindnow for amd64 (and selected architectures).
> 
> For more information about the changes to sid's dpkg and GCC please
> visit:
>  https://wiki.debian.org/Hardening/PIEByDefaultTransition
> 
> Relevant part of filters's build log:
> ...
> [...]
> ...
> 
> The full build log is available from:
>  
> https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/filters_2.55-1_amd64.build.gz
> 
> Thanks,
> Balint
> 
> 
> 

Rebuilt successfully with -fPIE

--- End Message ---

Reply via email to