On Tue, 9 Sep 2014, James McCoy wrote: > > The problem here is two-fold. krb5-multidev's krb5-config recently > changed to emit “-isystem /usr/include/mit-krb5” for CFLAGS: > > krb5 (1.12.1+dfsg-9) unstable; urgency=high > > [ Jelmer Vernooij ] > … > * Use -isystem for include paths, to prevent the compiler from warning > about problems in them. Closes: #751760 > … > > -- Sam Hartman <hartm...@debian.org> Wed, 03 Sep 2014 23:14:34 -0400 > > (Side note, that bug probably should have been #751054) > > Now, when serf tries to build, it ends up using scons' > Environment.ParseFlags (through some indirection) to interpret the > output of krb5-config. > > env.ParseConfig('$GSSAPI --cflags gssapi') > > However, ParseFlags doesn't understand -isystem, so it ends up adding > -isystem to CCFLAGS and /usr/include/mit-krb5 to LIBS. This obviously > causes the subsequently generated build commands to fail.
krb5 has started supplying pkgconfig files in 1.12; would it be easier for serf to use gssapi.pc instead of parsing krb5-config's output? -Ben