Your message dated Fri, 04 Nov 2016 16:21:23 +0000
with message-id <e1c2hf5-000e9y...@fasolo.debian.org>
and subject line Bug#837960: fixed in spdylay 1.3.2-2.1
has caused the Debian Bug report #837960,
regarding spdylay: FTBFS with openssl 1.1.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
837960: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837960
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: spdylay
Version: 1.3.2-2
Severity: important
Tags: patch
Control: block 827061 by -1
Control: user pkg-openssl-devel-requ...@lists.alioth.debian.org
Control: usertag -1 openssl-1.1-trans-keypkg
Control: usertag -1 openssl-1.1-trans

This package fails currently to compile against openssl 1.1.0 (currently
available in experimental). The issues look not openssl specific. The
full build of the build failure is available
  
https://breakpoint.cc/openssl-1.1-rebuild-2016-08-26/failed/spdylay_1.3.2-2_amd64-2016-08-26T19%3A47%3A25Z

With the patch attached is manages to build. The testsuite fails then :)
The SSL error message was obtained via ERR_print_errors_fp(stderr):

| =========================================
|    spdylay 1.3.2: tests/test-suite.log
| =========================================
| 
| # TOTAL: 3
| # PASS:  2
| # SKIP:  0
| # XFAIL: 0
| # FAIL:  1
| # XPASS: 0
| # ERROR: 0
| 
| .. contents:: :depth: 2
| 
| FAIL: end_to_end.py
| ===================
| 
| SSL_CTX_use_certificate_file failed.
| 140680762493824:error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key 
too small:ssl/ssl_rsa.c:305:
| Could not connect to the host: localhost:9893
| error:1408F10B:SSL routines:ssl3_get_record:wrong version number
| Could not connect to the host: localhost:79
| FCould not connect to the host: localhost:2
| .Could not connect to the host: localhost:9893
| Could not connect to the host: localhost:9893
| FCould not connect to the host: localhost:9893
| FCould not connect to the host: localhost:9893
| FSSL_CTX_use_certificate_file failed.
| 140100289985408:error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key 
too small:ssl/ssl_rsa.c:305:
| Could not connect to the host: localhost:9893

So it looks like the key in the test is too small.

Sebastian
>From 9e74d00a28bf3294722d07a52646a8b1a5740237 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
Date: Thu, 15 Sep 2016 20:01:49 +0000
Subject: [PATCH] spdylay: compile against openssl-1.1.0

It fails to compile against openssl 1.1.0 due to things like
|shrpx_client_handler.cc:90:30: error: 'strerror' was not declared in this scope
|shrpx_listen_handler.cc:112:32: error: 'memset' was not declared in this scope
|shrpx_listen_handler.cc:114:43: error: 'memcpy' was not declared in this scope

This resolves it.

Signed-off-by: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
---
 examples/spdycli.c          | 1 +
 src/shrpx.cc                | 1 +
 src/shrpx_client_handler.cc | 1 +
 src/shrpx_listen_handler.cc | 1 +
 src/shrpx_ssl.cc            | 2 +-
 5 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/examples/spdycli.c b/examples/spdycli.c
index 3874aa4..040ae82 100644
--- a/examples/spdycli.c
+++ b/examples/spdycli.c
@@ -39,6 +39,7 @@
 #include <signal.h>
 #include <stdio.h>
 #include <assert.h>
+#include <string.h>
 
 #include <spdylay/spdylay.h>
 
diff --git a/src/shrpx.cc b/src/shrpx.cc
index 65e9afd..f7bd742 100644
--- a/src/shrpx.cc
+++ b/src/shrpx.cc
@@ -41,6 +41,7 @@
 #include <iostream>
 #include <fstream>
 #include <vector>
+#include <cstring>
 
 #include <openssl/ssl.h>
 #include <openssl/err.h>
diff --git a/src/shrpx_client_handler.cc b/src/shrpx_client_handler.cc
index df6bb1c..e8db861 100644
--- a/src/shrpx_client_handler.cc
+++ b/src/shrpx_client_handler.cc
@@ -26,6 +26,7 @@
 
 #include <unistd.h>
 #include <cerrno>
+#include <cstring>
 
 #include "shrpx_upstream.h"
 #include "shrpx_spdy_upstream.h"
diff --git a/src/shrpx_listen_handler.cc b/src/shrpx_listen_handler.cc
index aabd013..f5b8ac6 100644
--- a/src/shrpx_listen_handler.cc
+++ b/src/shrpx_listen_handler.cc
@@ -28,6 +28,7 @@
 #include <pthread.h>
 
 #include <cerrno>
