[From nobody Mon Jun  8 17:51:07 2026
Received: (at submit) by bugs.debian.org; 30 May 2026 15:49:47 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-28.1 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HAS_PACKAGE,RCVD_IN_DNSWL_MED,
 SPF_HELO_PASS,SPF_PASS,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 43; hammy, 150; neutral, 72; spammy,
 0. spammytokens: hammytokens:0.000-+--Wdatetime, 0.000-+--wdatetime,
 0.000-+--wdate-time, 0.000-+--Wdate-time, 0.000-+--sk:ffilep
Return-path: &lt;sebastian@breakpoint.cc&gt;
Received: from chamillionaire.breakpoint.cc ([91.216.245.30]:33502)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sebastian@breakpoint.cc&gt;)
 id 1wTLwY-002B8d-0C for submit@bugs.debian.org;
 Sat, 30 May 2026 15:49:46 +0000
Date: Sat, 30 May 2026 17:49:43 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025; t=1780156183;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=Nv6GGMAgWRil2umdz3qEgH5IuprSLRVQrR0UGPB852g=;
 b=iYchQKnqp3sMAuZ1nV+i/Kc4jSv8EecbYSZaBVA5HbB8MwsRVHPfM5BBzXWsMXN5CyxWQP
 3j93FLbmAfWJF3fMHsH8rapJkyVG7jEw7+3Mah0UpNAoi/Ab+bOALavsGuu4NYHCr+JSa4
 JjM86PedsFW3wyiHjtHi5nnXoVymktLqx4KYwUrRG5I/QHvOe9sKA0V29jvIFKme1Mm9eO
 x/L0h+YBcl0Q3e2B0GLvN31wcxXyBu0O8UMBVw/Uyl1nIQIJhKzOPMXvxoRu2vUVEI1cLA
 qHjb9dGVlvppszI2Rz0Zj+CcEYbTJVC+d30EHE4fkYaOOjTJovGP7ydXINZs/w==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025e; t=1780156183;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=Nv6GGMAgWRil2umdz3qEgH5IuprSLRVQrR0UGPB852g=;
 b=n8G9WaW8Kfx0i+PxGN3RM/0x8eUeSBjkyD716QoXM9bb1aoLqAejil6uS+oEKCjauDcmke
 qgukCvCDihPVbHCQ==
From: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
To: submit@bugs.debian.org
Subject: kannel: FTBFS with openssl 4.0
Message-ID: &lt;20260530154943.7I7pN8vA@breakpoint.cc&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Debbugs-CC: pkg-openssl-devel@alioth-lists.debian.net
Delivered-To: submit@bugs.debian.org

Package: kannel
Version: 1.4.5-22
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel@lists.alioth.debian.org
Usertags: openssl-4.0

OpenSSL 4.0 is in experimental. This package fails to build against it:

