/var/tmp/portage/dev-lang/php-8.0.0/work/sapis-build/cli/ext/openssl/openssl.c: In function ‘php_openssl_load_cipher_mode’: /var/tmp/portage/dev-lang/php-8.0.0/work/sapis-build/cli/ext/openssl/openssl.c:6906:8: error: ‘EVP_CIPH_OCB_MODE’ undeclared (first use in this function); did you mean ‘EVP_CIPH_OFB_MODE’? 6906 | case EVP_CIPH_OCB_MODE: | ^~~~~~~~~~~~~~~~~ | EVP_CIPH_OFB_MODE ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-libressl_abi32+64-20201219-101624 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * Available Python interpreters, in order of preference: [1] python3.9 [2] python3.8 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) [3] ruby27 (with Rubygems) * The following VMs are available for generation-2: *) AdoptOpenJDK 8.272_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sun Dec 20 01:05:17 AM UTC 2020 /var/db/repos/libressl Wed Dec 16 11:53:33 PM UTC 2020 emerge -qpvO dev-lang/php [ebuild N ] dev-lang/php-8.0.0 USE="acl berkdb bzip2 cgi cli ctype fileinfo filter flatfile gdbm iconv ipv6 libressl nls opcache phar posix readline session simplexml ssl tokenizer unicode xml -apache2 -argon2 -bcmath -calendar -cdb -cjk -coverage -curl -debug -embed -enchant -exif -ffi -firebird -fpm -ftp -gd -gmp -imap -inifile -intl -iodbc -kerberos -ldap -ldap-sasl -libedit -lmdb -mhash -mssql -mysql -mysqli -oci8-instant-client -odbc -pcntl -pdo -phpdbg -postgres -qdbm (-selinux) -session-mm -sharedmem -snmp -soap -sockets -sodium -spell -sqlite -systemd -sysvipc -test -threads -tidy -tokyocabinet -truetype -webp -xmlreader -xmlwriter -xpm -xslt -zip -zlib"
Created attachment 678876 [details] emerge-info.txt
Created attachment 678879 [details] dev-lang:php-8.0.0:20201220-020415.log
Created attachment 678882 [details] emerge-history.txt
Created attachment 678885 [details] environment
Created attachment 678888 [details] etc.portage.tbz2
Created attachment 678891 [details] logs.tbz2
This has been fixed in php 8.0.1, php 7.4.13 has the same bug and is fixed in 7.4.14 See https://github.com/php/php-src/pull/6337 I have attached a patch that will update openssl
Created attachment 680992 [details, diff] disable EVP_CIPH_OCB because it isnt supported by libressl yet
*** Bug 764014 has been marked as a duplicate of this bug. ***
This should be fixed with 8.0.1 and 7.4.14. Doesn't seem to be included with 7.3 series