-
Notifications
You must be signed in to change notification settings - Fork 369
Open
Description
Output
===> phpbrew will now build 8.3.12
===> Loading and resolving variants...
Checking distribution checksum...
Checksum matched: 807633496ccdb370a8905458db82bd67366e98a6d59728914b797b87e9caecbf
===> Distribution file was successfully extracted, skipping...
You want to build several variants. No clean is not available.
Running make clean to ensure everything will be rebuilt.
===> Running make clean: /usr/bin/make -C '/home/user/.phpbrew/build/php-8.3.12' --quiet 'clean'
===> Checking patches...
Checking patch for replace apache php module name with custom version name
Checking patch for replace freetype-config with pkg-config on php older than 7.4
Checking patch for fix readline detection on PHP 5.3 to PHP 7.1
---> Applying patch...
patching file ext/readline/config.m4
Hunk #1 FAILED at 60.
Hunk #2 FAILED at 114.
2 out of 2 hunks FAILED -- saving rejects to file ext/readline/config.m4.rej
Patch failed
0 changes patched.
Found existing build.log, renaming it to /home/user/.phpbrew/build/php-8.3.12/build.log.1728301051
===> Configuring 8.3.12...
Use tail command to see what's going on:
$ tail -F '/home/user/.phpbrew/build/php-8.3.12/build.log'
===> Checking patches...
Checking patch for php5.3.x on 64bit machine when intl is enabled.
Checking patch for openssl dso linking patch
Checking patch for php5.6 with openssl 1.1.x patch.
===> Building...
Error: Make failed:
The last 5 lines in the log file:
^
/home/user/.phpbrew/build/php-8.3.12/ext/opcache/jit/zend_jit.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-implicit-fallthrough’
Makefile:1703: recipe for target 'ext/opcache/jit/zend_jit.lo' failed
make: *** [ext/opcache/jit/zend_jit.lo] Error 1
Please checkout the build log file for more details:
tail /home/user/.phpbrew/build/php-8.3.12/build.log
...
Expected Result
To be installed successfully
Command
phpbrew install 8.3.12 +default +exif +ftp +gd +gettext +hash +iconv +intl +json +mcrypt +mysql +mysql +session +wddx +zlib +fpm +cgi
Build Log
/bin/bash /home/user/.phpbrew/build/php-8.3.12/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/opcache/ -I/home/user/.phpbrew/build/php-8.3.12/ext/opcache/ -I/home/user/.phpbrew/build/php-8.3.12/include -I/home/user/.phpbrew/build/php-8.3.12/main -I/home/user/.phpbrew/build/php-8.3.12 -I/home/user/.phpbrew/build/php-8.3.12/ext/date/lib -I/usr/include/libxml2 -I/usr/local/include -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu -I/home/user/.phpbrew/build/php-8.3.12/ext/mbstring/libmbfl -I/home/user/.phpbrew/build/php-8.3.12/ext/mbstring/libmbfl/mbfl -I/usr/lib/x86_64-linux-gnu/libzip/include -I/home/user/.phpbrew/build/php-8.3.12/TSRM -I/home/user/.phpbrew/build/php-8.3.12/Zend -D_GNU_SOURCE -fno-common -Wstrict-prototypes -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -ffp-contract=off -fvisibility=hidden -DZEND_SIGNALS -Wno-implicit-fallthrough -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /home/user/.phpbrew/build/php-8.3.12/ext/opcache/jit/zend_jit.c -o ext/opcache/jit/zend_jit.lo -MMD -MF ext/opcache/jit/zend_jit.dep -MT ext/opcache/jit/zend_jit.lo
In file included from /home/user/.phpbrew/build/php-8.3.12/ext/opcache/jit/zend_jit.c:755:0:
/home/user/.phpbrew/build/php-8.3.12/Zend/zend_cpuinfo.h: In function ‘zend_cpu_supports_avx512’:
/home/user/.phpbrew/build/php-8.3.12/Zend/zend_cpuinfo.h:189:2: error: Parameter to builtin not valid: avx512dq
return __builtin_cpu_supports("avx512f") && __builtin_cpu_supports("avx512dq")
^
/home/user/.phpbrew/build/php-8.3.12/Zend/zend_cpuinfo.h:190:3: error: Parameter to builtin not valid: avx512cd
&& __builtin_cpu_supports("avx512cd") && __builtin_cpu_supports("avx512bw")
^
/home/user/.phpbrew/build/php-8.3.12/Zend/zend_cpuinfo.h:190:3: error: Parameter to builtin not valid: avx512bw
/home/user/.phpbrew/build/php-8.3.12/Zend/zend_cpuinfo.h:191:3: error: Parameter to builtin not valid: avx512vl
&& __builtin_cpu_supports("avx512vl");
^
/home/user/.phpbrew/build/php-8.3.12/Zend/zend_cpuinfo.h: In function ‘zend_cpu_supports_avx512_vbmi’:
/home/user/.phpbrew/build/php-8.3.12/Zend/zend_cpuinfo.h:201:2: error: Parameter to builtin not valid: avx512vbmi
return zend_cpu_supports_avx512() && __builtin_cpu_supports("avx512vbmi");
^
/home/user/.phpbrew/build/php-8.3.12/ext/opcache/jit/zend_jit.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-implicit-fallthrough’
Makefile:1703: recipe for target 'ext/opcache/jit/zend_jit.lo' failed
make: *** [ext/opcache/jit/zend_jit.lo] Error 1
Platform
OS:
Ubuntu 16.04.7 LTS
Running PHP:
PHP 8.0.8
Installing PHP:
PHP 8.3.12
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels