Public bug reported:

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

Package: proxytunnel
Version: 1.12.3-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:

| cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/proxytunnel-1.12.3=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DOPENSSL11 -DHAVE_GETOPT_LONG 
-DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=2 -c -o ptstream.o ptstream.c
| ptstream.c: In function ‘check_cert_names’:
| ptstream.c:233:45: error: invalid use of incomplete typedef 
‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
|   233 |                                 if (gn->d.ip->length == 4 && 
peer_host_is_ipv4) {
|       |                                             ^~
| ptstream.c:234:73: error: invalid use of incomplete typedef 
‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
|   234 |                                         if 
(check_cert_valid_ip(gn->d.ip->data, gn->d.ip->length, &addr)) {
|       |                                                                       
  ^~
| ptstream.c:234:89: error: invalid use of incomplete typedef 
‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
|   234 |                                         if 
(check_cert_valid_ip(gn->d.ip->data, gn->d.ip->length, &addr)) {
|       |                                                                       
                  ^~
| ptstream.c:237:52: error: invalid use of incomplete typedef 
‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
|   237 |                                 } else if (gn->d.ip->length == 16 && 
peer_host_is_ipv6) {
|       |                                                    ^~
| ptstream.c:238:74: error: invalid use of incomplete typedef 
‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
|   238 |                                         if 
(check_cert_valid_ip6(gn->d.ip->data, gn->d.ip->length, &addr6)) {
|       |                                                                       
   ^~
| ptstream.c:238:90: error: invalid use of incomplete typedef 
‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
|   238 |                                         if 
(check_cert_valid_ip6(gn->d.ip->data, gn->d.ip->length, &addr6)) {
|       |                                                                       
                   ^~
| ptstream.c:246:17: warning: ‘X509_NAME_get_text_by_NID’ is deprecated: 
Since OpenSSL 4.0 [-Wdeprecated-declarations]
|   246 |                 
X509_NAME_get_text_by_NID(X509_get_subject_name(cert), NID_commonName, peer_cn, 
sizeof(peer_cn));
|       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/openssl/x509v3.h:27,
|                  from ptstream.c:23:
| /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[1]: *** [Makefile:106: ptstream.o] Error 1
| make[1]: Leaving directory '/build/reproducible-path/proxytunnel-1.12.3'


Full buildlog
  
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/proxytunnel_1.12.3-1_amd64-2026-04-19T10:47:00Z

Sebastian

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

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


** Tags: ftbfs openssl-4.0

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

** Changed in: proxytunnel (Debian)
 Remote watch: None => Debian Bug tracker #1138422

** 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/2154967

Title:
  proxytunnel: FTBFS with openssl 4.0

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


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

Reply via email to