Bug#874193: xml-security-c: Does not build with C++11 enabled, required for Xerces 3.2.0

Ferenc Wágner wferi at niif.hu
Thu Sep 7 19:03:37 UTC 2017


Control: tags -1 +moreinfo
Control: clone -1 -2
Control: retitle -2 libnss3-dev breaks the build

Roger Leigh <rleigh at codelibre.net> writes:

> Please see the patches I attached to the upstream ticket here:
> https://issues.apache.org/jira/browse/SANTUARIO-471 which resolve a
> number of defects in the source which prevent it building.
>
> They are safe to apply even when C++11 is not in use.

Similar patches are used in the Debian package since 1.7.3-2, except for
NSS and WinCapi.  The latter is entirely irrelevant in Debian, and the
former mostly is in this case: OpenSSL is required in Build-Depends,
though NSS isn't explicitly disabled in the configure script, so if it
happens to be present, it breaks the build (for multiple unrelated
reasons, even without C++11).  But --without-nss helps with those.

Anyway, could you please give me instructions to reproduce the build
failure with C++11?  Adding in CXXFLAGS=-std=c++11 did not break the
1.7.3-4 build for me.  And what will I have to change once Xerces 3.2
enters the archive?
-- 
Thanks,
Feri



More information about the Pkg-shibboleth-devel mailing list