Public bug reported:

Imported from Debian bug http://bugs.debian.org/1138469:

Package: haskell-hsopenssl
Version: 0.11.7.9-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: [email protected]
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__=910 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 
-Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Icbits -Idist-ghc/build/cbits -D 
PTHREAD -DCALLCONV=ccall -Idist-ghc/build/autogen 
-Idist-ghc/build/global-autogen -include dist-ghc/build/autogen/cabal_macros.h 
-I/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.10.3-inplace/network-3.2.8.0-EpoT6TF40y6Dph5NPnICp/include
 
-I/usr/lib/ghc/lib/../lib/x86_64-linux-ghc-9.10.3/directory-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_64-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/ghc/lib/../lib/x86_64-linux-ghc-9.10.3/rts-1.0.2/include 
-I/usr/include/include/
|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 ‘main’:
|/usr/lib/ghc/lib/template-hsc.h:82:24: error: invalid use of incomplete 
typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
|   82 |                 (long) offsetof (t, f));
|      |                        ^~~~~~~~
|ASN1.hsc:66:5: note: in expansion of macro ‘hsc_peek’
|/usr/lib/ghc/lib/template-hsc.h:82:24: error: invalid use of incomplete 
typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
|   82 |                 (long) offsetof (t, f));
|      |                        ^~~~~~~~
|ASN1.hsc:67:5: note: in expansion of macro ‘hsc_peek’
|
|dh_auto_build: error: debian/hlibrary.setup build --builddir=dist-ghc returned 
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

** Affects: haskell-hsopenssl (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: haskell-hsopenssl (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs openssl-4.0

** Bug watch added: Debian Bug tracker #1138469
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138469

** Changed in: haskell-hsopenssl (Debian)
 Remote watch: None => Debian Bug tracker #1138469

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155021

Title:
  haskell-hsopenssl: FTBFS with openssl 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haskell-hsopenssl/+bug/2155021/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to