Public bug reported: Imported from Debian bug http://bugs.debian.org/1138401:
Package: golang-github-mendersoftware-openssl Version: 1.1.0-4 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: | # github.com/mendersoftware/openssl | hostname.c: In function ‘do_check_string’: | hostname.c:248:15: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} | 248 | if (!a->data || !a->length) | | ^~ | hostname.c:248:27: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} | 248 | if (!a->data || !a->length) | | ^~ | hostname.c:252:34: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} | 252 | if (cmp_type != a->type) | | ^~ | hostname.c:255:39: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} | 255 | return equal(a->data, a->length, b, blen); | | ^~ | hostname.c:255:48: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} | 255 | return equal(a->data, a->length, b, blen); | | ^~ | hostname.c:256:22: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} | 256 | if (a->length == (int)blen && !memcmp(a->data, b, blen)) | | ^~ | hostname.c:256:56: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} | 256 | if (a->length == (int)blen && !memcmp(a->data, b, blen)) | | ^~ | hostname.c: In function ‘do_x509_check’: | hostname.c:338:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 338 | name = X509_get_subject_name(x); | | ^ | hostname.c:343:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 343 | ne = X509_NAME_get_entry(name, i); | | ^ | hostname.c:344:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 344 | str = X509_NAME_ENTRY_get_data(ne); | | ^ | # github.com/mendersoftware/openssl | shim.c: In function ‘X_SSLv3_method’: | shim.c:484:16: error: implicit declaration of function ‘SSLv3_method’; did you mean ‘SSLv23_method’? [-Wimplicit-function-declaration] | 484 | return SSLv3_method(); | | ^~~~~~~~~~~~ | | SSLv23_method | shim.c:484:16: error: returning ‘int’ from a function with return type ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} makes pointer from integer without a cast [-Wint-conversion] | 484 | return SSLv3_method(); | | ^~~~~~~~~~~~~~ | shim.c: In function ‘X_TLSv1_method’: | shim.c:491:16: error: implicit declaration of function ‘TLSv1_method’; did you mean ‘X_TLSv1_method’? [-Wimplicit-function-declaration] | 491 | return TLSv1_method(); | | ^~~~~~~~~~~~ | | X_TLSv1_method | shim.c:491:16: error: returning ‘int’ from a function with return type ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} makes pointer from integer without a cast [-Wint-conversion] | 491 | return TLSv1_method(); | | ^~~~~~~~~~~~~~ | shim.c: In function ‘X_TLSv1_1_method’: | shim.c:496:16: error: implicit declaration of function ‘TLSv1_1_method’; did you mean ‘X_TLSv1_1_method’? [-Wimplicit-function-declaration] | 496 | return TLSv1_1_method(); | | ^~~~~~~~~~~~~~ | | X_TLSv1_1_method | shim.c:496:16: error: returning ‘int’ from a function with return type ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} makes pointer from integer without a cast [-Wint-conversion] | 496 | return TLSv1_1_method(); | | ^~~~~~~~~~~~~~~~ | shim.c: In function ‘X_TLSv1_2_method’: | shim.c:504:16: error: implicit declaration of function ‘TLSv1_2_method’; did you mean ‘X_TLSv1_2_method’? [-Wimplicit-function-declaration] | 504 | return TLSv1_2_method(); | | ^~~~~~~~~~~~~~ | | X_TLSv1_2_method | shim.c:504:16: error: returning ‘int’ from a function with return type ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} makes pointer from integer without a cast [-Wint-conversion] | 504 | return TLSv1_2_method(); | | ^~~~~~~~~~~~~~~~ | dh_auto_build: error: cd _build && go install -trimpath -v -p 1 github.com/mendersoftware/openssl github.com/mendersoftware/openssl/utils returned exit code 1 | make: *** [debian/rules:4: binary] Error 25 Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/golang-github-mendersoftware-openssl_1.1.0-4_amd64-2026-04-19T07:30:58Z Sebastian ** Affects: golang-github-mendersoftware-openssl (Ubuntu) Importance: Undecided Status: New ** Affects: golang-github-mendersoftware-openssl (Debian) Importance: Undecided Status: New ** Tags: ftbfs openssl-4.0 ** Bug watch added: Debian Bug tracker #1138401 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138401 ** Changed in: golang-github-mendersoftware-openssl (Debian) Remote watch: None => Debian Bug tracker #1138401 ** 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/2154947 Title: golang-github-mendersoftware-openssl: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-mendersoftware-openssl/+bug/2154947/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
