Lucas Nussbaum
2020-12-26 22:20:07 UTC
Source: serf
Version: 1.3.9-8
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
http://qa-logs.debian.net/2020/12/26/serf_1.3.9-8_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Version: 1.3.9-8
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
make[2]: Entering directory '/<<PKGBUILDDIR>>'
if ! [ -d debian/distcerts ]; then \
mkdir -p debian/testcerts/private debian/distcerts; \
cp test/server/*.pem test/server/serfclientcert.p12 debian/distcerts/; \
(cd debian/testcerts && python3 ../create_certs.py); \
cp debian/testcerts/*.pem debian/testcerts/private/serfserverkey.pem debian/testcerts/serfclientcert.p12 test/server/; \
fi
scons check CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LINKFLAGS="-Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed"
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>>=. -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:423:21: warning: variable 'request' set but not used [-Wunused-but-set-variable]
423 | serf_request_t *request;
| ^~~~~~~
gcc -o test/serf_get -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>>=. -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 -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>>=. -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 -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>>=. -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:332:30: warning: variable 'req_alloc' set but not used [-Wunused-but-set-variable]
332 | serf_bucket_alloc_t *req_alloc;
| ^~~~~~~~~
test/serf_spider.c:636:9: warning: variable 'count' set but not used [-Wunused-but-set-variable]
636 | int count;
| ^~~~~
test/serf_spider.c:635:27: warning: variable 'method' set but not used [-Wunused-but-set-variable]
635 | const char *raw_url, *method;
| ^~~~~~
gcc -o test/serf_spider -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>>=. -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>>=. -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>>=. -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>>=. -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:654:23: warning: unused variable 'pb' [-Wunused-variable]
654 | progress_baton_t *pb;
| ^~
gcc -o test/test_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -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:1112:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'apr_size_t' {aka 'long unsigned int'} [-Wformat=]
1112 | "Read more data than expected, EAGAIN"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1113 | " inserted at pos: %d, remainder: \"%s\"",
1114 | cut, fullmsg + cut);
| ~~~
| |
| apr_size_t {aka long unsigned int}
test/test_buckets.c:1113:55: note: format string is defined here
1113 | " inserted at pos: %d, remainder: \"%s\"",
| ~^
| |
| int
| %ld
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=]
1117 | "Read data is not equal to expected, EAGAIN"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1118 | " inserted at pos: %d, remainder: \"%s\"",
1119 | cut, fullmsg + cut);
| ~~~
| |
| apr_size_t {aka long unsigned int}
test/test_buckets.c:1118:55: note: format string is defined here
1118 | " inserted at pos: %d, remainder: \"%s\"",
| ~^
| |
| int
| %ld
test/test_buckets.c:1495:13: warning: 'test_deflate_4GBplus_buckets' defined but not used [-Wunused-function]
1495 | static void test_deflate_4GBplus_buckets(CuTest *tc)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o test/test_auth.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -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>>=. -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>>=. -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>>=. -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
test/server/test_server.c:342:43: warning: passing argument 3 of 'servctx->clientstream->type->read' from incompatible pointer type [-Wincompatible-pointer-types]
342 | &buf, &readlen);
| ^~~~
| |
| char **
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
912 | #define SERF__RECREAD(b,s) (s)
| ^
test/server/test_server.c:341:26: note: in expansion of macro 'serf_bucket_read'
341 | status = serf_bucket_read(servctx->clientstream, readlen,
| ^~~~~~~~~~~~~~~~
test/server/test_server.c:342:43: note: expected 'const char **' but argument is of type 'char **'
342 | &buf, &readlen);
| ^~~~
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
912 | #define SERF__RECREAD(b,s) (s)
| ^
test/server/test_server.c:341:26: note: in expansion of macro 'serf_bucket_read'
341 | status = serf_bucket_read(servctx->clientstream, readlen,
| ^~~~~~~~~~~~~~~~
test/server/test_server.c:423:39: warning: passing argument 3 of 'servctx->servstream->type->read' from incompatible pointer type [-Wincompatible-pointer-types]
423 | &buf, &readlen);
| ^~~~
| |
| char **
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
912 | #define SERF__RECREAD(b,s) (s)
| ^
test/server/test_server.c:422:22: note: in expansion of macro 'serf_bucket_read'
422 | status = serf_bucket_read(servctx->servstream, BUFSIZE,
| ^~~~~~~~~~~~~~~~
test/server/test_server.c:423:39: note: expected 'const char **' but argument is of type 'char **'
423 | &buf, &readlen);
| ^~~~
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
912 | #define SERF__RECREAD(b,s) (s)
| ^
test/server/test_server.c:422:22: note: in expansion of macro 'serf_bucket_read'
422 | status = serf_bucket_read(servctx->servstream, BUFSIZE,
| ^~~~~~~~~~~~~~~~
gcc -o test/server/test_sslserver.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -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 -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>>=. -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:158:20: warning: variable 'body_bkt' set but not used [-Wunused-but-set-variable]
158 | serf_bucket_t *body_bkt;
| ^~~~~~~~
test/serf_bwtp.c:374:29: warning: variable 'new_req' set but not used [-Wunused-but-set-variable]
374 | serf_request_t *new_req;
| ^~~~~~~
test/serf_bwtp.c:448:33: warning: variable 'new_req' set but not used [-Wunused-but-set-variable]
448 | serf_request_t *new_req;
| ^~~~~~~
test/serf_bwtp.c:485:21: warning: variable 'request' set but not used [-Wunused-but-set-variable]
485 | serf_request_t *request;
| ^~~~~~~
gcc -o test/serf_bwtp -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/python3 build/check.py test test
<!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>
this is 1 test.
i am a test.this is a test.
<?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.
Trailer-Test: f
...........F......................................................
1) test_ssl_handshake: test/test_util.c:456: expected <0> but was <120199>
!!!FAILURES!!!
Runs: 66 Passes: 65 Fails: 1
== Testing test/testcases/deflate.response ==
== Testing test/testcases/chunked.response ==
== Testing test/testcases/simple.response ==
== Testing test/testcases/chunked-trailers.response ==
== Testing test/testcases/chunked-empty.response ==
== Running the unit tests ==
ERROR: test(s) failed in test_all
scons: *** [check] Error 1
scons: building terminated because of errors.
make[2]: *** [debian/rules:33: override_dh_auto_test] Error 2
The full build log is available from:if ! [ -d debian/distcerts ]; then \
mkdir -p debian/testcerts/private debian/distcerts; \
cp test/server/*.pem test/server/serfclientcert.p12 debian/distcerts/; \
(cd debian/testcerts && python3 ../create_certs.py); \
cp debian/testcerts/*.pem debian/testcerts/private/serfserverkey.pem debian/testcerts/serfclientcert.p12 test/server/; \
fi
scons check CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LINKFLAGS="-Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed"
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>>=. -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:423:21: warning: variable 'request' set but not used [-Wunused-but-set-variable]
423 | serf_request_t *request;
| ^~~~~~~
gcc -o test/serf_get -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>>=. -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 -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>>=. -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 -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>>=. -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:332:30: warning: variable 'req_alloc' set but not used [-Wunused-but-set-variable]
332 | serf_bucket_alloc_t *req_alloc;
| ^~~~~~~~~
test/serf_spider.c:636:9: warning: variable 'count' set but not used [-Wunused-but-set-variable]
636 | int count;
| ^~~~~
test/serf_spider.c:635:27: warning: variable 'method' set but not used [-Wunused-but-set-variable]
635 | const char *raw_url, *method;
| ^~~~~~
gcc -o test/serf_spider -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>>=. -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>>=. -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>>=. -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>>=. -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:654:23: warning: unused variable 'pb' [-Wunused-variable]
654 | progress_baton_t *pb;
| ^~
gcc -o test/test_buckets.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -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:1112:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'apr_size_t' {aka 'long unsigned int'} [-Wformat=]
1112 | "Read more data than expected, EAGAIN"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1113 | " inserted at pos: %d, remainder: \"%s\"",
1114 | cut, fullmsg + cut);
| ~~~
| |
| apr_size_t {aka long unsigned int}
test/test_buckets.c:1113:55: note: format string is defined here
1113 | " inserted at pos: %d, remainder: \"%s\"",
| ~^
| |
| int
| %ld
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=]
1117 | "Read data is not equal to expected, EAGAIN"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1118 | " inserted at pos: %d, remainder: \"%s\"",
1119 | cut, fullmsg + cut);
| ~~~
| |
| apr_size_t {aka long unsigned int}
test/test_buckets.c:1118:55: note: format string is defined here
1118 | " inserted at pos: %d, remainder: \"%s\"",
| ~^
| |
| int
| %ld
test/test_buckets.c:1495:13: warning: 'test_deflate_4GBplus_buckets' defined but not used [-Wunused-function]
1495 | static void test_deflate_4GBplus_buckets(CuTest *tc)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o test/test_auth.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -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>>=. -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>>=. -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>>=. -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
test/server/test_server.c:342:43: warning: passing argument 3 of 'servctx->clientstream->type->read' from incompatible pointer type [-Wincompatible-pointer-types]
342 | &buf, &readlen);
| ^~~~
| |
| char **
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
912 | #define SERF__RECREAD(b,s) (s)
| ^
test/server/test_server.c:341:26: note: in expansion of macro 'serf_bucket_read'
341 | status = serf_bucket_read(servctx->clientstream, readlen,
| ^~~~~~~~~~~~~~~~
test/server/test_server.c:342:43: note: expected 'const char **' but argument is of type 'char **'
342 | &buf, &readlen);
| ^~~~
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
912 | #define SERF__RECREAD(b,s) (s)
| ^
test/server/test_server.c:341:26: note: in expansion of macro 'serf_bucket_read'
341 | status = serf_bucket_read(servctx->clientstream, readlen,
| ^~~~~~~~~~~~~~~~
test/server/test_server.c:423:39: warning: passing argument 3 of 'servctx->servstream->type->read' from incompatible pointer type [-Wincompatible-pointer-types]
423 | &buf, &readlen);
| ^~~~
| |
| char **
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
912 | #define SERF__RECREAD(b,s) (s)
| ^
test/server/test_server.c:422:22: note: in expansion of macro 'serf_bucket_read'
422 | status = serf_bucket_read(servctx->servstream, BUFSIZE,
| ^~~~~~~~~~~~~~~~
test/server/test_server.c:423:39: note: expected 'const char **' but argument is of type 'char **'
423 | &buf, &readlen);
| ^~~~
./serf.h:912:29: note: in definition of macro 'SERF__RECREAD'
912 | #define SERF__RECREAD(b,s) (s)
| ^
test/server/test_server.c:422:22: note: in expansion of macro 'serf_bucket_read'
422 | status = serf_bucket_read(servctx->servstream, BUFSIZE,
| ^~~~~~~~~~~~~~~~
gcc -o test/server/test_sslserver.o -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -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 -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>>=. -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:158:20: warning: variable 'body_bkt' set but not used [-Wunused-but-set-variable]
158 | serf_bucket_t *body_bkt;
| ^~~~~~~~
test/serf_bwtp.c:374:29: warning: variable 'new_req' set but not used [-Wunused-but-set-variable]
374 | serf_request_t *new_req;
| ^~~~~~~
test/serf_bwtp.c:448:33: warning: variable 'new_req' set but not used [-Wunused-but-set-variable]
448 | serf_request_t *new_req;
| ^~~~~~~
test/serf_bwtp.c:485:21: warning: variable 'request' set but not used [-Wunused-but-set-variable]
485 | serf_request_t *request;
| ^~~~~~~
gcc -o test/serf_bwtp -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/python3 build/check.py test test
<!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>
this is 1 test.
i am a test.this is a test.
<?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.
Trailer-Test: f
...........F......................................................
1) test_ssl_handshake: test/test_util.c:456: expected <0> but was <120199>
!!!FAILURES!!!
Runs: 66 Passes: 65 Fails: 1
== Testing test/testcases/deflate.response ==
== Testing test/testcases/chunked.response ==
== Testing test/testcases/simple.response ==
== Testing test/testcases/chunked-trailers.response ==
== Testing test/testcases/chunked-empty.response ==
== Running the unit tests ==
ERROR: test(s) failed in test_all
scons: *** [check] Error 1
scons: building terminated because of errors.
make[2]: *** [debian/rules:33: override_dh_auto_test] Error 2
http://qa-logs.debian.net/2020/12/26/serf_1.3.9-8_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.