[Pkg-swan-devel] Bug Report: Strongswan does not compile in Jessie with Hardening enabled

Yves-Alexis Perez corsac at debian.org
Tue Dec 16 19:45:06 UTC 2014


On mar., 2014-12-16 at 10:01 -0800, Erik Ziegenbalg wrote:
> Package: Strongswan
> Version: 4.5.2-1.5
> 
> Building this version against debian8 throws this error (full report
> at bottom):
> 
> checking whether the C compiler works... no
> configure: error: in `/root/vyatta-strongswan':
> configure: error: C compiler cannot create executables
> 
> This seems to be an issue with hardening. Turning off hardening via:
> 
> debian/rules:13
> # this is a security-critical package, set all the options we can
> ---      export DEB_BUILD_HARDENING=1
> +++  export DEB_BUILD_HARDENING=0
> 
> 
> src/libcharon/plugins/nm/nm_service.h:24
> ---        #include <glib/gtypes.h>
> ---        #include <glib-object.h>
> +++    #include <glib.h>
> 
> After doing this the packages builds again.
> 
> Please let me know if there is more info needed to reproduce this bug.

Hi,

first, this is not the right way to report a bug, you should use
reportbug.

Second, Jessie has version 5.2.1-4, not 4.5.2-1.5 (which actually
doesn't exist anywhere anymore, current Wheezy version has 4.5.2-1.5
+deb7u4).

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-swan-devel/attachments/20141216/a995097a/attachment.sig>


More information about the Pkg-swan-devel mailing list