Discussion:
[packages/php] - mysqlnd requires hash now
Elan Ruusamäe
2018-09-05 18:08:52 UTC
Permalink
More specifically, how the problem manifests?

[***@blodnatt php73]# rpm -q php73-hash php73-mysqli; php73 -r
'mysqli_connect();'package php73-hash is not installed
php73-mysqli-7.3.0-0.beta3.1.x86_64
PHP Warning: mysqli_connect(): (HY000/2002): Connection refused in Command
line code on line 1
[***@blodnatt php73]#
21:04 [1]blodnatt [ 0 blodnatt 1* blodnatt
commit cc302397388202321c5b852375a6811ef412aa7a
Date: Tue Aug 21 05:59:53 2018 +0000
- mysqlnd requires hash now
dep-tests.sh | 7 ++++---
php.spec | 4 +++-
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/php.spec b/php.spec
index a555435..d2c3c4a 100644
--- a/php.spec
+++ b/php.spec
@@ -2484,6 +2484,8 @@ generate_inifiles() {
[ "$mod" = "spl" ] && conf="SPL.ini"
# session needs to be loaded before php-pecl-http,
php-pecl-memcache, php-pecl-session_mysql
[ "$mod" = "session" ] && conf="Session.ini"
+ # hash needs to be loaded before mysqlnd
+ [ "$mod" = "hash" ] && conf="Hash.ini"
# mysqlnd needs to be loaded before mysqli,pdo_mysqli
[ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
echo "+ $conf"
@@ -3131,7 +3133,7 @@ fi
%files hash
%defattr(644,root,root,755)
%doc ext/hash/{CREDITS,README}
-%config(noreplace) %verify(not md5 mtime size)
%{_sysconfdir}/conf.d/hash.ini
+%config(noreplace) %verify(not md5 mtime size)
%{_sysconfdir}/conf.d/Hash.ini
%attr(755,root,root) %{php_extensiondir}/hash.so
%endif
diff --git a/dep-tests.sh b/dep-tests.sh
index 18ea66c..3d1a398 100755
--- a/dep-tests.sh
+++ b/dep-tests.sh
@@ -7,8 +7,9 @@ dep_spl="pcre simplexml"
dep_session="spl $dep_spl"
dep_filter='pcre'
dep_eaccelerator='session'
-dep_mysql="$with_mysqlnd"
-dep_mysqli="$dep_spl spl $with_mysqlnd"
+dep_mysqlnd='hash'
+dep_mysql="$dep_mysqlnd $with_mysqlnd"
+dep_mysqli="$dep_spl spl $dep_mysqlnd $with_mysqlnd"
dep_pdo="$dep_spl spl"
dep_pdo_sqlite="$dep_pdo pdo"
dep_pdo_pgsql="$dep_pdo pdo"
@@ -16,7 +17,7 @@ dep_pdo_oci="$dep_pdo pdo"
dep_pdo_odbc="$dep_pdo pdo"
dep_pdo_firebird="$dep_pdo pdo"
dep_pdo_dblib="$dep_pdo pdo"
-dep_pdo_mysql="$dep_pdo pdo $with_mysqlnd"
+dep_pdo_mysql="$dep_pdo pdo $dep_mysqlnd $with_mysqlnd"
dep_simplexml="$dep_spl spl"
dep_imap="pcre"
dep_phar="$dep_spl spl hash"
================================================================
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/cc302397388202321c5b852375a6811ef412aa7a
_______________________________________________
pld-cvs-commit mailing list
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
Arkadiusz Miśkiewicz
2018-09-05 18:58:25 UTC
Permalink
Post by Elan Ruusamäe
More specifically, how the problem manifests?
http://buildlogs.pld-linux.org/index.php?dist=th&arch=i686&ok=0&name=php&id=941f6728-d625-428e-8926-c70fd96187c5&action=tail

on i686
--
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
glen
2018-09-06 08:48:24 UTC
Permalink
Post by Arkadiusz Miśkiewicz
Post by Elan Ruusamäe
More specifically, how the problem manifests?
http://buildlogs.pld-linux.org/index.php?dist=th&arch=i686&ok=0&name=php&id=941f6728-d625-428e-8926-c70fd96187c5&action=tail
on i686
+ PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh PHP Warning: PHP Startup: Unable to load dynamic library 'modules/mysqlnd.so' - modules/mysqlnd.so: undefined symbol: PHP_SHA256Init in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/mysqli.so' - modules/mysqli.so: undefined symbol: mysqlnd_get_client_info in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/mysqlnd.so' - modules/mysqlnd.so: undefined symbol: PHP_SHA256Init in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/mysqlnd.so' - modules/mysqlnd.so: undefined symbol: PHP_SHA256Init in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_mysql.so' - modules/pdo_mysql.so: undefined symbol: mysqlnd_get_client_info in Unknown on line 0




somehow i686 / x86_64 symbols resolved differently? lazy on x86_64,
strict on i686?

glibc change?
--
glen
Loading...