+#include <cstring>
 
 #include <event2/bufferevent_ssl.h>
 
diff --git a/src/shrpx_ssl.cc b/src/shrpx_ssl.cc
index f712816..58753be 100644
--- a/src/shrpx_ssl.cc
+++ b/src/shrpx_ssl.cc
@@ -30,7 +30,7 @@
 #include <pthread.h>
 
 #include <vector>
-#include <string>
+#include <cstring>
 
 #include <openssl/crypto.h>
 #include <openssl/x509.h>
-- 
2.9.3


--- End Message ---
--- Begin Message ---
Source: spdylay
Source-Version: 1.3.2-2.1

We believe that the bug you reported is fixed in the latest version of
spdylay, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 837...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Helmut Grohne <hel...@subdivi.de> (supplier of updated spdylay package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 04 Nov 2016 16:57:57 +0100
Source: spdylay
Binary: libspdylay7 libspdylay-utils libspdylay-dev libspdylay-dbg
Architecture: source
Version: 1.3.2-2.1
Distribution: unstable
Urgency: medium
Maintainer: Emanuele Rocca <e...@debian.org>
Changed-By: Helmut Grohne <hel...@subdivi.de>
Description:
 libspdylay-dbg - implementation of SPDY protocol in C - debug symbols
 libspdylay-dev - implementation of SPDY protocol in C - development files
 libspdylay-utils - implementation of SPDY protocol in C - utilities
 libspdylay7 - implementation of SPDY protocol in C
Closes: 837960
Changes:
 spdylay (1.3.2-2.1) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Non-maintainer upload.
 .
   [ Sebastian Andrzej Siewior ]
   * Fix FTBFS: spdylay-compile-against-openssl-1.1.0.patch. (Closes: #837960)
Checksums-Sha1:
 3536c3c0745af9a40904c5fb4a865b54dfecefe2 2153 spdylay_1.3.2-2.1.dsc
 d387c8d73a915949c0cf770e1ac2c3b8ebd8d6b0 4488 spdylay_1.3.2-2.1.debian.tar.xz
Checksums-Sha256:
 c03384a4771109cde91b451ccf03b86d868bcc1d64b6193c1eb34796d6eab198 2153 
spdylay_1.3.2-2.1.dsc
 02703c75df1a30a3ddf2cf5aeab046a381a3ce33060de3ee4f0ebf562e7b67e0 4488 
spdylay_1.3.2-2.1.debian.tar.xz
Files:
 c174ce475a192fcde26d4042791e8199 2153 libs optional spdylay_1.3.2-2.1.dsc
 1031aa7cc8a2564bbe5854d24cd334af 4488 libs optional 
spdylay_1.3.2-2.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJYHLBSAAoJEC0aqs8kRERCG3YP/22gXAKKQjeg/aTCQl05UFQH
YE9ISqZ9bTDosORstIytvFIxrfC76qBd4Af/1VXKAA7gAhBk+pqSQlPQVyjrKq+n
bBlmfgwyZuLb5/lqXeQJAJVrboYkxMefA+b+7xHN1xGEXGsoPBzB/czvSEgCYqOf
2GW+q+wn3EZYjAng4K9wirhztpmDMCOP+cNXQIdGeu+fcRQHouvo1TQI2GNDJCur
cdtUuAg0mYjTuD920ZKbcSf34D/dpH5paFtHs1v9Zwu668CkJ+RWm3JzpyLylFVq
kdGmpFtZg8WoP4scL8QbmAlO3bIODyGnXGdyiquswZEcZuLqoOMDD+9gOiYjr/gP
8G5YrgWq8Ds4m5lLVW7b/n8DdCvaXnjgAucOzC+2syWCdHdXHpq+bnjeJiAYBE34
YG1KA1zV6Y5dibyTAsqpzEYCEgJ+U4qAh1JnebLBDXUYzE1kHJPFmt5S7EMVuqkC
ITlIXp0fk1q4chuIhadw7X3LvvtgVzUxkL8b1JJkKb+rbbei3aJw58QkRdj0p8nj
el0tBF8uUfr1Qe2hU+dvRgGoBaARzUAVnFkw8Y8bgEsr5XBSRQF7wiPq9Usq4HBn
RYPdjQiB3bKI+ktx5ku2R8ksq5QO2dpCcko8rdD3nl9YJUE6EoUmSusOQTMFlgZ4
Db2yS0sNA2wiNC5z3MFK
=N9bV
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to