Package: src:serf
Version: 1.3.9-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -B"
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
QUILT_PATCHES=debian/patches \
        quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch libtool
patching file SConstruct

Now at patch libtool
touch debian/stamp-patched
dh_testdir
scons -j 1 GSSAPI=/usr CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" 
LINKFLAGS="-specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now 
-Wl,-z,defs -Wl,--as-needed" PREFIX=/usr LIBDIR=/usr/lib/x86_64-linux-gnu
scons: Reading SConscript files ...
Checking for GNU-compatible C compiler...yes
scons: done reading SConscript files.
scons: Building targets ...
gcc -o context.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
context.c
gcc -o incoming.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
incoming.c
gcc -o outgoing.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
outgoing.c
gcc -o ssltunnel.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
ssltunnel.c
gcc -o buckets/aggregate_buckets.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/aggregate_buckets.c
gcc -o buckets/allocator.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/allocator.c
gcc -o buckets/barrier_buckets.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/barrier_buckets.c
gcc -o buckets/buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/buckets.c
gcc -o buckets/bwtp_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/bwtp_buckets.c
gcc -o buckets/chunk_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/chunk_buckets.c
gcc -o buckets/dechunk_buckets.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/dechunk_buckets.c
gcc -o buckets/deflate_buckets.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/deflate_buckets.c
gcc -o buckets/file_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/file_buckets.c
gcc -o buckets/headers_buckets.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/headers_buckets.c
gcc -o buckets/iovec_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/iovec_buckets.c
gcc -o buckets/limit_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/limit_buckets.c
gcc -o buckets/mmap_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/mmap_buckets.c
gcc -o buckets/request_buckets.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/request_buckets.c
gcc -o buckets/response_body_buckets.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/response_body_buckets.c
gcc -o buckets/response_buckets.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/response_buckets.c
gcc -o buckets/simple_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/simple_buckets.c
gcc -o buckets/socket_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/socket_buckets.c
gcc -o buckets/ssl_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/ssl_buckets.c
buckets/ssl_buckets.c: In function 'get_subject_alt_names':
buckets/ssl_buckets.c:540:32: warning: pointer targets in passing argument 1 of 
'strlen' differ in signedness [-Wpointer-sign]
                         strlen(nm->d.ia5->data) != nm->d.ia5->length)
                                ^~
In file included from /usr/include/apr-1.0/apr_want.h:63:0,
                 from /usr/include/apr-1.0/apr_pools.h:47,
                 from buckets/ssl_buckets.c:25:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of 
type 'unsigned char *'
 extern size_t strlen (const char *__s)
               ^~~~~~
gcc -o auth/auth.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth.c
gcc -o auth/auth_basic.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth_basic.c
gcc -o auth/auth_digest.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth_digest.c
gcc -o auth/auth_spnego.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth_spnego.c
gcc -o auth/auth_spnego_gss.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth_spnego_gss.c
gcc -o auth/auth_spnego_sspi.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth_spnego_sspi.c
ar rc libserf-1.a context.o incoming.o outgoing.o ssltunnel.o 
buckets/aggregate_buckets.o buckets/allocator.o buckets/barrier_buckets.o 
buckets/buckets.o buckets/bwtp_buckets.o buckets/chunk_buckets.o 
buckets/dechunk_buckets.o buckets/deflate_buckets.o buckets/file_buckets.o 
buckets/headers_buckets.o buckets/iovec_buckets.o buckets/limit_buckets.o 
buckets/mmap_buckets.o buckets/request_buckets.o 
buckets/response_body_buckets.o buckets/response_buckets.o 
buckets/simple_buckets.o buckets/socket_buckets.o buckets/ssl_buckets.o 
auth/auth.o auth/auth_basic.o auth/auth_digest.o auth/auth_spnego.o 
auth/auth_spnego_gss.o auth/auth_spnego_sspi.o
ranlib libserf-1.a
gcc -o context.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
context.c
gcc -o incoming.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
incoming.c
gcc -o outgoing.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
outgoing.c
gcc -o ssltunnel.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
ssltunnel.c
gcc -o buckets/aggregate_buckets.os -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/aggregate_buckets.c
gcc -o buckets/allocator.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/allocator.c
gcc -o buckets/barrier_buckets.os -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/barrier_buckets.c
gcc -o buckets/buckets.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/buckets.c
gcc -o buckets/bwtp_buckets.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/bwtp_buckets.c
gcc -o buckets/chunk_buckets.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/chunk_buckets.c
gcc -o buckets/dechunk_buckets.os -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/dechunk_buckets.c
gcc -o buckets/deflate_buckets.os -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/deflate_buckets.c
gcc -o buckets/file_buckets.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/file_buckets.c
gcc -o buckets/headers_buckets.os -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/headers_buckets.c
gcc -o buckets/iovec_buckets.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/iovec_buckets.c
gcc -o buckets/limit_buckets.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/limit_buckets.c
gcc -o buckets/mmap_buckets.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/mmap_buckets.c
gcc -o buckets/request_buckets.os -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/request_buckets.c
gcc -o buckets/response_body_buckets.os -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/response_body_buckets.c
gcc -o buckets/response_buckets.os -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/response_buckets.c
gcc -o buckets/simple_buckets.os -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/simple_buckets.c
gcc -o buckets/socket_buckets.os -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/socket_buckets.c
gcc -o buckets/ssl_buckets.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
buckets/ssl_buckets.c
buckets/ssl_buckets.c: In function 'get_subject_alt_names':
buckets/ssl_buckets.c:540:32: warning: pointer targets in passing argument 1 of 
'strlen' differ in signedness [-Wpointer-sign]
                         strlen(nm->d.ia5->data) != nm->d.ia5->length)
                                ^~
