We will be providing an update to PHP 5.3.17 to fix various bugs. Here's a reference for the changes in PHP: http://www.php.net/ChangeLog-5.php I have added Provides: /usr/bin/php in Mageia 2's php-cgi package to hopefully fix Bug 6534. I am also updating php-apc and php-timezonedb in Mageia 2 to newer versions, as Mandriva has done for MES5: http://pecl.php.net/package-changelog.php?package=APC&release=3.1.13 http://www.mandriva.com/en/support/security/advisories/?dis=mes5&name=MDVA-2012:054 http://www.mandriva.com/en/support/security/advisories/?dis=mes5&name=MDVA-2012:052 I have most of the packages built (everything except for php-gd-bundled), and have already tested these myself on Mageia 1 and Mageia 2 i586 with my normal testcases from https://bugs.mageia.org/show_bug.cgi?id=3895#c35 and can confirm they work fine. php-gd-bundled will not build against the updated PHP packages. The build logs end with this: cc -shared -Wl,--as-needed .libs/gd.o libgd/.libs/gd.o libgd/.libs/gd_gd.o libgd/.libs/gd_gd2.o libgd/.libs/gd_io.o libgd/.libs/gd_io_dp.o libgd/.libs/gd_io_file.o libgd/.libs/gd_ss.o libgd/.libs/gd_io_ss.o libgd/.libs/gd_png.o libgd/.libs/gd_jpeg.o libgd/.libs/gdxpm.o libgd/.libs/gdfontt.o libgd/.libs/gdfonts.o libgd/.libs/gdfontmb.o libgd/.libs/gdfontl.o libgd/.libs/gdfontg.o libgd/.libs/gdtables.o libgd/.libs/gdft.o libgd/.libs/gdcache.o libgd/.libs/gdkanji.o libgd/.libs/wbmp.o libgd/.libs/gd_wbmp.o libgd/.libs/gdhelpers.o libgd/.libs/gd_topal.o libgd/.libs/gd_gif_in.o libgd/.libs/xbm.o libgd/.libs/gd_gif_out.o libgd/.libs/gd_security.o libgd/.libs/gd_filter.o libgd/.libs/gd_pixelate.o libgd/.libs/gd_arc.o libgd/.libs/gd_rotate.o libgd/.libs/gd_color.o -march=i586 -mtune=generic -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -Wl,-soname -Wl,gd.so -o .libs/gd.so cc: error: .libs/gd.o: No such file or directory Testing locally, I see that .libs is empty. Here are some of the logs: http://pkgsubmit.mageia.org/uploads/failure/2/core/updates_testing/20120928181639.luigiwalser.valstar.20652/log/php-gd-bundled-5.3.17-1.mga2/build.0.20120928181730.log http://pkgsubmit.mageia.org/uploads/failure/1/core/updates_testing/20120928183223.luigiwalser.valstar.15655/log/php-gd-bundled-5.3.17-1.mga1/build.0.20120928183330.log
Oden, could you help fix the php-gd-bundled build problem?
CC: (none) => oeWhiteboard: (none) => MGA1TOO
Here are the packages that have been built so far. php-ini-5.3.17-1.mga1 php-cli-5.3.17-1.mga1 php-cgi-5.3.17-1.mga1 php-fpm-5.3.17-1.mga1 apache-mod_php-5.3.17-1.mga1 libphp5_common5-5.3.17-1.mga1 php-devel-5.3.17-1.mga1 php-openssl-5.3.17-1.mga1 php-zlib-5.3.17-1.mga1 php-doc-5.3.17-1.mga1 php-bcmath-5.3.17-1.mga1 php-bz2-5.3.17-1.mga1 php-calendar-5.3.17-1.mga1 php-ctype-5.3.17-1.mga1 php-curl-5.3.17-1.mga1 php-dba-5.3.17-1.mga1 php-dom-5.3.17-1.mga1 php-enchant-5.3.17-1.mga1 php-exif-5.3.17-1.mga1 php-fileinfo-5.3.17-1.mga1 php-filter-5.3.17-1.mga1 php-ftp-5.3.17-1.mga1 php-gd-5.3.17-1.mga1 php-gettext-5.3.17-1.mga1 php-gmp-5.3.17-1.mga1 php-hash-5.3.17-1.mga1 php-iconv-5.3.17-1.mga1 php-imap-5.3.17-1.mga1 php-intl-5.3.17-1.mga1 php-json-5.3.17-1.mga1 php-ldap-5.3.17-1.mga1 php-mbstring-5.3.17-1.mga1 php-mcrypt-5.3.17-1.mga1 php-mssql-5.3.17-1.mga1 php-mysql-5.3.17-1.mga1 php-mysqli-5.3.17-1.mga1 php-mysqlnd-5.3.17-1.mga1 php-odbc-5.3.17-1.mga1 php-pcntl-5.3.17-1.mga1 php-pdo-5.3.17-1.mga1 php-pdo_dblib-5.3.17-1.mga1 php-pdo_mysql-5.3.17-1.mga1 php-pdo_odbc-5.3.17-1.mga1 php-pdo_pgsql-5.3.17-1.mga1 php-pdo_sqlite-5.3.17-1.mga1 php-pgsql-5.3.17-1.mga1 php-phar-5.3.17-1.mga1 php-posix-5.3.17-1.mga1 php-pspell-5.3.17-1.mga1 php-readline-5.3.17-1.mga1 php-recode-5.3.17-1.mga1 php-session-5.3.17-1.mga1 php-shmop-5.3.17-1.mga1 php-snmp-5.3.17-1.mga1 php-soap-5.3.17-1.mga1 php-sockets-5.3.17-1.mga1 php-sqlite3-5.3.17-1.mga1 php-sqlite-5.3.17-1.mga1 php-sybase_ct-5.3.17-1.mga1 php-sysvmsg-5.3.17-1.mga1 php-sysvsem-5.3.17-1.mga1 php-sysvshm-5.3.17-1.mga1 php-tidy-5.3.17-1.mga1 php-tokenizer-5.3.17-1.mga1 php-xml-5.3.17-1.mga1 php-xmlreader-5.3.17-1.mga1 php-xmlrpc-5.3.17-1.mga1 php-xmlwriter-5.3.17-1.mga1 php-xsl-5.3.17-1.mga1 php-wddx-5.3.17-1.mga1 php-zip-5.3.17-1.mga1 php-eaccelerator-0.9.6.1-6.8.mga1 php-eaccelerator-admin-0.9.6.1-6.8.mga1 php-ini-5.3.17-1.mga2 php-cli-5.3.17-1.mga2 php-cgi-5.3.17-1.mga2 php-fpm-5.3.17-1.mga2 apache-mod_php-5.3.17-1.mga2 libphp5_common5-5.3.17-1.mga2 php-devel-5.3.17-1.mga2 php-openssl-5.3.17-1.mga2 php-zlib-5.3.17-1.mga2 php-bcmath-5.3.17-1.mga2 php-bz2-5.3.17-1.mga2 php-calendar-5.3.17-1.mga2 php-ctype-5.3.17-1.mga2 php-curl-5.3.17-1.mga2 php-dba-5.3.17-1.mga2 php-dom-5.3.17-1.mga2 php-enchant-5.3.17-1.mga2 php-exif-5.3.17-1.mga2 php-fileinfo-5.3.17-1.mga2 php-filter-5.3.17-1.mga2 php-ftp-5.3.17-1.mga2 php-gd-5.3.17-1.mga2 php-gettext-5.3.17-1.mga2 php-gmp-5.3.17-1.mga2 php-hash-5.3.17-1.mga2 php-iconv-5.3.17-1.mga2 php-imap-5.3.17-1.mga2 php-intl-5.3.17-1.mga2 php-json-5.3.17-1.mga2 php-ldap-5.3.17-1.mga2 php-mbstring-5.3.17-1.mga2 php-mcrypt-5.3.17-1.mga2 php-mssql-5.3.17-1.mga2 php-mysql-5.3.17-1.mga2 php-mysqli-5.3.17-1.mga2 php-mysqlnd-5.3.17-1.mga2 php-odbc-5.3.17-1.mga2 php-pcntl-5.3.17-1.mga2 php-pdo-5.3.17-1.mga2 php-pdo_dblib-5.3.17-1.mga2 php-pdo_mysql-5.3.17-1.mga2 php-pdo_odbc-5.3.17-1.mga2 php-pdo_pgsql-5.3.17-1.mga2 php-pdo_sqlite-5.3.17-1.mga2 php-pgsql-5.3.17-1.mga2 php-phar-5.3.17-1.mga2 php-posix-5.3.17-1.mga2 php-readline-5.3.17-1.mga2 php-recode-5.3.17-1.mga2 php-session-5.3.17-1.mga2 php-shmop-5.3.17-1.mga2 php-snmp-5.3.17-1.mga2 php-soap-5.3.17-1.mga2 php-sockets-5.3.17-1.mga2 php-sqlite3-5.3.17-1.mga2 php-sqlite-5.3.17-1.mga2 php-sybase_ct-5.3.17-1.mga2 php-sysvmsg-5.3.17-1.mga2 php-sysvsem-5.3.17-1.mga2 php-sysvshm-5.3.17-1.mga2 php-tidy-5.3.17-1.mga2 php-tokenizer-5.3.17-1.mga2 php-xml-5.3.17-1.mga2 php-xmlreader-5.3.17-1.mga2 php-xmlrpc-5.3.17-1.mga2 php-xmlwriter-5.3.17-1.mga2 php-xsl-5.3.17-1.mga2 php-wddx-5.3.17-1.mga2 php-zip-5.3.17-1.mga2 php-eaccelerator-0.9.6.1-10.3.mga2 php-eaccelerator-admin-0.9.6.1-10.3.mga2 php-timezonedb-2012.6-1.mga2 php-apc-3.1.13-1.mga2 php-apc-admin-3.1.13-1.mga2 from SRPMS: php-ini-5.3.17-1.mga1.src.rpm php-5.3.17-1.mga1.src.rpm php-eaccelerator-0.9.6.1-6.8.mga1.src.rpm php-5.3.17-1.mga2.src.rpm php-eaccelerator-0.9.6.1-10.3.mga2.src.rpm php-timezonedb-2012.6-1.mga2.src.rpm php-apc-3.1.13-1.mga2.src.rpm
You could also fix this one: https://bugs.mageia.org/show_bug.cgi?id=7553
(In reply to comment #3) > You could also fix this one: > > https://bugs.mageia.org/show_bug.cgi?id=7553 I already did. I used your spec for the update, except I didn't rename mod_php5.so to mod_php.so, because it's better to not make that change to stable releases, especially if it requires us to maintain an external patch going forward. Any thoughts on the php-gd-bundled problem?
Blocks: (none) => 7553
Note to self: php-cli should provide /usr/bin/php, not php-cgi.
Where do you have php-5.3.17-1.mga2.src.rpm ?
On the mirrors in 2/SRPMS/core/updates_testing, or you can check it out from SVN with mgarepo co -d 2 php
php-5.3.17-2.mga2 will land shortly in mga2 core/updates_testing which fixes the php-gd-bundled build problem.
php-gd-bundled has been built as well. Note: php and php-gd-bundled has been submitted to mga2 core/updates_testing only.
Thanks Oden. Would you mind making the fix in Mageia 1 as well? Then we can push to QA. If not, I'll try when I get back to work tomorrow.
Mandriva has issued an update for PHP 5.3.17 today (October 1): http://www.mandriva.com/en/support/security/advisories/?dis=mes5&name=MDVA-2012:060
(In reply to comment #10) > Thanks Oden. Would you mind making the fix in Mageia 1 as well? Then we can > push to QA. If not, I'll try when I get back to work tomorrow. Done.
Thanks Oden! Assigning to QA. This will also fix Bug 7553 (but that's not important for the advisory). This update provides PHP 5.3.17, a bugfix update, for Mageia 1 and Mageia 2. For Mageia 2, it also: - explicitly provides /usr/bin/php to fix Bug 6534 - provides updated versions of php-timezonedb and php-apc References: http://www.php.net/ChangeLog-5.php http://pecl.php.net/package-changelog.php?package=APC&release=3.1.13 http://www.mandriva.com/en/support/security/advisories/?dis=mes5&name=MDVA-2012:054 http://www.mandriva.com/en/support/security/advisories/?dis=mes5&name=MDVA-2012:052 http://www.mandriva.com/en/support/security/advisories/?dis=mes5&name=MDVA-2012:060 ======================== Updated packages in core/updates_testing: ======================== php-ini-5.3.17-1.mga1 php-cli-5.3.17-2.mga1 php-cgi-5.3.17-2.mga1 php-fpm-5.3.17-2.mga1 apache-mod_php-5.3.17-2.mga1 libphp5_common5-5.3.17-2.mga1 php-devel-5.3.17-2.mga1 php-openssl-5.3.17-2.mga1 php-zlib-5.3.17-2.mga1 php-doc-5.3.17-2.mga1 php-bcmath-5.3.17-2.mga1 php-bz2-5.3.17-2.mga1 php-calendar-5.3.17-2.mga1 php-ctype-5.3.17-2.mga1 php-curl-5.3.17-2.mga1 php-dba-5.3.17-2.mga1 php-dom-5.3.17-2.mga1 php-enchant-5.3.17-2.mga1 php-exif-5.3.17-2.mga1 php-fileinfo-5.3.17-2.mga1 php-filter-5.3.17-2.mga1 php-ftp-5.3.17-2.mga1 php-gd-5.3.17-2.mga1 php-gettext-5.3.17-2.mga1 php-gmp-5.3.17-2.mga1 php-hash-5.3.17-2.mga1 php-iconv-5.3.17-2.mga1 php-imap-5.3.17-2.mga1 php-intl-5.3.17-2.mga1 php-json-5.3.17-2.mga1 php-ldap-5.3.17-2.mga1 php-mbstring-5.3.17-2.mga1 php-mcrypt-5.3.17-2.mga1 php-mssql-5.3.17-2.mga1 php-mysql-5.3.17-2.mga1 php-mysqli-5.3.17-2.mga1 php-mysqlnd-5.3.17-2.mga1 php-odbc-5.3.17-2.mga1 php-pcntl-5.3.17-2.mga1 php-pdo-5.3.17-2.mga1 php-pdo_dblib-5.3.17-2.mga1 php-pdo_mysql-5.3.17-2.mga1 php-pdo_odbc-5.3.17-2.mga1 php-pdo_pgsql-5.3.17-2.mga1 php-pdo_sqlite-5.3.17-2.mga1 php-pgsql-5.3.17-2.mga1 php-phar-5.3.17-2.mga1 php-posix-5.3.17-2.mga1 php-pspell-5.3.17-2.mga1 php-readline-5.3.17-2.mga1 php-recode-5.3.17-2.mga1 php-session-5.3.17-2.mga1 php-shmop-5.3.17-2.mga1 php-snmp-5.3.17-2.mga1 php-soap-5.3.17-2.mga1 php-sockets-5.3.17-2.mga1 php-sqlite3-5.3.17-2.mga1 php-sqlite-5.3.17-2.mga1 php-sybase_ct-5.3.17-2.mga1 php-sysvmsg-5.3.17-2.mga1 php-sysvsem-5.3.17-2.mga1 php-sysvshm-5.3.17-2.mga1 php-tidy-5.3.17-2.mga1 php-tokenizer-5.3.17-2.mga1 php-xml-5.3.17-2.mga1 php-xmlreader-5.3.17-2.mga1 php-xmlrpc-5.3.17-2.mga1 php-xmlwriter-5.3.17-2.mga1 php-xsl-5.3.17-2.mga1 php-wddx-5.3.17-2.mga1 php-zip-5.3.17-2.mga1 php-eaccelerator-0.9.6.1-6.8.mga1 php-eaccelerator-admin-0.9.6.1-6.8.mga1 php-gd-bundled-5.3.17-1.mga1 php-ini-5.3.17-2.mga2 php-cli-5.3.17-2.mga2 php-cgi-5.3.17-2.mga2 php-fpm-5.3.17-2.mga2 apache-mod_php-5.3.17-2.mga2 libphp5_common5-5.3.17-2.mga2 php-devel-5.3.17-2.mga2 php-openssl-5.3.17-2.mga2 php-zlib-5.3.17-2.mga2 php-bcmath-5.3.17-2.mga2 php-bz2-5.3.17-2.mga2 php-calendar-5.3.17-2.mga2 php-ctype-5.3.17-2.mga2 php-curl-5.3.17-2.mga2 php-dba-5.3.17-2.mga2 php-dom-5.3.17-2.mga2 php-enchant-5.3.17-2.mga2 php-exif-5.3.17-2.mga2 php-fileinfo-5.3.17-2.mga2 php-filter-5.3.17-2.mga2 php-ftp-5.3.17-2.mga2 php-gd-5.3.17-2.mga2 php-gettext-5.3.17-2.mga2 php-gmp-5.3.17-2.mga2 php-hash-5.3.17-2.mga2 php-iconv-5.3.17-2.mga2 php-imap-5.3.17-2.mga2 php-intl-5.3.17-2.mga2 php-json-5.3.17-2.mga2 php-ldap-5.3.17-2.mga2 php-mbstring-5.3.17-2.mga2 php-mcrypt-5.3.17-2.mga2 php-mssql-5.3.17-2.mga2 php-mysql-5.3.17-2.mga2 php-mysqli-5.3.17-2.mga2 php-mysqlnd-5.3.17-2.mga2 php-odbc-5.3.17-2.mga2 php-pcntl-5.3.17-2.mga2 php-pdo-5.3.17-2.mga2 php-pdo_dblib-5.3.17-2.mga2 php-pdo_mysql-5.3.17-2.mga2 php-pdo_odbc-5.3.17-2.mga2 php-pdo_pgsql-5.3.17-2.mga2 php-pdo_sqlite-5.3.17-2.mga2 php-pgsql-5.3.17-2.mga2 php-phar-5.3.17-2.mga2 php-posix-5.3.17-2.mga2 php-readline-5.3.17-2.mga2 php-recode-5.3.17-2.mga2 php-session-5.3.17-2.mga2 php-shmop-5.3.17-2.mga2 php-snmp-5.3.17-2.mga2 php-soap-5.3.17-2.mga2 php-sockets-5.3.17-2.mga2 php-sqlite3-5.3.17-2.mga2 php-sqlite-5.3.17-2.mga2 php-sybase_ct-5.3.17-2.mga2 php-sysvmsg-5.3.17-2.mga2 php-sysvsem-5.3.17-2.mga2 php-sysvshm-5.3.17-2.mga2 php-tidy-5.3.17-2.mga2 php-tokenizer-5.3.17-2.mga2 php-xml-5.3.17-2.mga2 php-xmlreader-5.3.17-2.mga2 php-xmlrpc-5.3.17-2.mga2 php-xmlwriter-5.3.17-2.mga2 php-xsl-5.3.17-2.mga2 php-wddx-5.3.17-2.mga2 php-zip-5.3.17-2.mga2 php-eaccelerator-0.9.6.1-10.3.mga2 php-eaccelerator-admin-0.9.6.1-10.3.mga2 php-gd-bundled-5.3.17-1.mga2 php-timezonedb-2012.6-1.mga2 php-apc-3.1.13-1.mga2 php-apc-admin-3.1.13-1.mga2 from SRPMS: php-ini-5.3.17-1.mga1.src.rpm php-5.3.17-2.mga1.src.rpm php-eaccelerator-0.9.6.1-6.8.mga1.src.rpm php-gd-bundled-5.3.17-1.mga1.src.rpm php-5.3.17-2.mga2.src.rpm php-eaccelerator-0.9.6.1-10.3.mga2.src.rpm php-gd-bundled-5.3.17-1.mga2.src.rpm php-timezonedb-2012.6-1.mga2.src.rpm php-apc-3.1.13-1.mga2.src.rpm
Assignee: bugsquad => qa-bugs
Blocks: (none) => 6534
Marking as validated based on: https://bugs.mageia.org/show_bug.cgi?id=7316#c8 See comment 13 for advisory and packages.
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0281
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED
There's a flaw (or one could argue this is a feature) with the Mageia build system caught by the spec file magic I added in the php spec file years ago to require the exact postgresql library package version: ... # stupid postgresql... stupid build system... # this is needed due to the postgresql packaging and due to bugs like this: # https://qa.mandriva.org/show_bug.cgi?id=52527 %define postgresql_version %(pg_config &>/dev/null && pg_config 2>/dev/null | grep "^VERSION" | awk '{ print $4 }' 2>/dev/null || echo 0) ... %package pgsql Summary: PostgreSQL database module for PHP Group: Development/PHP Requires: %{libname} >= %{epoch}:%{version} Requires: postgresql-libs >= %{postgresql_version} ... $ rpm -qp --requires /mnt/BIG/mageia/2/x86_64/media/core/updates/php-pgsql-5.3.17-2.mga2.x86_64.rpm | grep postgresql-libs postgresql-libs >= 9.1.6 # urpmi php-pgsql A requested package cannot be installed: php-pgsql-5.3.17-2.mga2.x86_64 (due to unsatisfied postgresql-libs[>= 9.1.6]) Continue installation anyway? (Y/n) Updates has postgresql9.1-9.1.5-1.mga2.src.rpm Test updates has postgresql9.1-9.1.6-1.mga2.src.rpm Or... One could revive the debate why all the postgresql packages versions provides libpq.so.5? # urpmf libpq.so.5 --media "Core Release" | cut -d: -f1 | sort -u lib64pq8.4_5 lib64pq9.0_5 lib64pq9.1_5 Maybe you could make the postgresql packages provide a better soname? Like for example having /usr/lib64/libpq.so.5.4 provide libpq.so.5.4 as the soname. And do the same for 8.4 and 9.0? And..., the latest "system" version as of today in cauldron and with postgresql9.2-9.2.1-1.mga3.src.rpm it would be the only one with a symlinked file to explicitly provide libpq.so.5, like: ln -snf /usr/lib64/libpq.so.5.5 /usr/lib64/libpq.so.5 This would be a better long term fix I believe. Additionally and as for mga2 you could add this fix for postgresql8.4-8.4.13-1.mga2.src.rpm (postgresql8.4-8.4.14-1.mga2.src.rpm) postgresql9.0-9.0.9-1.mga2.src.rpm (postgresql9.0-9.0.10-1.mga2.src.rpm) So, the postgresql8.4 and postgresql9.0 packages in mga2 will NOT provide libpq.so.5 at all. I think once that's done possible deps problems in order to install postgresql8.4-8.4.14-(2) will be resolved automatically without the need to explicitly require lib(64)pq8.4_5 = 8.4.14 for postgresql8.4-8.4.14-(2). And, there will be no more file clashes and problems with "libpq.so.5". As a bonus I think there will be no more toggle issues if you do for example "urpmi postgresql-devel" several times in a row. Well, just a suggestion as good as any.
Status: RESOLVED => REOPENEDResolution: FIXED => (none)
I don't totally understand, but it sounds like you're saying php-pgsql is requiring the postgresql version in updates_testing. So I guess that'll be fixed once that update is pushed. As for all of your other suggestions, please file a new bug and assign it to Funda Wang.
Yes, the problem will be solved once postgresql 9.1.6 lands in updates,
postgrsql update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0209
Status: REOPENED => RESOLVEDResolution: (none) => FIXED