| gcc -Wdate-time -D_FORTIFY_SOURCE=3D2 -D_REENTRANT=3D1 -I. -Igw -g -O2 -W=
error=3Dimplicit-function-declaration -ffile-prefix-map=3D/build/reproducib=
le-path/kannel-1.4.5=3D. -fstack-protector-strong -fstack-clash-protection =
-Wformat -Werror=3Dformat-security -fcf-protection -D_XOPEN_SOURCE=3D600 -D=
_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES=3D -DBROKEN_PTHREADS=3D1 -I/us=
r/include/libxml2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wneste=
d-externs -Winline -Wformat -Wformat-security -Wmissing-format-attribute -I=
/usr/include -I/usr/include/mariadb/ -I/usr/include/postgresql -I/usr/inclu=
de/hiredis -I/usr/include -o gwlib/conn.o -c gwlib/conn.c
| gwlib/conn.c: In function =C3=A2=E2=82=AC=CB=9Cunlocked_read=C3=A2=E2=82=
=AC=E2=84=A2:
| gwlib/conn.c:350:41: warning: pointer targets in passing argument 2 of =
=C3=A2=E2=82=AC=CB=9Coctstr_append_data=C3=A2=E2=82=AC=E2=84=A2 differ in s=
ignedness [-Wpointer-sign]
|   350 |         octstr_append_data(conn-&gt;inbuf, buf, len);
|       |                                         ^~~
|       |                                         |
|       |                                         unsigned char *
| In file included from ./gwlib/utils.h:68,
|                  from ./gwlib/gwlib.h:79,
|                  from gwlib/conn.c:82:
| ./gwlib/octstr.h:460:51: note: expected =C3=A2=E2=82=AC=CB=9Cconst char *=
=C3=A2=E2=82=AC=E2=84=A2 but argument is of type =C3=A2=E2=82=AC=CB=9Cunsig=
ned char *=C3=A2=E2=82=AC=E2=84=A2
|   460 | void octstr_append_data(Octstr *ostr, const char *data, long len);
|       |                                       ~~~~~~~~~~~~^~~~
| gwlib/conn.c: In function =C3=A2=E2=82=AC=CB=9Cconn_write_data=C3=A2=E2=
=82=AC=E2=84=A2:
| gwlib/conn.c:1062:38: warning: pointer targets in passing argument 2 of =
=C3=A2=E2=82=AC=CB=9Coctstr_append_data=C3=A2=E2=82=AC=E2=84=A2 differ in s=
ignedness [-Wpointer-sign]
|  1062 |     octstr_append_data(conn-&gt;outbuf, data, length);
|       |                                      ^~~~
|       |                                      |
|       |                                      unsigned char *
| ./gwlib/octstr.h:460:51: note: expected =C3=A2=E2=82=AC=CB=9Cconst char *=
=C3=A2=E2=82=AC=E2=84=A2 but argument is of type =C3=A2=E2=82=AC=CB=9Cunsig=
ned char *=C3=A2=E2=82=AC=E2=84=A2
|   460 | void octstr_append_data(Octstr *ostr, const char *data, long len);
|       |                                       ~~~~~~~~~~~~^~~~
| gwlib/conn.c: In function =C3=A2=E2=82=AC=CB=9Cconn_write_withlen=C3=A2=
=E2=82=AC=E2=84=A2:
| gwlib/conn.c:1076:38: warning: pointer targets in passing argument 2 of =
=C3=A2=E2=82=AC=CB=9Coctstr_append_data=C3=A2=E2=82=AC=E2=84=A2 differ in s=
ignedness [-Wpointer-sign]
|  1076 |     octstr_append_data(conn-&gt;outbuf, lengthbuf, 4);
|       |                                      ^~~~~~~~~
|       |                                      |
|       |                                      unsigned char *
| ./gwlib/octstr.h:460:51: note: expected =C3=A2=E2=82=AC=CB=9Cconst char *=
=C3=A2=E2=82=AC=E2=84=A2 but argument is of type =C3=A2=E2=82=AC=CB=9Cunsig=
ned char *=C3=A2=E2=82=AC=E2=84=A2
|   460 | void octstr_append_data(Octstr *ostr, const char *data, long len);
|       |                                       ~~~~~~~~~~~~^~~~
| gwlib/conn.c: In function =C3=A2=E2=82=AC=CB=9Cconn_read_withlen=C3=A2=E2=
=82=AC=E2=84=A2:
| gwlib/conn.c:1182:35: warning: pointer targets in passing argument 1 of =
=C3=A2=E2=82=AC=CB=9Coctstr_get_many_chars=C3=A2=E2=82=AC=E2=84=A2 differ i=
n signedness [-Wpointer-sign]
|  1182 |             octstr_get_many_chars(lengthbuf, conn-&gt;inbuf, conn-&gt;i=
nbufpos, 4);
|       |                                   ^~~~~~~~~
|       |                                   |
|       |                                   unsigned char *
| ./gwlib/octstr.h:217:34: note: expected =C3=A2=E2=82=AC=CB=9Cchar *=C3=A2=
=E2=82=AC=E2=84=A2 but argument is of type =C3=A2=E2=82=AC=CB=9Cunsigned ch=
ar *=C3=A2=E2=82=AC=E2=84=A2
|   217 | void octstr_get_many_chars(char *buf, Octstr *ostr, long pos, lon=
g len);
|       |                            ~~~~~~^~~
| gwlib/conn.c: In function =C3=A2=E2=82=AC=CB=9Cconn_shutdown_ssl=C3=A2=E2=
=82=AC=E2=84=A2:
| gwlib/conn.c:1359:5: error: implicit declaration of function =C3=A2=E2=82=
=AC=CB=9CERR_remove_state=C3=A2=E2=82=AC=E2=84=A2 [-Wimplicit-function-decl=
aration]
|  1359 |     ERR_remove_state(0);
|       |     ^~~~~~~~~~~~~~~~
| gwlib/conn.c:1359:5: warning: nested extern declaration of =C3=A2=E2=82=
=AC=CB=9CERR_remove_state=C3=A2=E2=82=AC=E2=84=A2 [-Wnested-externs]
| make[2]: *** [Makefile:226: gwlib/conn.o] Error 1

Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/kannel_1.4.5-22_am=
d64-2026-04-19T10:38:31Z

Sebastian
]