In file included from /usr/include/apr-1.0/apr_want.h:63:0,
                 from /usr/include/apr-1.0/apr_pools.h:47,
                 from buckets/ssl_buckets.c:25:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of 
type 'unsigned char *'
 extern size_t strlen (const char *__s)
               ^~~~~~
gcc -o auth/auth.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth.c
gcc -o auth/auth_basic.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth_basic.c
gcc -o auth/auth_digest.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth_digest.c
gcc -o auth/auth_spnego.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth_spnego.c
gcc -o auth/auth_spnego_gss.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth_spnego_gss.c
gcc -o auth/auth_spnego_sspi.os -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c89 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 -fPIC 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -I. -I/usr/include/apr-1.0 -I/usr/include -I/usr/include 
auth/auth_spnego_sspi.c
gcc -o libserf-1.so.1.3.0 -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,now 
-Wl,-z,defs -Wl,--as-needed -pthread -Wl,-z,relro -shared -Wl,-Bsymbolic 
-Wl,-soname=libserf-1.so.1 -Wl,-rpath=/usr/lib/x86_64-linux-gnu 
-Wl,-rpath=/usr/lib/x86_64-linux-gnu -Wl,-rpath=/usr/lib 
-Wl,-rpath=/usr/lib/x86_64-linux-gnu/mit-krb5 context.os incoming.os 
outgoing.os ssltunnel.os buckets/aggregate_buckets.os buckets/allocator.os 
buckets/barrier_buckets.os buckets/buckets.os buckets/bwtp_buckets.os 
buckets/chunk_buckets.os buckets/dechunk_buckets.os buckets/deflate_buckets.os 
buckets/file_buckets.os buckets/headers_buckets.os buckets/iovec_buckets.os 
buckets/limit_buckets.os buckets/mmap_buckets.os buckets/request_buckets.os 
buckets/response_body_buckets.os buckets/response_buckets.os 
buckets/simple_buckets.os buckets/socket_buckets.os buckets/ssl_buckets.os 
auth/auth.os auth/auth_basic.os auth/auth_digest.os auth/auth_spnego.os 
auth/auth_spnego_gss.os auth/auth_spnego_sspi.os -L/usr/lib/x86_64-linux-
 gnu -L/usr/lib -L/usr/lib/x86_64-linux-gnu/mit-krb5 -lssl -lcrypto -lz -lapr-1 
