lang/php5 should be restricted to broken on mips due to the lack of mips ASM for now. /bin/sh /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/libtool --silent --preserve-dup-deps --mode=compile /nxb-bin/usr/bin/cc -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm -Isapi/fpm/ -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/ -DPHP_ATOM_INC -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/include -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/main -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37 -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/ext/date/lib -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/include -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/TSRM -I/wrkdirs/usr/ports/lang/php5/work/php-5.4.37/Zend -D_XPG_IV -O -pipe -G0 -fno-strict-aliasing -fvisibility=hidden -c /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo In file included from /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_scoreboard.h:15, from /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm.c:21: /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_atomic.h:142:2: error: #error Unsupported processor. Please open a bug report (bugs.php.net). In file included from /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_scoreboard.h:15, from /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm.c:21: /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_atomic.h:146: error: expected ')' before '*' token In file included from /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm.c:21: /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_scoreboard.h:22: error: expected specifier-qualifier-list before 'atomic_t' /wrkdirs/usr/ports/lang/php5/work/php-5.4.37/sapi/fpm/fpm/fpm_scoreboard.h:51: error: expected specifier-qualifier-list before 'atomic_t' *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/lang/php5/work/php-5.4.37 *** Error code 1
Auto-assigned to maintainer ale@FreeBSD.org
This is also true for lang/php55 and lang/php56 http://dirty.ysv.freebsd.org/data/11mips32-11mips32/2015-01-26_23h32m57s/logs/errors/php56-5.6.5.log http://dirty.ysv.freebsd.org/data/11mips32-11mips32/2015-01-26_23h32m57s/logs/errors/php55-5.5.21.log
I think it could be built without FPM. Can you verify and make a patch?
Created attachment 155523 [details] Disable the FPM option for mips/mips64
http://tasty.ysv.freebsd.org/data/11mips64-default/2015-04-12_04h12m33s/logs/php55-5.5.23.log http://tasty.ysv.freebsd.org/data/11mips64-default/2015-04-12_04h12m33s/logs/php5-5.4.39.log http://tasty.ysv.freebsd.org/data/11mips64-default/2015-04-12_04h12m33s/logs/php56-5.6.7.log Logs with FPM disabled. I guess this can work for now.
A commit references this bug: Author: sbruno Date: Sat May 2 19:08:45 UTC 2015 New revision: 385208 URL: https://svnweb.freebsd.org/changeset/ports/385208 Log: Disable FPM on mips/mips64 due to lack of ASM implementations for these architectures. PR: 197128 Changes: head/lang/php5/Makefile head/lang/php55/Makefile head/lang/php56/Makefile