Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error openssl extension related to PR #9366 #9517

Closed
tommyrot opened this issue Sep 9, 2022 · 2 comments
Closed

Compilation error openssl extension related to PR #9366 #9517

tommyrot opened this issue Sep 9, 2022 · 2 comments

Comments

@tommyrot
Copy link

tommyrot commented Sep 9, 2022

Description

#9366 presumably incorrectly changed an ifdef statement in ext/openssl/openssl.c which can now result in the following error during compilation on OpenBSD 7.1 with LibreSSL 3.5.2:

/bin/sh /tmp/php-8.2.0RC1/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/openssl/ -I/tmp/php-8.2.0RC1/ext/openssl/ -I/tmp/php-8.2.0RC1/include -I/tmp/php-8.2.0RC1/main -I/tmp/php-8.2.0RC1 -I/tmp/php-8.2.0RC1/ext/date/lib -I/usr/local/include -I/tmp/php-8.2.0RC1/ext/mbstring/libmbfl -I/tmp/php-8.2.0RC1/ext/mbstring/libmbfl/mbfl -I/tmp/php-8.2.0RC1/TSRM -I/tmp/php-8.2.0RC1/Zend  -D_GNU_SOURCE  -fno-common -Wstrict-prototypes -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS    -c /tmp/php-8.2.0RC1/ext/openssl/openssl.c -o ext/openssl/openssl.lo  -MMD -MF ext/openssl/openssl.dep -MT ext/openssl/openssl.lo
/tmp/php-8.2.0RC1/ext/openssl/openssl.c:7173:49: error: use of undeclared identifier 'EVP_CIPH_OCB_MODE'
                        mode->set_tag_length_always = cipher_mode == EVP_CIPH_OCB_MODE;
                                                                     ^
1 error generated.
*** Error 1 in /tmp/php-8.2.0RC1 (Makefile:434 'ext/openssl/openssl.lo')

PHP Version

PHP 8.2.0RC1

Operating System

OpenBSD 7.1

@bukka
Copy link
Member

bukka commented Sep 11, 2022

Should be fixed by f126769

@bukka bukka closed this as completed Sep 11, 2022
@bukka
Copy link
Member

bukka commented Sep 11, 2022

Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants