-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php: update from 7.4.21 to 8.0.12 #478
php: update from 7.4.21 to 8.0.12 #478
Conversation
1fe8e0a
to
713654d
Compare
@kraj We discussed sending a patch a couple of weeks ago on the mailing list. I attempted to clean the patch up a bit and this is a good starting point. There are a few issues here:
|
this fails to build
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix the patching issue
713654d
to
331f1d7
Compare
I removed the obsolete patch from the list. Our environment has not updated to the newest override syntax, so if it fails to build again I will need to either update our environment to use that new syntax or make test images in another Yocto project. I can take a look at it again in the morning. Thanks for your help. |
16fe977
to
a2640f3
Compare
331f1d7
to
93aad82
Compare
a6622c3
to
701f641
Compare
fails with minilua issues for x86_64 target see https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1716/steps/14/logs/stdio
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to address x86_64 issue
701f641
to
98c856a
Compare
@kraj So I think the problem here is that we depend on Other solutions you mentioned included using QEMU to build the binary? This is moving beyond my capabilities here, but I think it is important to have PHP 8 support with JIT, especially for products that focus on repetitive, computing intensive tasks. |
For |
98c856a
to
659ab65
Compare
17d28b6
to
dbbbe56
Compare
@@ -259,7 +259,7 @@ do_install:append:class-native() { | |||
create_wrapper ${D}${bindir}/php \ | |||
PHP_PEAR_SYSCONF_DIR=${sysconfdir}/ | |||
|
|||
if [ "$MACHINE_ARCH" == "x86" || "$MACHINE_ARCH" == "x86-64" ]; then | |||
if [ "$MACHINE_ARCH" == "x86" ] || [ "$MACHINE_ARCH" == "x86-64" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change this to
if [ "$MACHINE_ARCH" = "x86" -o "$MACHINE_ARCH" = "x86-64" ]; then
since then it will work with dash and bash both
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [ "$MACHINE_ARCH" == "x86" ] || [ "$MACHINE_ARCH" == "x86-64" ]; then
works with dash as well, right?
And where this MACHINE_ARCH variable is being set? if it's MACHINE_ARCH bitbake variable then it should be inside ${} and it doesn't make much sense to me as it's inside:
do_install:append:class-native()
and native cannot be MACHINE specific.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, when I looked a bit deeper, I realised this too. I am testing this in a CI right now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I will admit I am out of my element here with trying to get this working across multiple platforms. I know it works when compiling on X86-64 for an X86-64 target, but getting it working for other host architectures is much more involved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kraj The minilua
binary is only needed by the target during compilation, it does not need to be added to the resulting image. The patch 0011-opcache-jit-use-minilua-in-sysroot.patch
tells the target to just use the already-compiled minilua
binary instead of trying to build it. The native recipe is building minilua
.
Is there a way to build the minilua
for the target arch and have the Makefile run this binary under QEMU?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes please see meta-oe/recipes-support/espeak/espeak_1.48.04.bb
0ed4a22
to
a921330
Compare
Upgrade to release 1.3.3: - Fix 3.10 support - Fix wrong sorting key when tavg is selected Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Upgrade to release 0.36.12: - Prevent service lookups from deadlocking if time abruptly moves backwards - scope_id is now stripped from IPv6 addresses if given - Optimized decoding labels from incoming packets Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Upgrade to release 1.7.2: - Changed call in with_port() to stop reencoding parts of the URL that were already encoded. - Fix 1.7.0 build error Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Upgrade to release 2.4.0: - Fix type annotations and going strict on parsers and other public classes - Add XPathConstructor token class (subclass of XPathFunction) - Last release for Python 3.6 Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Upgrade to release 2.8.5: - Use more permissive versions for the typed-ast dependencie (<2.0 instead of <1.5) - Fix crash on inference of __len__. - Added missing kind (for Const) and conversion (for FormattedValue) fields to repr. - Fix crash with assignment expressions, nested if expressions and filtering of statements - Fix incorrect filtering of assignment expressions statements Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Upgrade to release 6.1.2: - Python 3.11 is supported (tested with 3.11.0a2). One still-open issue has to do with exits through with-statements. - Fix: When remapping file paths through the [paths] setting while combining, the [run] relative_files setting was ignored, resulting in absolute paths for remapped file names. This is now fixed. - Fix: Complex conditionals over excluded lines could have incorrectly reported a missing branch. This is now fixed. - Fix: More exceptions are now handled when trying to parse source files for reporting. Problems that used to terminate coverage.py can now be handled with [report] ignore_errors. This helps with plugins failing to read files. - Fix: Removed another vestige of jQuery from the source tarball. - Fix: Added a default value for a new-to-6.x argument of an internal class. This unsupported class is being used by coveralls. Although I'd rather not "fix" unsupported interfaces, it's actually nicer with a default value. Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Upgrade to release 3.1.5: - fix extend_enum() - tests: move enum setting from body to header Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Upgrade to release 0.36.13: - Unavailable interfaces are now skipped during socket bind - Downgraded incoming corrupt packet logging to debug Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Upgrade to release 1.7.1: - Fix broken reported URL link for B107 - fix reading initial values from .bandit - Always use a Loader in yaml.load - PEP-518 support: configure bandit via pyproject.toml Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Upgrade to release 6.6.0: - Add a force_color option to colorlog.formatter.ColoredFormatter - Support the FORCE_COLOR environment variable Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Upgrade to release 2.3.1: - FIX: Ensure attribute selectors match tags that have new lines characters in attributes. Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Universal character encoding detector, release 2.1.7: - support Python 3.9 - drop support for Python 3.5 Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Package for encoding & language detection. Charset detection. Version 2.0.7: - Add support for Kazakh (Cyrillic) language detection - Further improve inferring the language from a given code page (single-byte) - Remove redundant logging entry about detected language(s) - Trying to leverage PEP263 when PEP3120 is not supported - Refactoring for potential performance improvements in loops - Various detection improvement (MD+CD) - Fix a minor inconsistency between Python 3.5 and other versions regarding language detection Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
A list-like structure which implements collections.abc.MutableSequence, and which can be made immutable. Version 1.2.0: - FrozenList now supports being used as a generic type as per PEP 585, e.g. frozen_int_list: FrozenList[int] (requires Python 3.9 or newer) - Added support for Python 3.10 - Started shipping platform-specific wheels with the musl tag targeting typical Alpine Linux runtimes - Started shipping platform-specific arm64 wheels for Apple Silicon Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
A list of registered asynchronous callbacks. Version 1.2.0: - Added support for Python 3.10 - Mark aiosignal as Python3-only package Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Upgrade to release 3.8.1: - Fix the error in handling the return value of getaddrinfo. getaddrinfo will return an (int, bytes) tuple, if CPython could not handle the address family. It will cause a index out of range error in aiohttp. For example, if user compile CPython with --disable-ipv6 option but his system enable the ipv6. - Do not install "examples" as a top-level package. - Restored ability to connect IPv6-only host. - Remove Signal from __all__, replace aiohttp.Signal with aiosignal.Signal in docs - Made chunked encoding HTTP header check stricter Signed-off-by: Leon Anavi <[email protected]> Signed-off-by: Khem Raj <[email protected]>
6fd384e
to
f1611d7
Compare
minilua, by default, is compiled by the host machine as a dependency for compiling the JIT/opcache extension. To successfully cross-compile, this needs to be run under QEMU to match the target architecture. According to the [RFC](https://wiki.php.net/rfc/jit), only x86 and x86_64 targets are supported. Signed-off-by: Ashley Cox <[email protected]> Signed-off-by: Claude Bing <[email protected]>
dbbbe56
to
5df4f66
Compare
@kraj Can you please take a look at the latest changes and see if those will work OK? |
f1611d7
to
05a32c5
Compare
@kraj The latest commit on my branch changes the recipe to use QEMU. Since that seemed to be the better approach, could that change be included? |
OK. Please rebase your changes on top of latest master and create a new pull request. |
Features Merge PR openembedded#317: ZONEMD Zone Verification, with RFC 8976 support. ZONEMD records are checked for zones loaded as auth-zone, with DNSSEC if available. There is an added option zonemd-permissive-mode that makes it log but not fail wrong zones. With zonemd-reject-absence for an auth-zone the presence of a zonemd can be mandated for specific zones. Fix: Resolve interface names on control-interface too. Merge openembedded#470 from edevil: Allow configuration of persistent TCP connections. Fix openembedded#474: always_null and others inside view. Add that log-servfail prints an IP address and more information about one of the last failures for that query. Merge openembedded#478: Allow configuration of TCP timeout while waiting for response. Add ./configure --with-deprecate-rsa-1024 that turns off RSA 1024. Move the NSEC3 max iterations count in line with the 150 value used by BIND, Knot and PowerDNS. This sets the default value for it in the configuration to 150 for all key sizes. zonemd-check: yesno option, default no, enables the processing of ZONEMD records for that zone. Merge openembedded#486 by fobster: Make VAL_MAX_RESTART_COUNT configurable. Merge PR openembedded#491: Add SVCB and HTTPS types and handling according to draft-ietf-dnsop-svcb-https. Introduce 'http-user-agent:' and 'hide-http-user-agent:' options. Signed-off-by: Zheng Ruoqin <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Added Add a default keyword argument to dumps (openembedded#470) @garenchan Add support for Python 3.10 (openembedded#472) @hugovk Build 32-bit wheels for Windows (openembedded#481) @hugovk Build PyPy3 wheels for manylinux (openembedded#475) @hugovk Build wheels for musl aarch64 (aka ARM) Linux (musllinux_1_1_aarch64) (openembedded#478) @bwoodsend Build wheels for musl Linux (musllinux_1_1_x86_64) (openembedded#476) @bwoodsend Changed Use declarative setup metadata (openembedded#477) @hugovk Wheel building updates (openembedded#473) @hugovk Rename master to main (openembedded#471) @hugovk Replace README.rst with Markdown (openembedded#479) @hugovk Signed-off-by: Zheng Ruoqin <[email protected]> Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Trevor Gamblin <[email protected]>
…27995b38eb4271044f) Drop patches now part of new upstream release: - 449.patch - 481.patch - 482.patch Refresh patches due to GENIVI->COVESA renaming What's Changed: Update ReleaseNotes and version to v2.18.9 by @minminlittleshrimp in openembedded#468 Update status badges on README.md by @michael-methner in openembedded#467 logstorage: Adds option to write logs in gzip format by @LiquidityC in openembedded#442 Re-Initialize internal logging in daemon mode only by @lvklevankhanh in openembedded#459 Remove use of DLT_LOG in signal handler by @michael-methner in openembedded#472 Update gtest_dlt_daemon_multiple_files_logging.cpp by @LocutusOfBorg in openembedded#481 Update AUTOSAR standard link by @lucafrance in openembedded#480 cmake: set version to 2.18.9 by @alexmohr in openembedded#478 Fix macro code to use boolean value in while instruction (false) by @michael-methner in openembedded#469 dlt_user_shared: Add timeout to writev by @alexmohr in openembedded#385 build: add static lib only if necessary by @alexmohr in openembedded#479 Update CMakeLists.txt by @LocutusOfBorg in openembedded#482 watchdog: improve dlt watchdog by @alexmohr in openembedded#470 log-level-config: add option to configure log levels by @alexmohr in openembedded#474 gtest_dlt_daemon_gateway: dlt-daemon run without dlt_passive.conf file by @lti9hc in openembedded#487 dlt_unit_test: Fix and improve quality of unit tests by @minminlittleshrimp in openembedded#494 dlt-qnx-system improvement by @lvklevankhanh in openembedded#495 gtest: Init submodule and update version by @minminlittleshrimp in openembedded#497 dlt-qnx-system: prevent message loss in high load situations by @alexmohr in openembedded#490 Fix compile error stringop-truncation with GCC 9.4 by @michael-methner in openembedded#499 Update README.md by @lvklevankhanh in openembedded#503 dlt-coverage: Add coverage report generator for dlt by @minminlittleshrimp in openembedded#501 dlt-system: move journal reading to its own thread by @alexmohr in openembedded#471 Switch from GENIVI to COVESA by @minminlittleshrimp in openembedded#511 Update CMakeLists.txt: set required std version to gnu++14 by @LocutusOfBorg in openembedded#504 cmake: Policy CMP0115 set to OLD behavior for dlt-daemon with cmake >= 3.20 by @minminlittleshrimp in openembedded#510 fix usage of pthread_cond_timedwait by @alexmohr in openembedded#491 DLT Upstream for minor release by @minminlittleshrimp in openembedded#515 cmake: disable network trace by @alexmohr in openembedded#477 doc: add COVESA logo image by @minminlittleshrimp in openembedded#516 Prepare for 2.18.10 release by @michael-methner in openembedded#517 Signed-off-by: Gianfranco Costamagna <[email protected]> Signed-off-by: Gianfranco Costamagna <[email protected]> Signed-off-by: Khem Raj <[email protected]>
…27995b38eb4271044f) Drop patches now part of new upstream release: - 449.patch - 481.patch - 482.patch Refresh patches due to GENIVI->COVESA renaming What's Changed: Update ReleaseNotes and version to v2.18.9 by @minminlittleshrimp in openembedded#468 Update status badges on README.md by @michael-methner in openembedded#467 logstorage: Adds option to write logs in gzip format by @LiquidityC in openembedded#442 Re-Initialize internal logging in daemon mode only by @lvklevankhanh in openembedded#459 Remove use of DLT_LOG in signal handler by @michael-methner in openembedded#472 Update gtest_dlt_daemon_multiple_files_logging.cpp by @LocutusOfBorg in openembedded#481 Update AUTOSAR standard link by @lucafrance in openembedded#480 cmake: set version to 2.18.9 by @alexmohr in openembedded#478 Fix macro code to use boolean value in while instruction (false) by @michael-methner in openembedded#469 dlt_user_shared: Add timeout to writev by @alexmohr in openembedded#385 build: add static lib only if necessary by @alexmohr in openembedded#479 Update CMakeLists.txt by @LocutusOfBorg in openembedded#482 watchdog: improve dlt watchdog by @alexmohr in openembedded#470 log-level-config: add option to configure log levels by @alexmohr in openembedded#474 gtest_dlt_daemon_gateway: dlt-daemon run without dlt_passive.conf file by @lti9hc in openembedded#487 dlt_unit_test: Fix and improve quality of unit tests by @minminlittleshrimp in openembedded#494 dlt-qnx-system improvement by @lvklevankhanh in openembedded#495 gtest: Init submodule and update version by @minminlittleshrimp in openembedded#497 dlt-qnx-system: prevent message loss in high load situations by @alexmohr in openembedded#490 Fix compile error stringop-truncation with GCC 9.4 by @michael-methner in openembedded#499 Update README.md by @lvklevankhanh in openembedded#503 dlt-coverage: Add coverage report generator for dlt by @minminlittleshrimp in openembedded#501 dlt-system: move journal reading to its own thread by @alexmohr in openembedded#471 Switch from GENIVI to COVESA by @minminlittleshrimp in openembedded#511 Update CMakeLists.txt: set required std version to gnu++14 by @LocutusOfBorg in openembedded#504 cmake: Policy CMP0115 set to OLD behavior for dlt-daemon with cmake >= 3.20 by @minminlittleshrimp in openembedded#510 fix usage of pthread_cond_timedwait by @alexmohr in openembedded#491 DLT Upstream for minor release by @minminlittleshrimp in openembedded#515 cmake: disable network trace by @alexmohr in openembedded#477 doc: add COVESA logo image by @minminlittleshrimp in openembedded#516 Prepare for 2.18.10 release by @michael-methner in openembedded#517 Signed-off-by: Gianfranco Costamagna <[email protected]> Signed-off-by: Gianfranco Costamagna <[email protected]> Signed-off-by: Khem Raj <[email protected]>
…27995b38eb4271044f) Drop patches now part of new upstream release: - 449.patch - 481.patch - 482.patch Refresh patches due to GENIVI->COVESA renaming What's Changed: Update ReleaseNotes and version to v2.18.9 by @minminlittleshrimp in openembedded#468 Update status badges on README.md by @michael-methner in openembedded#467 logstorage: Adds option to write logs in gzip format by @LiquidityC in openembedded#442 Re-Initialize internal logging in daemon mode only by @lvklevankhanh in openembedded#459 Remove use of DLT_LOG in signal handler by @michael-methner in openembedded#472 Update gtest_dlt_daemon_multiple_files_logging.cpp by @LocutusOfBorg in openembedded#481 Update AUTOSAR standard link by @lucafrance in openembedded#480 cmake: set version to 2.18.9 by @alexmohr in openembedded#478 Fix macro code to use boolean value in while instruction (false) by @michael-methner in openembedded#469 dlt_user_shared: Add timeout to writev by @alexmohr in openembedded#385 build: add static lib only if necessary by @alexmohr in openembedded#479 Update CMakeLists.txt by @LocutusOfBorg in openembedded#482 watchdog: improve dlt watchdog by @alexmohr in openembedded#470 log-level-config: add option to configure log levels by @alexmohr in openembedded#474 gtest_dlt_daemon_gateway: dlt-daemon run without dlt_passive.conf file by @lti9hc in openembedded#487 dlt_unit_test: Fix and improve quality of unit tests by @minminlittleshrimp in openembedded#494 dlt-qnx-system improvement by @lvklevankhanh in openembedded#495 gtest: Init submodule and update version by @minminlittleshrimp in openembedded#497 dlt-qnx-system: prevent message loss in high load situations by @alexmohr in openembedded#490 Fix compile error stringop-truncation with GCC 9.4 by @michael-methner in openembedded#499 Update README.md by @lvklevankhanh in openembedded#503 dlt-coverage: Add coverage report generator for dlt by @minminlittleshrimp in openembedded#501 dlt-system: move journal reading to its own thread by @alexmohr in openembedded#471 Switch from GENIVI to COVESA by @minminlittleshrimp in openembedded#511 Update CMakeLists.txt: set required std version to gnu++14 by @LocutusOfBorg in openembedded#504 cmake: Policy CMP0115 set to OLD behavior for dlt-daemon with cmake >= 3.20 by @minminlittleshrimp in openembedded#510 fix usage of pthread_cond_timedwait by @alexmohr in openembedded#491 DLT Upstream for minor release by @minminlittleshrimp in openembedded#515 cmake: disable network trace by @alexmohr in openembedded#477 doc: add COVESA logo image by @minminlittleshrimp in openembedded#516 Prepare for 2.18.10 release by @michael-methner in openembedded#517 Signed-off-by: Gianfranco Costamagna <[email protected]> Signed-off-by: Gianfranco Costamagna <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Various security and bug fixes; adds support for the JIT compiler.
privilege escalation) (CVE-2021-21703).
https://www.php.net/ChangeLog-8.php#8.0.0
Signed-off-by: Claude Bing [email protected]