Public bug reported: Imported from Debian bug http://bugs.debian.org/1138311:
Package: php8.4 Version: 8.4.20-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: | x86_64-linux-gnu-gcc -Iext/openssl/ -I/build/reproducible-path/php8.4-8.4.20/ext/openssl/ -I/build/reproducible-path/php8.4-8.4.20/ext-build/main -I/build/reproducible-path/php8.4-8.4.20/ext-build -I/build/reproducible-path/php8.4-8.4.20/main -I/build/reproducible-path/php8.4-8.4.20 -I/build/reproducible-path/php8.4-8.4.20/ext-build/ext/date/lib -I/build/reproducible-path/php8.4-8.4.20/ext/date/lib -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/rav1e -I/usr/include/svt-av1 -I/build/reproducible-path/php8.4-8.4.20/ext/mbstring/libmbfl -I/build/reproducible-path/php8.4-8.4.20/ext-build/ext/mbstring/libmbfl -I/build/reproducible-path/php8.4-8.4.20/ext/mbstring/libmbfl/mbfl -I/build/reproducible-path/php8.4-8.4.20/ext-build/ext/mbstring/libmbfl/mbfl -I/usr/include/postgresql -I/usr/include/editline -I/usr/include/tidy -I/build/reproducible-path/php8.4-8.4.20/ext-build/TSRM -I/build/reproducible-path/php8.4-8.4.20/ext-build/Zend -I/build/reproducible-path/php8.4-8.4.20/Zend -I/build/reproducible-path/php8.4-8.4.20/TSRM -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/php8.4-8.4.20=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O2 -Wall -pedantic -fsigned-char -fno-strict-aliasing -DTELEMETRY_PACKAGE=\"php8.4\" -DTELEMETRY_VERSION=\"8.4.20-1\" -DOPENSSL_SUPPRESS_DEPRECATED -g -ffp-contract=off -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -c /build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c -MMD -MF ext/openssl/openssl.dep -MT ext/openssl/openssl.lo -fPIC -DPIC -o ext/openssl/.libs/openssl.o |In file included from /build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c:29: |/build/reproducible-path/php8.4-8.4.20/ext/openssl/php_openssl.h:78:20: error: ‘ERR_NUM_ERRORS’ undeclared here (not in a function); did you mean ‘ERR_COMMON_ERROR’? | 78 | int buffer[ERR_NUM_ERRORS]; | | ^~~~~~~~~~~~~~ | | ERR_COMMON_ERROR |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c: In function ‘php_openssl_add_assoc_name_entry’: |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c:688:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 688 | ne = X509_NAME_get_entry(name, i); | | ^ |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c:689:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 689 | obj = X509_NAME_ENTRY_get_object(ne); | | ^ |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c:698:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 698 | str = X509_NAME_ENTRY_get_data(ne); | | ^ |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c: In function ‘php_openssl_add_assoc_asn1_string’: |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c:742:48: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} | 742 | add_assoc_stringl(val, key, (char *)str->data, str->length); | | ^~ |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c:742:59: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’} | 742 | add_assoc_stringl(val, key, (char *)str->data, str->length); | | ^~ |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c: In function ‘php_openssl_asn1_time_to_time_t’: |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c:775:102: error: invalid use of incomplete typedef ‘ASN1_UTCTIME’ {aka ‘struct asn1_string_st’} | 775 | php_error_docref(NULL, E_WARNING, "Unable to parse time string %s correctly", timestr->data); | | ^~ |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c:780:102: error: invalid use of incomplete typedef ‘ASN1_UTCTIME’ {aka ‘struct asn1_string_st’} | 780 | php_error_docref(NULL, E_WARNING, "Unable to parse time string %s correctly", timestr->data); | | ^~ |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c: In function ‘openssl_x509v3_subjectAltName’: |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c:2053:24: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 2053 | extension_data = X509_EXTENSION_get_data(extension); | | ^ |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c:2054:27: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 2054 | p = extension_data->data; | | ^~ |/build/reproducible-path/php8.4-8.4.20/ext/openssl/openssl.c:2055:32: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 2055 | length = extension_data->length; Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/php8.4_8.4.20-1_amd64-2026-04-19T11:54:29Z Sebastian ** Affects: php8.4 (Ubuntu) Importance: Undecided Status: New ** Affects: php8.4 (Debian) Importance: Undecided Status: New ** Tags: ftbfs openssl-4.0 ** Bug watch added: Debian Bug tracker #1138311 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138311 ** Changed in: php8.4 (Debian) Remote watch: None => Debian Bug tracker #1138311 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2154858 Title: php8.4: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php8.4/+bug/2154858/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
