Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760854 - dev-lang/php-8.0.0 : /.../openssl.c: error: EVP_CIPH_OCB_MODE undeclared (first use in this function)
Summary: dev-lang/php-8.0.0 : /.../openssl.c: error: EVP_CIPH_OCB_MODE undeclared (fir...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LibreSSL
URL:
Whiteboard:
Keywords:
: 764014 (view as bug list)
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2020-12-20 10:14 UTC by Toralf Förster
Modified: 2021-01-25 19:26 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.37 KB, text/plain)
2020-12-20 10:14 UTC, Toralf Förster
Details
dev-lang:php-8.0.0:20201220-020415.log (dev-lang:php-8.0.0:20201220-020415.log,122.17 KB, text/plain)
2020-12-20 10:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,17.46 KB, text/plain)
2020-12-20 10:14 UTC, Toralf Förster
Details
environment (environment,110.16 KB, text/plain)
2020-12-20 10:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.56 KB, application/x-bzip)
2020-12-20 10:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,48.25 KB, application/x-bzip)
2020-12-20 10:14 UTC, Toralf Förster
Details
disable EVP_CIPH_OCB because it isnt supported by libressl yet (php-openssl-evp-ciph-ocb.patch,432 bytes, patch)
2021-01-04 10:29 UTC, Bradley Jarvis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-12-20 10:14:29 UTC
/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"
Comment 1 Toralf Förster gentoo-dev 2020-12-20 10:14:30 UTC
Created attachment 678876 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-12-20 10:14:32 UTC
Created attachment 678879 [details]
dev-lang:php-8.0.0:20201220-020415.log
Comment 3 Toralf Förster gentoo-dev 2020-12-20 10:14:33 UTC
Created attachment 678882 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-12-20 10:14:34 UTC
Created attachment 678885 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-12-20 10:14:35 UTC
Created attachment 678888 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-12-20 10:14:37 UTC
Created attachment 678891 [details]
logs.tbz2
Comment 7 Bradley Jarvis 2021-01-04 10:23:52 UTC
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
Comment 8 Bradley Jarvis 2021-01-04 10:29:31 UTC
Created attachment 680992 [details, diff]
disable EVP_CIPH_OCB because it isnt supported by libressl yet
Comment 9 Brian Evans (RETIRED) gentoo-dev 2021-01-25 19:12:58 UTC
*** Bug 764014 has been marked as a duplicate of this bug. ***
Comment 10 Brian Evans (RETIRED) gentoo-dev 2021-01-25 19:26:00 UTC
This should be fixed with 8.0.1 and 7.4.14.

Doesn't seem to be included with 7.3 series