[pkg-gnupg-maint] Bug#879014: gpgme1.0: FTBFS on some arches: Qt needs a compile with -fPIC (PIE is not enough), hardening downgrades to PIE

Thorsten Glaser t.glaser at tarent.de
Mon Mar 9 10:34:57 GMT 2020


# same issue
forcemerge 879014 870383
retitle 879014 gpgme1.0: FTBFS on some arches: Qt needs a compile with -fPIC (PIE is not enough), hardening downgrades to PIE
# it still persists
found 879014 1.13.1-6
thanks

Hi,

> points out the problem: Qt wants to be compiled with -fPIC and sets up
> the CFLAGS appropriately, yet hardening comes into the way as it adds
> the PIE *after* the PIC.
> 
> Cc’ing qtbase5-dev and dpkg maintainers.

can this please be fixed? Thanks!

> edit debian/rules to get it to compile:
> -export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> +export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
> 
> ① I didn’t test whether that was enough with up-to-date dpkg.

This appears to have been enough. So, as a quick workaround,
adding this on affected architectures allows it to build.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

**********

Mit der tarent Academy bieten wir auch Trainings und Schulungen in den
Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an.

Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt.

**********



More information about the pkg-gnupg-maint mailing list