[From nobody Sun Oct 18 21:45:07 2026
Received: (at submit) by bugs.debian.org; 30 May 2026 16:13:00 +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.0 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,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, 31; hammy, 150; neutral, 118; spammy,
 0. spammytokens: hammytokens:0.000-+--Wdatetime,
 0.000-+--wdatetime, 
 0.000-+--wdate-time, 0.000-+--Wdate-time, 0.000-+--fPIC
Return-path: &lt;sebastian@breakpoint.cc&gt;
Received: from chamillionaire.breakpoint.cc ([91.216.245.30]:59212)
 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 1wTMJ1-002F71-0n for submit@bugs.debian.org;
 Sat, 30 May 2026 16:13:00 +0000
Date: Sat, 30 May 2026 18:12:56 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025; t=1780157577;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=nMCuZgT6AyltjkZnEx59ynfa7EwE1162YbX2WUI7id0=;
 b=WLKx8eBBFWunW5irAzfK1ccnaRXihgsVe5HqeSqJ8Ggj5r+G9uHktcfgiRRbMUlFWfzlhu
 fF/HiostQJKB8qkDUreDOO7IQYexx+blGq+vLGFdKhRLnmf/o/ZhaFF247so1rANafDUfR
 T0bV2K7DZi5GTJMQb4SIepbmLBE5JIHE5aPlxMEnIMDSHM1zMdaJjTpRTcDES9w2ZOboL/
 EH0NNhr1EiIvSjeK6ThSsxedCU+LUztZkyE4MUBl/xGinDQeWc8XvJPHm9pCKcZ9acblZ+
 ng24bM6kTQR2VteT7ynwgfMsTRiC5arjZQt0dSKO5GJMuq/yNRC393KG6sE8sA==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025e; t=1780157577;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=nMCuZgT6AyltjkZnEx59ynfa7EwE1162YbX2WUI7id0=;
 b=97dyO5fna/GIfKPPtspY8jqNbqR6YH0v/VIhgJAwDSC3bkPCCBnjmp7mbZQG8aR+sIu6a8
 aWtLExn+eAkILXCQ==
From: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
To: submit@bugs.debian.org
Subject: syslog-ng: FTBFS with openssl 4.0
Message-ID: &lt;20260530161256._RWi4J9N@breakpoint.cc&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Debbugs-CC: pkg-openssl-devel@alioth-lists.debian.net
Delivered-To: submit@bugs.debian.org

Package: syslog-ng
Version: 4.8.1-7
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:

| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I../../modules -I./lib -I./modules -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_68 -I../../lib/eventlog/src -I./lib/eventlog/src -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include -D_DEFAULT_SOURCE -I/usr/include/dbi -I/usr/include/dbi/dbi -I/usr/include/json-c -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wshadow -Wno-stack-protector -Wno-unused-parameter -Wno-variadic-macros -fno-omit-frame-pointer -O2 -g -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/syslog-ng-4.8.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../lib/transport/tls-verifier.c  -fPIC -DPIC -o lib/transport/.libs/libsyslog_ng_la-tls-verifier.o
| ../../lib/transport/tls-verifier.c: In function 'tls_verify_certificate_name':
| ../../lib/transport/tls-verifier.c:192:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|   192 |       ext = X509_get_ext(cert, ext_ndx);
|       |           ^
| ../../lib/transport/tls-verifier.c:225:44: error: invalid use of incomplete typedef 'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'}
|   225 |                   if (gen_name-&gt;d.iPAddress-&gt;length == 16)
|       |                                            ^~
| ../../lib/transport/tls-verifier.c:228:67: error: invalid use of incomplete typedef 'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'}
|   228 |                   if (inet_ntop(addr_family, gen_name-&gt;d.iPAddress-&gt;data, dotted_ip, sizeof(dotted_ip)))
|       |                                                                   ^~
| ../../lib/transport/tls-verifier.c:245:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|   245 |       name = X509_get_subject_name(cert);
|       |            ^
| ../../lib/transport/tls-verifier.c:246:7: warning: 'X509_NAME_get_text_by_NID' is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations]
|   246 |       if (X509_NAME_get_text_by_NID(name, NID_commonName, pattern_buf, sizeof(pattern_buf)) != -1)
|       |       ^~
| In file included from /usr/include/openssl/ssl.h:34,
|                  from ../../lib/transport/tls-verifier.h:29,
|                  from ../../lib/transport/tls-verifier.c:25:
| /usr/include/openssl/x509.h:1041:27: note: declared here
|  1041 | OSSL_DEPRECATEDIN_4_0 int X509_NAME_get_text_by_NID(const X509_NAME *name,
|       |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
| make[3]: *** [Makefile:22045: lib/transport/libsyslog_ng_la-tls-verifier.lo] Error 1

Full buildlog
	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/syslog-ng_4.8.1-7_amd64-2026-04-19T14:06:16Z
 
Sebastian
]