-
Notifications
You must be signed in to change notification settings - Fork 88
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
[BUG] Version mismatch error #165
Comments
Can you give me the command lines you run please? |
https://github.com/ruudboon/pickle/runs/412318671?check_suite_focus=true#step:7:8 |
This should be fixed now, we look for this constant in all files recursively. |
@pierrejoye I tried the latest release (0.6.0) and latest git master versions. When I run
|
I cannot install xdebug too, same error, latest version (0.6.0), please reopen this issue. |
Ok, will try to take a look at it soon. In the meantime, which command call did you use to install xdebug? |
I used The problem is that xdebug does not have PHP_ prefix in version macro: It can be fixed by updating regexp which is used for searching versions in |
PR: #185 |
It is probably a different issue @faizanakram99 . |
Think it's the same as OP reported, the error messages are the same |
Yes, you're right. And this is probably a reason for that: Not sure how it can be fixed in pickle though. |
We could fix it but it would be endless fixes then (Been there in the old pear/pecl): Pickle uses composer. Composer supports semver valid versions only. What I was thinking is a kind of flags to allow users to install. However ideally upstream developers should use semver only versions. |
As of SqlSrv they should use the macros, it is part of the php extension references. btw :) |
(they removed them as I added them in the early days of this extension) |
Sorry I don't know anything about extension development, is this worth an issue in ext sqlsrv repository ? |
With latest pickle ( > pickle install xdebug
pickle install xdebug
- Installing xdebug (latest-stable): Downloading (100%)
In Version.php line 91:
Couldn't parse or find the version defined in the PHP_XDEBUG_VERSION macro |
I think the issue with sqlsrv is that they are building the constant dynamically, which Pickle doesn't support: |
I'm still unable to install latest swoole using pickle. |
Still not working :(
Error
|
I will do a release this week.
For this, you will need to use current git
…On Fri, Nov 27, 2020, 10:02 PM Anton ***@***.***> wrote:
Still not working :(
RUN set -ex \
&& apk add \
libzip-dev \
&& docker-php-ext-install -j$(nproc) zip \
&& curl -L -o /usr/local/bin/pickle https://github.com/FriendsOfPHP/pickle/releases/latest/download/pickle.phar \
&& chmod +x /usr/local/bin/pickle
RUN pickle install xdebug \
&& docker-php-ext-enable xdebug
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#165 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACE6KD6EZPNXO3GLMPZWI3SR65QVANCNFSM4KMOMZNA>
.
|
msphpsql changed version number upstream but unfortunately it still doesn't work, tried with master branch too |
@pierrejoye current git doesn't work on php 8 :(
Can you release? |
I still have same problem |
@vicalle12
|
Command
|
@vicalle12 What's the version of pickle you are using? |
Same thing for me on PHP8.2. Latest pickle. |
Gave this another go, adding
Then installing with version override worked, if using none of the install options. Otherwise for dev right now, if you're using Laravel Octane, it may be simpler to use Roadrunner. |
When for example installing Swoole you get the following error:
Version mismatch - 'SWOOLE_VERSION' != '4.4.15' in source vs. XML
Swoole uses
#define PHP_SWOOLE_VERSION SWOOLE_VERSION
probably causing the issue.Something similar occurs with Xdebug
Couldn't parse the version defined in the PHP_XDEBUG_VERSION macro
I assume that PHP_(package)_VERSION is replaced with (package)_VERSION
The text was updated successfully, but these errors were encountered: