CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 12:30:55 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
link: ; rel=preload; as=fetch; crossorigin=use-credentials
referrer-policy: no-referrer-when-downgrade
server-timing: issue_layout-fragment;desc="issue_layout fragment";dur=301.164734,issue_conversation_content-fragment;desc="issue_conversation_content fragment";dur=858.22708,issue_conversation_sidebar-fragment;desc="issue_conversation_sidebar fragment";dur=57.392998,nginx;desc="NGINX";dur=0.732522,glb;desc="GLB";dur=102.107417
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Accept,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-voltron-version: fd8fbbc
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=TSG61GYmIgVcDw%2FRtVkzyfUkZzNr4HcsElOTqYyqYkMhfdmTip2OxnyxWz29qMZwCS3b5iIX8iSrvJ1chMJS7Nsdh33Mlb2ViUnqRqbhjnLA%2FAQMBBUFxNew7DkDBCbc%2B1ifvUOAHIflOhGgn9IYeZ%2Fsoz3A%2BN05A4MQYDayZvT0%2BN%2BtmQ74iOKHoN4e16Sqs%2BvcPl5SaD6Yj3QGFhpKEd0aIc4UfbzAuqTlTq7c8R8%2FYH%2F3a2rixujFJeL5FJQob1J7iled8dowhf0WQ7VCwg%3D%3D--rAFdo3RaZsGTWNVe--4dL49QG0HW%2B9OYgKzSY0Dg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1913499338.1753273854; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 12:30:54 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 12:30:54 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A218:394F4C:B74EFF:DA64F4:6880D5FE
fatal error: 'capstone/capstone.h' file not found · Issue #1275 · phpbrew/phpbrew · GitHub
No typeNo projectsNo milestoneNone yetNo branches or pull requests
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 370
Closed
Labels
Description
Output
/bin/sh /Users/<user>/.phpbrew/build/php-8.1.8/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/opcache/ -I/Users/<user>/.phpbrew/build/php-8.1.8/ext/opcache/ -I/Users/<user>/.phpbrew/build/php-8.1.8/include -I/Users/<user>/.phpbrew/build/php-8.1.8/main -I/Users/<user>/.phpbrew/build/php-8.1.8 -I/Users/<user>/.phpbrew/build/php-8.1.8/ext/date/lib -I/opt/homebrew/Cellar/openssl@1.1/1.1.1q/include -I/opt/homebrew/Cellar/zlib/1.2.13/include -I/opt/homebrew/opt/bzip2/include -I/opt/homebrew/Cellar/curl/7.85.0/include -I/opt/homebrew/Cellar/libpng/1.6.38/include/libpng16 -I/opt/homebrew/Cellar/jpeg-turbo/2.1.4/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libiconv/include -I/opt/homebrew/Cellar/icu4c/71.1/include -I/opt/homebrew/Cellar/oniguruma/6.9.8/include -I/Users/<user>/.phpbrew/build/php-8.1.8/ext/mbstring/libmbfl -I/Users/<user>/.phpbrew/build/php-8.1.8/ext/mbstring/libmbfl/mbfl -I/opt/homebrew/Cellar/capstone/4.0.2/include/capstone -I/opt/homebrew/opt/readline/include -I/opt/homebrew/Cellar/libsodium/1.0.18_1/include -I/opt/homebrew/Cellar/libzip/1.9.2/include -I/Users/<user>/.phpbrew/build/php-8.1.8/TSRM -I/Users/<user>/.phpbrew/build/php-8.1.8/Zend -fno-common -Wstrict-prototypes -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -Wno-implicit-fallthrough -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c /Users/<user>/.phpbrew/build/php-8.1.8/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 /Users/<user>/.phpbrew/build/php-8.1.8/ext/opcache/jit/zend_jit.c:713:
ext/opcache/jit/zend_jit_disasm.c:24:11: fatal error: 'capstone/capstone.h' file not found
# include <capstone/capstone.h>
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [ext/opcache/jit/zend_jit.lo] Error 1
Expected Result
Compiled PHP (doi)
Command
Paste your phpbrew install command here (be sure to install with --debug
flag, e.g. phpbrew --debug install
)
Initially:
phpbrew -d install latest +default +soap +iconv="$(brew --prefix libiconv)" +fileinfo +mysql +openssl=$(brew --prefix openssl@1.1) +fpm +sodium +intl +gd +bz2="$(brew --prefix bzip2)" +zlib="$(brew --prefix zlib)" -- --without-pcre-jit
In an attempt to point opcache to capstone's location:
/opt/homebrew/opt/php@7.4/bin/php /usr/local/bin/phpbrew -d install latest +default +soap +iconv="$(brew --prefix libiconv)" +fileinfo +mysql +openssl=$(brew --prefix openssl@1.1) +fpm +sodium +intl +gd +bz2="$(brew --prefix bzip2)" +zlib="$(brew --prefix zlib)" +opcache="($brew --prefix capstone)" -- --without-pcre-jit
Build Log
https://gist.github.com/MagicLegend/b8dfcbad7d418237fa09ebf9bbf88f9f
Platform
OS:
MacOS 12.6, M1
Running PHP:
7.4.27
Installing PHP:
latest
(8.1.8
)
Installing PHP 7.4.27 went fine with this command. How do I disable these other JIT parts, since they appear to be broken on ARM? Note that capstone
is installed via brew at /opt/homebrew/opt/capstone
, and the header file it's searching for is available at /opt/homebrew/opt/capstone/include/capstone/capstone.h
.
Thank you!
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Issue actions
You can’t perform that action at this time.