Bug#797132: gobject-introspection: missing -fPIC option when compiling

Laurent Bigonville bigon at debian.org
Tue Sep 26 08:16:52 UTC 2017


tag 797132 + moreinfo
thanks

On Mon, 28 Sep 2015 23:10:36 +0200 Samuel Thibault 
<sthibault at debian.org> wrote:
 >
 > Samuel Thibault, le Fri 28 Aug 2015 03:26:01 +0200, a écrit :
 > > linking of temporary binary failed: Command '['/bin/bash', 
'../libtool', '--mode=link', '--tag=CC', 'cc', '-o', 
'/tmp/buildd/at-spi2-core-2.16.0/atspi/tmp-introspect9yGBBn/Atspi-2.0', 
'-export-dynamic', '-D_FORTIFY_SOURCE=2', '-Wall', '-g', 
'-Werror-implicit-function-declaration', '-fPIE', '-pie', 
'-Wl,-z,relro', '-Wl,-z,now', 
'/tmp/buildd/at-spi2-core-2.16.0/atspi/tmp-introspect9yGBBn/Atspi-2.0.o', 
'-L.', 'libatspi.la', '../dbind/libdbind.la', '-lgio-2.0', 
'-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', 
'-lglib-2.0', '-ldbus-1']' returned non-zero exit status 1
 > > /usr/share/gobject-introspection-1.0/Makefile.introspection:153: 
recipe for target 'Atspi-2.0.gir' failed
 > >
 > > Atspi-2.0.o was indeed not built with -fPIC. I don't know how all this
 > > is supposed to use -fPIC/-fPIE.
 >
 > I've dug a bit more. By disabling pie hardening, the build succeeds,
 > thus lowering the severity. But we'll probably want to keep pie
 > hardening.
 >

Hi,

Isn't that bug fixed? I see that at-spi2-core is built with 
"DEB_BUILD_MAINT_OPTIONS = hardening=+all"



More information about the pkg-gnome-maintainers mailing list