[From nobody Tue Jun 30 16:45:08 2026
Received: (at submit) by bugs.debian.org; 30 May 2026 16:20:43 +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.2 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,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, 63; hammy, 150; neutral, 43; spammy,
 0. spammytokens: hammytokens:0.000-+--pthread, 0.000-+--builddir,
 0.000-+--sk:pkgope, 0.000-+--sk:pkg-ope, 0.000-+--typedef
Return-path: &lt;sebastian@breakpoint.cc&gt;
Received: from chamillionaire.breakpoint.cc ([2a0a:51c0:0:237:300::1]:42872)
 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 1wTMQU-002Gbx-1G for submit@bugs.debian.org;
 Sat, 30 May 2026 16:20:43 +0000
Date: Sat, 30 May 2026 18:20:40 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025; t=1780158040;
 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=JwGrbDoP9QhTLnpC27YWiub3ZnTEsEYoncd5WgSPn98=;
 b=YMHIIdMj8sOfws9wY9DTuppSZ/tJT6Nm8MNWK9ZwPdjYijxUn7JzspjHNGGgeX2T/b8n8Q
 dI8rd2AhSKBvNR45unqPu3PIkNyMEmmxAO0niDpdIsAOID+gcw+q4suJKvYdpyQSluDeoX
 IAvH/sz4FIr1j2tSSZXXHV3C/nZ+z3eLEoUz7thbCN6bgbPrHbwlN4EeOyB4ePNJYejAdo
 8l+fkXLeWyppROb2Yja3RjKYVeOQyd+yXyYV9UzuHPnNjZDz5XQPtYduAE6uicSTk5pFlU
 VtVYOBqiQ4/sBpXDG5IYQIv74hrG8zKb0S7eofDwlpvrgFpzNmFIrpdTLMxylA==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025e; t=1780158040;
 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=JwGrbDoP9QhTLnpC27YWiub3ZnTEsEYoncd5WgSPn98=;
 b=AFbk2dSVUteWtXk86HceVGbXqzxZMLMtFiyHo+ZkNEdoUNs/8EKjGbBsWyh5XnqUepUOC3
 PKrSGmjUQvv8k5Aw==
From: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
To: submit@bugs.debian.org
Subject: haskell-hsopenssl: FTBFS with openssl 4.0
Message-ID: &lt;20260530162040.PsYipfJy@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: haskell-hsopenssl
Version: 0.11.7.9-1
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:

|command was: /usr/bin/x86_64-linux-gnu-gcc -c dist-ghc/build/OpenSSL/ASN1_=
hsc_make.c -o dist-ghc/build/OpenSSL/ASN1_hsc_make.o -Wl,--no-as-needed -D_=
_GLASGOW_HASKELL__=3D910 -Dlinux_BUILD_OS=3D1 -Dx86_64_BUILD_ARCH=3D1 -Dlin=
ux_HOST_OS=3D1 -Dx86_64_HOST_ARCH=3D1 -Icbits -Idist-ghc/build/cbits -D PTH=
READ -DCALLCONV=3Dccall -Idist-ghc/build/autogen -Idist-ghc/build/global-au=
togen -include dist-ghc/build/autogen/cabal_macros.h -I/usr/lib/haskell-pac=
kages/ghc/lib/x86_64-linux-ghc-9.10.3-inplace/network-3.2.8.0-EpoT6TF40y6Dp=
h5NPnICp/include -I/usr/lib/ghc/lib/../lib/x86_64-linux-ghc-9.10.3/director=
y-1.3.8.5-inplace/include -I/usr/lib/ghc/lib/../lib/x86_64-linux-ghc-9.10.3=
/unix-2.8.7.0-inplace/include -I/usr/lib/ghc/lib/../lib/x86_64-linux-ghc-9.=
10.3/time-1.12.2-inplace/include -I/usr/lib/ghc/lib/../lib/x86_64-linux-ghc=
-9.10.3/bytestring-0.12.2.0-inplace/include -I/usr/lib/ghc/lib/../lib/x86_6=
4-linux-ghc-9.10.3/ghc-internal-9.1003.0-inplace/include -I/usr/lib/ghc/lib=
/../lib/x86_64-linux-ghc-9.10.3/ghc-bignum-1.3-inplace/include -I/usr/lib/g=
hc/lib/../lib/x86_64-linux-ghc-9.10.3/rts-1.0.2/include -I/usr/include/incl=
ude/
|error: In file included from /usr/include/strings.h:23,
|                 from /usr/include/string.h:462,
|                 from /usr/include/openssl/ec.h:23,
|                 from /usr/include/openssl/x509.h:35,
|                 from /usr/include/openssl/pem.h:23,
|                 from cbits/HsOpenSSL.h:14,
|                 from ASN1.hsc:23:
|ASN1.hsc: In function =C3=A2=E2=82=AC=CB=9Cmain=C3=A2=E2=82=AC=E2=84=A2:
|/usr/lib/ghc/lib/template-hsc.h:82:24: error: invalid use of incomplete ty=
pedef =C3=A2=E2=82=AC=CB=9CASN1_STRING=C3=A2=E2=82=AC=E2=84=A2 {aka =C3=A2=
=E2=82=AC=CB=9Cstruct asn1_string_st=C3=A2=E2=82=AC=E2=84=A2}
|   82 |                 (long) offsetof (t, f));
|      |                        ^~~~~~~~
|ASN1.hsc:66:5: note: in expansion of macro =C3=A2=E2=82=AC=CB=9Chsc_peek=
=C3=A2=E2=82=AC=E2=84=A2
|/usr/lib/ghc/lib/template-hsc.h:82:24: error: invalid use of incomplete ty=
pedef =C3=A2=E2=82=AC=CB=9CASN1_STRING=C3=A2=E2=82=AC=E2=84=A2 {aka =C3=A2=
=E2=82=AC=CB=9Cstruct asn1_string_st=C3=A2=E2=82=AC=E2=84=A2}
|   82 |                 (long) offsetof (t, f));
|      |                        ^~~~~~~~
|ASN1.hsc:67:5: note: in expansion of macro =C3=A2=E2=82=AC=CB=9Chsc_peek=
=C3=A2=E2=82=AC=E2=84=A2
|
|dh_auto_build: error: debian/hlibrary.setup build --builddir=3Ddist-ghc re=
turned exit code 1

Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/haskell-hsopenssl_=
0.11.7.9-1_amd64-2026-04-19T11:02:00Z

Sebastian
]