Public bug reported:

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

Package: tcltls
Version: 2.0-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:

| gcc -DPACKAGE_NAME=\"tls\" -DPACKAGE_TARNAME=\"tls\" 
-DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"tls\ 2.0\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tls=/\*\*/ -DHAVE_STDIO_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 
-DSTDC_HEADERS=1 -DTcl_Size=int -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 
-D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 
-DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) 
-DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 
-DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DTCL_MAJOR_VERSION=8 
-DTK_MAJOR_VERSION=8 -DNO_SSL3=1 -D_FORTIFY_SOURCE=2 -fstack-protector-all 
-fno-strict-overflow  -Wno-deprecated-declarations -I/usr/include 
-I"/usr/include/tcl8.6"  -I.    -g -Wall -fPIC -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/tcltls-2.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -pipe -g -Wall -fPIC -Wdate-time 
-D_FORTIFY_SOURCE=2 -c `echo ../../generic/tlsX509.c` -o tlsX509.o
| ../../generic/tlsX509.c: In function ‘Tls_x509Extensions’:
| ../../generic/tlsX509.c:110:32: warning: initialization discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   110 |             ASN1_OBJECT *obj = X509_EXTENSION_get_object(ex);
|       |                                ^~~~~~~~~~~~~~~~~~~~~~~~~
| ../../generic/tlsX509.c: In function ‘Tls_x509CrlDp’:
| ../../generic/tlsX509.c:419:38: warning: initialization discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   419 |                     ASN1_STRING *d = X509_NAME_ENTRY_get_data(e);
|       |                                      ^~~~~~~~~~~~~~~~~~~~~~~~
| In file included from ../../generic/tlsX509.c:16:
| ../../generic/tlsX509.c: In function ‘Tls_NewX509Obj’:
| ../../generic/tlsX509.c:554:79: error: invalid use of incomplete typedef 
‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
|   554 |             LAPPEND_OBJ(interp, resultObj, "signatureValue", 
String_to_Hex(sig->data, sig->length));
|       |                                                                       
        ^~
| ../../generic/tlsInt.h:162:44: note: in definition of macro ‘LAPPEND_OBJ’
|   162 |     Tcl_ListObjAppendElement(interp, obj, (tclObj != NULL) ? tclObj : 
Tcl_NewStringObj("", 0)); \
|       |                                            ^~~~~~
| ../../generic/tlsX509.c:554:90: error: invalid use of incomplete typedef 
‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
|   554 |             LAPPEND_OBJ(interp, resultObj, "signatureValue", 
String_to_Hex(sig->data, sig->length));
|       |                                                                       
                   ^~
| ../../generic/tlsInt.h:162:44: note: in definition of macro ‘LAPPEND_OBJ’
|   162 |     Tcl_ListObjAppendElement(interp, obj, (tclObj != NULL) ? tclObj : 
Tcl_NewStringObj("", 0)); \
|       |                                            ^~~~~~
| ../../generic/tlsX509.c:554:79: error: invalid use of incomplete typedef 
‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
|   554 |             LAPPEND_OBJ(interp, resultObj, "signatureValue", 
String_to_Hex(sig->data, sig->length));
|       |                                                                       
        ^~
| ../../generic/tlsInt.h:162:62: note: in definition of macro ‘LAPPEND_OBJ’
|   162 |     Tcl_ListObjAppendElement(interp, obj, (tclObj != NULL) ? tclObj : 
Tcl_NewStringObj("", 0)); \
|       |                                                              ^~~~~~
| ../../generic/tlsX509.c:554:90: error: invalid use of incomplete typedef 
‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
|   554 |             LAPPEND_OBJ(interp, resultObj, "signatureValue", 
String_to_Hex(sig->data, sig->length));
|       |                                                                       
                   ^~
| ../../generic/tlsInt.h:162:62: note: in definition of macro ‘LAPPEND_OBJ’
|   162 |     Tcl_ListObjAppendElement(interp, obj, (tclObj != NULL) ? tclObj : 
Tcl_NewStringObj("", 0)); \
|       |                                                              ^~~~~~
| ../../generic/tlsX509.c:610:13: warning: assignment discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   610 |         key = X509_get0_pubkey_bitstr(cert);
|       |             ^
| ../../generic/tlsX509.c:611:70: error: invalid use of incomplete typedef 
‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’}
|   611 |         LAPPEND_OBJ(interp, resultObj, "publicKey", 
String_to_Hex(key->data, key->length));
|       |                                                                      
^~
| ../../generic/tlsInt.h:162:44: note: in definition of macro ‘LAPPEND_OBJ’
|   162 |     Tcl_ListObjAppendElement(interp, obj, (tclObj != NULL) ? tclObj : 
Tcl_NewStringObj("", 0)); \
|       |                                            ^~~~~~
| ../../generic/tlsX509.c:611:81: error: invalid use of incomplete typedef 
‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’}
|   611 |         LAPPEND_OBJ(interp, resultObj, "publicKey", 
String_to_Hex(key->data, key->length));
|       |                                                                       
          ^~
| ../../generic/tlsInt.h:162:44: note: in definition of macro ‘LAPPEND_OBJ’
|   162 |     Tcl_ListObjAppendElement(interp, obj, (tclObj != NULL) ? tclObj : 
Tcl_NewStringObj("", 0)); \
|       |                                            ^~~~~~
| ../../generic/tlsX509.c:611:70: error: invalid use of incomplete typedef 
‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’}
|   611 |         LAPPEND_OBJ(interp, resultObj, "publicKey", 
String_to_Hex(key->data, key->length));
|       |                                                                      
^~
| ../../generic/tlsInt.h:162:62: note: in definition of macro ‘LAPPEND_OBJ’
|   162 |     Tcl_ListObjAppendElement(interp, obj, (tclObj != NULL) ? tclObj : 
Tcl_NewStringObj("", 0)); \
|       |                                                              ^~~~~~
| ../../generic/tlsX509.c:611:81: error: invalid use of incomplete typedef 
‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’}
|   611 |         LAPPEND_OBJ(interp, resultObj, "publicKey", 
String_to_Hex(key->data, key->length));
|       |                                                                       
          ^~
…

Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/tcltls_2.0-1_amd64-2026-04-19T11:16:07Z

Sebastian

** Affects: tcltls (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: tcltls (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs openssl-4.0

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

** Changed in: tcltls (Debian)
 Remote watch: None => Debian Bug tracker #1138429

** Tags added: ftbfs openssl-4.0

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

Title:
  tcltls: FTBFS with openssl 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tcltls/+bug/2154974/+subscriptions


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

Reply via email to