Bug #65120 [Fbk->Opn]: fpm build fails on ppc: #error Unsupported processor
Edit report at https://bugs.php.net/bug.php?id=65120&edit=1 ID: 65120 User updated by: php-bugs-2013 at ryandesign dot com Reported by: php-bugs-2013 at ryandesign dot com Summary:fpm build fails on ppc: #error Unsupported processor -Status: Feedback +Status: Open Type: Bug Package:Compile Failure Operating System: Mac OS X 10.5.8 PHP Version:5.5.0 Block user comment: N Private report: N New Comment: I am not a C programmer and I'm not familiar with your code, so I'm probably not the best candidate to fix this. Previous Comments: [2013-06-25 15:56:54] fel...@php.net Can you provide a patch that works on such architecture? [2013-06-25 08:55:27] php-bugs-2013 at ryandesign dot com Description: Building the fpm sapi fails on a PowerBook G4 with Mac OS X 10.5.8 compiling with Apple's gcc 4.0.1 which comes with Xcode, with the following error: :info:build /bin/sh /Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_ lang_php/php55-fpm/work/php-5.5.0/libtool --silent --preserve-dup-deps -- mode=compile /usr/bin/gcc-4.0 - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/sapi/fpm -Isapi/fpm/ - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/ -DPHP_ATOM_INC - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/include - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/main - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0 - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/ext/date/lib - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/ext/ereg/regex - I/Volumes/Data/macports/leopard/include/libxml2 - I/Volumes/Data/macports/leopard/include - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/TSRM - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/Zend - I/Volumes/Data/macports/leopard/include -no-cpp-precomp -pipe -O2 -arch ppc - fvisibility=hidden -c /Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_ lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo :info:build In file included from /Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_ lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm_scoreboard.h:15, :info:build from /Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_ lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm.c:21: :info:build /Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_ lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm_atomic.h:142:2: error: #error Unsupported processor. Please open a bug report (bugs.php.net). Previous bug reports about fpm sapi build failure on PowerPC or POWER processors include #51214 (closed as not a bug because fpm wasn't part of php at that time); #51772 (closed as no feedback; there was a patch attached but someone said it was unstable); #54273 (closed as won't fix because the person handling the bug had no access to PowerPC equipment). -- Edit this bug report at https://bugs.php.net/bug.php?id=65120&edit=1
[PHP-BUG] Bug #65120 [NEW]: fpm build fails on ppc: #error Unsupported processor
From: php-bugs-2013 at ryandesign dot com Operating system: Mac OS X 10.5.8 PHP version: 5.5.0 Package: Compile Failure Bug Type: Bug Bug description:fpm build fails on ppc: #error Unsupported processor Description: Building the fpm sapi fails on a PowerBook G4 with Mac OS X 10.5.8 compiling with Apple's gcc 4.0.1 which comes with Xcode, with the following error: :info:build /bin/sh /Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_ lang_php/php55-fpm/work/php-5.5.0/libtool --silent --preserve-dup-deps -- mode=compile /usr/bin/gcc-4.0 - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/sapi/fpm -Isapi/fpm/ - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/ -DPHP_ATOM_INC - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/include - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/main - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0 - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/ext/date/lib - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/ext/ereg/regex - I/Volumes/Data/macports/leopard/include/libxml2 - I/Volumes/Data/macports/leopard/include - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/TSRM - I/Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports _lang_php/php55-fpm/work/php-5.5.0/Zend - I/Volumes/Data/macports/leopard/include -no-cpp-precomp -pipe -O2 -arch ppc - fvisibility=hidden -c /Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_ lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo :info:build In file included from /Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_ lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm_scoreboard.h:15, :info:build from /Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_ lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm.c:21: :info:build /Volumes/Data/macports/leopard/var/macports/build/_Volumes_Data_macports_dports_ lang_php/php55-fpm/work/php-5.5.0/sapi/fpm/fpm/fpm_atomic.h:142:2: error: #error Unsupported processor. Please open a bug report (bugs.php.net). Previous bug reports about fpm sapi build failure on PowerPC or POWER processors include #51214 (closed as not a bug because fpm wasn't part of php at that time); #51772 (closed as no feedback; there was a patch attached but someone said it was unstable); #54273 (closed as won't fix because the person handling the bug had no access to PowerPC equipment). -- Edit bug report at https://bugs.php.net/bug.php?id=65120&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65120&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65120&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65120&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65120&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65120&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65120&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65120&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65120&r=oldversion Not developer issue:https://bugs.php.net/fix.php?id=65120&r=support Expected behavior: https://bugs.php.net/fix.php?id=65120&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65120&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65120&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65120&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65120&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65120&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65120&r=isapi Install GNU Sed:https://bugs.php.net/fix.php?id=65120&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65120&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65120&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65120&r=mysqlcfg
Bug #64284 [Fbk->Opn]: Build failure: 'ext/intl/intl_error.h' file not found
Edit report at https://bugs.php.net/bug.php?id=64284&edit=1 ID: 64284 User updated by: php-bugs-2013 at ryandesign dot com Reported by: php-bugs-2013 at ryandesign dot com Summary:Build failure: 'ext/intl/intl_error.h' file not found -Status: Feedback +Status: Open Type: Bug Package:Compile Failure Operating System: OS X 10.8.2 PHP Version:5.5.0alpha5 Block user comment: N Private report: N New Comment: I doubt the problem is OS X-specific. Yes, we are using phpize to build the bundled extensions, just as we do to build third-party extensions. We've been using phpize ever since we started offering separately-installable PHP modules in 2009. This has worked fine until now. I was not aware using phpize was not supported. What should we be using instead? I am reluctant to change something that has been working for three years. Yes, I'm aware you have #includes for ext/date and ext/standard elsewhere in the code. This is not a problem because the ext/date and ext/standard files get installed by the main php55 port. There are 22 occurrences in ext/intl of '#include "intl_error.h"' and 4 of '#include "../intl_error.h"' and only this one occurrence of '#include "ext/intl/intl_error.h"' which is why I suggested this change. Previous Comments: [2013-02-23 13:03:27] cataphr...@php.net We have this kind of includes all over the place: http://lxr.php.net/search?q=%22include+ext%22&defs=&refs=&path=&hist=&project=PHP_TRUNK specifically for intl: http://lxr.php.net/search?q=%22include+ext%22&defs=&refs=&path=ext%2Fintl&hist=&project=PHP_TRUNK Your compile command line is very strange. It's looking for headers in a central location (/opt/local/include/php55), as if you're compiling ext/intl with phpize (which is not supported), and it also has includes for ...ext/intl/main, ...ext/intl/Zend ...ext/intl/ext. All these directories main, Zend, ext are under the root of the PHP source tree, not ext/intl. Maybe you could provide steps to reproduce this from a fresh tarball, though my ability to diagnose the problem will be limited as I don't use or have access to Mac OS X. [2013-02-23 10:52:46] php-bugs-2013 at ryandesign dot com I may have selected the wrong "package" for this bug report. I'm talking about the intl extension bundled with PHP, not the intl extension on PECL. [2013-02-23 10:39:40] php-bugs-2013 at ryandesign dot com Description: I'm the maintainer of PHP in MacPorts, trying to update our php55 packages. In 5.5.0alpha4 everything built fine but with 5.5.0alpha5 the intl extension does not build: /bin/sh /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- intl/work/php-5.5.0alpha5/ext/intl/libtool --mode=compile /usr/bin/clang - I/opt/local/include -Wno-write-strings -I. - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- intl/work/php-5.5.0alpha5/ext/intl - DPHP_ATOM_INC - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- intl/work/php-5.5.0alpha5/ext/intl/include - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- intl/work/php-5.5.0alpha5/ext/intl/main - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- intl/work/php-5.5.0alpha5/ext/intl -I/opt/local/include/php55/php - I/opt/local/include/php55/php/main -I/opt/local/include/php55/php/TSRM - I/opt/local/include/php55/php/Zend -I/opt/local/include/php55/php/ext - I/opt/local/include/php55/php/ext/date/lib -I/opt/local/include - I/opt/local/include -I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch x86_64 -c /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- intl/work/php-5.5.0alpha5/ext/intl/converter/converter.c -o converter/converter.lo mkdir converter/.libs /usr/bin/clang -I/opt/local/include -Wno-write-strings -I. - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- intl/work/php- 5.5.0alpha5/ext/intl -DPHP_ATOM_INC - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- intl/work/php-5.5.0alpha5/ext/intl/include - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- intl/work/php-5.5.0alpha5/ext/intl/main - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- intl/work/php-5.5.0alpha5/ext/intl -I/opt/local/include/php55/php - I/opt/local/include/php55/php/main -I/opt/local/include/php55/php/TSRM - I/opt/local/include
[PHP-BUG] Bug #64285 [NEW]: Build failure: unknown type name 'php_socket'
From: php-bugs-2013 at ryandesign dot com Operating system: OS X 10.8.2 PHP version: 5.5.0alpha5 Package: Sockets related Bug Type: Bug Bug description:Build failure: unknown type name 'php_socket' Description: I'm the maintainer of PHP in MacPorts, trying to update our php55 packages. In 5.5.0alpha4 everything built fine but with 5.5.0alpha5 the sockets extension does not build. The first error is: /bin/sh /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets/libtool --mode=compile /usr/bin/clang -I. - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets -DPHP_ATOM_INC - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets/include - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets/main - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets -I/opt/local/include/php55/php - I/opt/local/include/php55/php/main -I/opt/local/include/php55/php/TSRM - I/opt/local/include/php55/php/Zend -I/opt/local/include/php55/php/ext - I/opt/local/include/php55/php/ext/date/lib -I/opt/local/include - I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch x86_64 -c /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets/conversions.c -o conversions.lo /usr/bin/clang -I. - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets -DPHP_ATOM_INC - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets/include - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets/main - I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets -I/opt/local/include/php55/php - I/opt/local/include/php55/php/main -I/opt/local/include/php55/php/TSRM - I/opt/local/include/php55/php/Zend -I/opt/local/include/php55/php/ext - I/opt/local/include/php55/php/ext/date/lib -I/opt/local/include - I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch x86_64 -c /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets/conversions.c -fno-common -DPIC -o .libs/conversions.o In file included from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55- sockets/work/php-5.5.0alpha5/ext/sockets/conversions.c:1: ./sockaddr_conv.h:19:65: error: unknown type name 'php_socket'; did you mean 'php_socket_t'? int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock TSRMLS_DC); ^~ php_socket_t /opt/local/include/php55/php/main/php_network.h:95:13: note: 'php_socket_t' declared here typedef int php_socket_t; ^ The sockets extension appears to have undergone extensive changes between 5.5.0alpha4 and 5.5.0alpha5 and I don't know how to fix this problem. -- Edit bug report at https://bugs.php.net/bug.php?id=64285&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64285&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64285&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64285&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64285&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64285&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64285&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64285&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64285&r=oldversion Not developer issue:https://bugs.php.net/fix.php?id=64285&r=support Expected behavior: https://bugs.php.net/fix.php?id=64285&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64285&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64285&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64285&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64285&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64285&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64285&r=isapi Install GNU Sed:https://bugs.php.net/fix.php?id=64285&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=