Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678230 - dev-lang/php-5.6.40 : /.../openssl.c:547:12: error: static declaration of RSA_set0_key follows non-static declaration
Summary: dev-lang/php-5.6.40 : /.../openssl.c:547:12: error: static declaration of RSA...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2019-02-17 14:26 UTC by Toralf Förster
Modified: 2019-02-17 15:14 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.70 KB, text/plain)
2019-02-17 14:26 UTC, Toralf Förster
Details
dev-lang:php-5.6.40:20190217-114545.log (dev-lang:php-5.6.40:20190217-114545.log,77.46 KB, text/plain)
2019-02-17 14:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,121.97 KB, text/plain)
2019-02-17 14:26 UTC, Toralf Förster
Details
environment (environment,108.32 KB, text/plain)
2019-02-17 14:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.24 KB, application/x-bzip)
2019-02-17 14:26 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,33.91 KB, application/x-bzip)
2019-02-17 14:26 UTC, Toralf Förster
Details
php-5.6.40-openssl11-libressl.patch (php-5.6.40-openssl11-libressl.patch,2.81 KB, patch)
2019-02-17 15:14 UTC, Thomas Deutschmann (RETIRED)
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 2019-02-17 14:26:08 UTC
/bin/sh /var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/libtool --silent --preserve-dup-deps --mode=compile x86_64-pc-linux-gnu-gcc  -Iext/openssl/ -I/var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/ext/openssl/ -DPHP_ATOM_INC -I/var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/include -I/var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/main -I/var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli -I/var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/ext/date/lib -I/var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/ext/ereg/regex -I/usr/include/libxml2 -I/var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/ext/mbstring/libmbfl -I/var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/TSRM -I/var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/Zend    -I/usr/include -O2 -pipe -march=native  -c /var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/ext/openssl/openssl.c -o ext/openssl/openssl.lo 
/var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/ext/openssl/openssl.c:547:12: error: static declaration of ‘RSA_set0_key’ follows non-static declaration
 static int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
            ^~~~~~~~~~~~
In file included from /var/tmp/portage/dev-lang/php-5.6.40/work/sapis-build/cli/ext/openssl/openssl.c:47:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop-gnome_libressl_20190214-190945

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.10.0 [icedtea-8]
2)	IcedTea JDK 3.10.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8  system-vm
  [2]   icedtea-bin-8 

emerge -qpvO dev-lang/php
[ebuild   R   ] dev-lang/php-7.3.2  USE="acl berkdb bzip2 cli ctype fileinfo filter gdbm hash iconv ipv6 json ldap libressl nls opcache phar posix readline session simplexml spell ssl tokenizer unicode xml zlib -apache2 -argon2 -bcmath -calendar -cdb -cgi -cjk -coverage -curl -debug -embed -enchant -exif -firebird -flatfile -fpm -ftp -gd -gmp -imap -inifile -intl -iodbc -kerberos -ldap-sasl -libedit -lmdb -mhash -mssql -mysql -mysqli -oci8-instant-client -odbc -pcntl -pdo -phpdbg -postgres -qdbm -recode (-selinux) -session-mm -sharedmem -snmp -soap -sockets -sodium -sqlite -systemd -sysvipc -test -threads -tidy -tokyocabinet -truetype -wddx -webp -xmlreader -xmlrpc -xmlwriter -xpm -xslt -zip -zip-encryption"
Comment 1 Toralf Förster gentoo-dev 2019-02-17 14:26:11 UTC
Created attachment 565630 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-02-17 14:26:14 UTC
Created attachment 565632 [details]
dev-lang:php-5.6.40:20190217-114545.log
Comment 3 Toralf Förster gentoo-dev 2019-02-17 14:26:17 UTC
Created attachment 565634 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-02-17 14:26:20 UTC
Created attachment 565636 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-02-17 14:26:23 UTC
Created attachment 565638 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-02-17 14:26:25 UTC
Created attachment 565640 [details]
logs.tbz2
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2019-02-17 15:14:29 UTC
Created attachment 565654 [details, diff]
php-5.6.40-openssl11-libressl.patch

Please test the attached patch (put it in /etc/portages/patches/dev-lang/php...).

Is >=dev-lang/php-7.1 compiling against LibreSSL?