-laprutil-1 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
Create symlinks for: 'libserf-1.so.1.3.0': 
'libserf-1.so.1'->'libserf-1.so.1.3.0', 'libserf-1.so'->'libserf-1.so.1.3.0'
Creating 'serf-1.pc'
scons: done building targets.
scons check
scons: Reading SConscript files ...
Checking for GNU-compatible C compiler...(cached) yes
scons: done reading SConscript files.
scons: Building targets ...
gcc -o test/serf_get.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/serf_get.c
test/serf_get.c: In function 'main':
test/serf_get.c:423:21: warning: variable 'request' set but not used 
[-Wunused-but-set-variable]
     serf_request_t *request;
                     ^~~~~~~
gcc -o test/serf_get -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,now 
-Wl,-z,defs -Wl,--as-needed -pthread -Wl,-z,relro -Wl,-rpath=/<<PKGBUILDDIR>> 
test/serf_get.o -L. -L/usr/lib/x86_64-linux-gnu -L/usr/lib 
-L/usr/lib/x86_64-linux-gnu/mit-krb5 -lserf-1 -lssl -lcrypto -lz -lapr-1 
-laprutil-1 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
gcc -o test/serf_response.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/serf_response.c
gcc -o test/serf_response -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,now 
-Wl,-z,defs -Wl,--as-needed -pthread -Wl,-z,relro -Wl,-rpath=/<<PKGBUILDDIR>> 
test/serf_response.o -L. -L/usr/lib/x86_64-linux-gnu -L/usr/lib 
-L/usr/lib/x86_64-linux-gnu/mit-krb5 -lserf-1 -lssl -lcrypto -lz -lapr-1 
-laprutil-1 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
gcc -o test/serf_request.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/serf_request.c
gcc -o test/serf_request -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,now 
-Wl,-z,defs -Wl,--as-needed -pthread -Wl,-z,relro -Wl,-rpath=/<<PKGBUILDDIR>> 
test/serf_request.o -L. -L/usr/lib/x86_64-linux-gnu -L/usr/lib 
-L/usr/lib/x86_64-linux-gnu/mit-krb5 -lserf-1 -lssl -lcrypto -lz -lapr-1 
-laprutil-1 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
gcc -o test/serf_spider.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/serf_spider.c
test/serf_spider.c: In function 'setup_request':
test/serf_spider.c:332:30: warning: variable 'req_alloc' set but not used 
[-Wunused-but-set-variable]
         serf_bucket_alloc_t *req_alloc;
                              ^~~~~~~~~
test/serf_spider.c: In function 'main':
test/serf_spider.c:636:9: warning: variable 'count' set but not used 
[-Wunused-but-set-variable]
     int count;
         ^~~~~
test/serf_spider.c:635:27: warning: variable 'method' set but not used 
[-Wunused-but-set-variable]
     const char *raw_url, *method;
                           ^~~~~~
gcc -o test/serf_spider -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,now 
-Wl,-z,defs -Wl,--as-needed -pthread -Wl,-z,relro -Wl,-rpath=/<<PKGBUILDDIR>> 
test/serf_spider.o -L. -L/usr/lib/x86_64-linux-gnu -L/usr/lib 
-L/usr/lib/x86_64-linux-gnu/mit-krb5 -lserf-1 -lssl -lcrypto -lz -lapr-1 
-laprutil-1 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
gcc -o test/test_all.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/test_all.c
gcc -o test/CuTest.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/CuTest.c
gcc -o test/test_util.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/test_util.c
gcc -o test/test_context.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/test_context.c
test/test_context.c: In function 'test_connection_userinfo_in_url':
test/test_context.c:654:23: warning: unused variable 'pb' [-Wunused-variable]
     progress_baton_t *pb;
                       ^~
gcc -o test/test_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/test_buckets.c
test/test_buckets.c: In function 'test_random_eagain_in_response':
test/test_buckets.c:1112:35: warning: format '%d' expects argument of type 
'int', but argument 3 has type 'apr_size_t {aka long unsigned int}' [-Wformat=]
                                   "Read more data than expected, EAGAIN"
                                   ^
test/test_buckets.c:1117:35: warning: format '%d' expects argument of type 
'int', but argument 3 has type 'apr_size_t {aka long unsigned int}' [-Wformat=]
                                   "Read data is not equal to expected, EAGAIN"
                                   ^
At top level:
test/test_buckets.c:1495:13: warning: 'test_deflate_4GBplus_buckets' defined 
but not used [-Wunused-function]
 static void test_deflate_4GBplus_buckets(CuTest *tc)
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o test/test_auth.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/test_auth.c
gcc -o test/mock_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/mock_buckets.c
gcc -o test/test_ssl.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/test_ssl.c
gcc -o test/server/test_server.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/server/test_server.c
In file included from test/server/test_server.c:27:0:
test/server/test_server.c: In function 'replay':
test/server/test_server.c:342:43: warning: passing argument 3 of 
'servctx->clientstream->type->read' from incompatible pointer type 
[-Wincompatible-pointer-types]
                                           &buf, &readlen);
                                           ^
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
 #define SERF__RECREAD(b,s) (s)
                             ^
test/server/test_server.c:341:26: note: in expansion of macro 'serf_bucket_read'
                 status = serf_bucket_read(servctx->clientstream, readlen,
                          ^~~~~~~~~~~~~~~~
test/server/test_server.c:342:43: note: expected 'const char **' but argument 
is of type 'char **'
                                           &buf, &readlen);
                                           ^
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
 #define SERF__RECREAD(b,s) (s)
                             ^
test/server/test_server.c:341:26: note: in expansion of macro 'serf_bucket_read'
                 status = serf_bucket_read(servctx->clientstream, readlen,
                          ^~~~~~~~~~~~~~~~
test/server/test_server.c: In function 'proxy_replay':
test/server/test_server.c:423:39: warning: passing argument 3 of 
'servctx->servstream->type->read' from incompatible pointer type 
[-Wincompatible-pointer-types]
                                       &buf, &readlen);
                                       ^
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
 #define SERF__RECREAD(b,s) (s)
                             ^
test/server/test_server.c:422:22: note: in expansion of macro 'serf_bucket_read'
             status = serf_bucket_read(servctx->servstream, BUFSIZE,
                      ^~~~~~~~~~~~~~~~
test/server/test_server.c:423:39: note: expected 'const char **' but argument 
is of type 'char **'
                                       &buf, &readlen);
                                       ^
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
 #define SERF__RECREAD(b,s) (s)
                             ^
test/server/test_server.c:422:22: note: in expansion of macro 'serf_bucket_read'
             status = serf_bucket_read(servctx->servstream, BUFSIZE,
                      ^~~~~~~~~~~~~~~~
gcc -o test/server/test_sslserver.o -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/server/test_sslserver.c
gcc -o test/test_all -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,now 
-Wl,-z,defs -Wl,--as-needed -pthread -Wl,-z,relro -Wl,-rpath=/<<PKGBUILDDIR>> 
test/test_all.o test/CuTest.o test/test_util.o test/test_context.o 
test/test_buckets.o test/test_auth.o test/mock_buckets.o test/test_ssl.o 
test/server/test_server.o test/server/test_sslserver.o -L. 
-L/usr/lib/x86_64-linux-gnu -L/usr/lib -L/usr/lib/x86_64-linux-gnu/mit-krb5 
-lserf-1 -lssl -lcrypto -lz -lapr-1 -laprutil-1 -lgssapi_krb5 -lkrb5 -lk5crypto 
-lcom_err
gcc -o test/serf_bwtp.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -std=c99 -Wdeclaration-after-statement 
-Wmissing-prototypes -Wall -O2 -pthread -isystem /usr/include/mit-krb5 
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-DSERF_HAVE_GSSAPI -DMOCKHTTP_OPENSSL -I. -I/usr/include/apr-1.0 -I/usr/include 
-I/usr/include test/serf_bwtp.c
test/serf_bwtp.c: In function 'setup_request':
test/serf_bwtp.c:158:20: warning: variable 'body_bkt' set but not used 
[-Wunused-but-set-variable]
     serf_bucket_t *body_bkt;
                    ^~~~~~~~
test/serf_bwtp.c: In function 'handle_bwtp_upgrade':
test/serf_bwtp.c:374:29: warning: variable 'new_req' set but not used 
[-Wunused-but-set-variable]
             serf_request_t *new_req;
                             ^~~~~~~
test/serf_bwtp.c: In function 'handle_response':
test/serf_bwtp.c:448:33: warning: variable 'new_req' set but not used 
[-Wunused-but-set-variable]
                 serf_request_t *new_req;
                                 ^~~~~~~
test/serf_bwtp.c: In function 'main':
test/serf_bwtp.c:485:21: warning: variable 'request' set but not used 
[-Wunused-but-set-variable]
     serf_request_t *request;
                     ^~~~~~~
gcc -o test/serf_bwtp -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,now 
-Wl,-z,defs -Wl,--as-needed -pthread -Wl,-z,relro -Wl,-rpath=/<<PKGBUILDDIR>> 
test/serf_bwtp.o -L. -L/usr/lib/x86_64-linux-gnu -L/usr/lib 
-L/usr/lib/x86_64-linux-gnu/mit-krb5 -lserf-1 -lssl -lcrypto -lz -lapr-1 
-laprutil-1 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
/usr/bin/python build/check.py test test
this is 1 test.

i am a test.this is a test.

Trailer-Test: f
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
 <head>
  <title>Test of gzip Content-Encoding</title>
 </head>
 <body>
<h1>This is a test</h1>

<p>This file was created with mod_deflate on the server side.</p>
<pre>curl -i --output gzip.response -H "Accept-Encoding: gzip" 
http://localhost:8080/1.html</pre>

<hr />
<address>Apache</address>
</body></html>
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">

<head>

<title>scotch.ics.uci.edu</title>

<!--base href="http://scotch.ics.uci.edu/"; /-->

<link href="default.css" rel="stylesheet" type="text/css" />

</head>



<body>



<p>More to come!</p>



<p><a href="manual/">Apache httpd 2.0 manual</a></p>



<p><a href="CA.cert.pem">Trust our CA!</a></p>



<p><img src="apache_pb.gif" alt="Powered by Apache!" /></p>



</body>



</html>

this is 1 test.

i am a test.this is a test.

............F.FFF.FFF.FF.FFFFF....................................

There were 14 failures:
1) test_ssl_trust_rootca: test/test_util.c:456: expected <0> but was <120199>
2) test_ssl_certificate_chain_with_anchor: test/test_util.c:456: expected <0> 
but was <120199>
3) test_ssl_certificate_chain_all_from_server: test/test_util.c:456: expected 
<0> but was <120199>
4) test_ssl_no_servercert_callback_allok: test/test_util.c:456: expected <0> 
but was <120170>
5) test_ssl_large_response: test/test_util.c:456: expected <0> but was <120170>
6) test_ssl_large_request: test/test_util.c:456: expected <0> but was <120170>
7) test_ssl_client_certificate: test/test_util.c:456: expected <0> but was 
<120170>
8) test_ssl_future_server_cert: test/test_util.c:456: expected <0> but was 
<120199>
9) test_setup_ssltunnel: test/test_util.c:456: expected <0> but was <120170>
10) test_ssltunnel_basic_auth: test/test_context.c:2138: expected <0> but was 
<120170>
11) test_ssltunnel_basic_auth_server_has_keepalive_off: 
test/test_context.c:2138: expected <0> but was <120170>
12) test_ssltunnel_basic_auth_proxy_has_keepalive_off: 
test/test_context.c:2138: expected <0> but was <120170>
13) test_ssltunnel_basic_auth_proxy_close_conn_on_200resp: 
test/test_context.c:2138: expected <0> but was <120170>
14) test_ssltunnel_digest_auth: test/test_util.c:456: expected <0> but was 
<120170>

!!!FAILURES!!!
Runs: 66 Passes: 52 Fails: 14

== Testing test/testcases/chunked-empty.response ==
== Testing test/testcases/chunked-trailers.response ==
== Testing test/testcases/deflate.response ==
== Testing test/testcases/simple.response ==
== Testing test/testcases/chunked.response ==
== Running the unit tests ==
ERROR: test(s) failed in test_all
scons: *** [check] Error 1
scons: building terminated because of errors.
debian/rules:24: recipe for target 'debian/stamp-build' failed
make: *** [debian/stamp-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
--------------------------------------------------------------------------------

The package also fails to build in the reproducible builds autobuilders:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/serf.html

In case it helps, this started to happen in stretch somewhere between
2017-04-17 and 2017-04-21, maybe triggered by an updated build-dependency.

[ If this is really a bug in one of the build-depends, please use reassign and 
affects,
  so that this is still visible in the page for this package ]

Thanks.

Reply via email to