Giter Site home page Giter Site logo

Comments (15)

peter279k avatar peter279k commented on June 16, 2024 1

The php-nightly test will always be failed about the ext-xdebug issue because of internal Travis CI problem.

Please look at this issue.

from filesystem-file-extension-php.

Lewiscowles1986 avatar Lewiscowles1986 commented on June 16, 2024 1

Alternative documentation (from issue) http://docs.travis-ci.com/user/languages/php/#PHP-nightly-builds seems to suggest it could be built with the right pecl command

I think it's less that Travis is limited, and more that it takes time for xDebug team to catch up. 7.3 works with xDebug now, so if someone wants a bleeding edge fork of this they should know enough to comment it out. For everyone else it's guard-rails.

from filesystem-file-extension-php.

peter279k avatar peter279k commented on June 16, 2024 1

@Lewiscowles1986, I think it's possible to install xdebug extension.

I will try this and create another PR about this πŸ‘.

from filesystem-file-extension-php.

Lewiscowles1986 avatar Lewiscowles1986 commented on June 16, 2024 1

@peter279k I believe the following two lines may do the trick to having nightly work

pecl install -f xdebug-beta
php-ext-enable xdebug

the first line is changing

if [[ $TRAVIS_PHP_VERSION = nightly* ]]; then pecl install xdebug; fi

to

if [[ $TRAVIS_PHP_VERSION = nightly* ]]; then pecl install xdebug-beta; fi

Although maybe there are more pecl distributions or maybe waiting for

https://travis-ci.org/Lewiscowles1986/filesystem-file-extension-php/jobs/487103097

to track when xdebug-beta runs (at present even beta is locked to 7.3)

from filesystem-file-extension-php.

Lewiscowles1986 avatar Lewiscowles1986 commented on June 16, 2024 1

@peter279k all of that apart from bothering xdebug creator is in the above messages, please read them fully and follow any links. Instead of emailing and questioning xdebug creator, Lets track the URL given in #7 (comment) until changelog reports supporting PHP7.4

from filesystem-file-extension-php.

peter279k avatar peter279k commented on June 16, 2024

@Lewiscowles1986, finally I tried to use the pecl install xdebug when php-nightly test in Travis CI build.

But it looks like the official xdebug doesn't support the xdebug extension for php-nightly build.

The detailed Travis CI build log is available here.

The error message when pecl install xdebug is as follows:

checking Check for supported PHP versions... configure: error: not supported. Need a PHP version >= 7.0.0 and < 7.3.0 (found 7.4.0-dev)
ERROR: `/tmp/pear/install/xdebug/configure --with-php-config=/home/travis/.phpenv/versions/master/bin/php-config' failed

And I think the xdebug should only support the stable PHP version.

from filesystem-file-extension-php.

Lewiscowles1986 avatar Lewiscowles1986 commented on June 16, 2024

Let's track https://pecl.php.net/package-changelog.php?package=xdebug for 7.4.x

from filesystem-file-extension-php.

peter279k avatar peter279k commented on June 16, 2024

@Lewiscowles1986, thank you for your reply.

Let me check this and test on Travis CI build again.

from filesystem-file-extension-php.

peter279k avatar peter279k commented on June 16, 2024

Let's track https://pecl.php.net/package-changelog.php?package=xdebug for 7.4.x

It looks like the xdebug-beta doesn't support the php-7.4-dev.

If possible, we can ask the XDebug team about how to install the xdebug-beta on php-7.4-dev.

from filesystem-file-extension-php.

peter279k avatar peter279k commented on June 16, 2024

Finally I got the answer from the creator of XDebug, @derickr.

No, it is not. PHP 7.4 has introduced some changes internally that stop
Xdebug from compiling. I am tracking this in
https://bugs.xdebug.org/view.php?id=1599

cheers,
Derick

from filesystem-file-extension-php.

peter279k avatar peter279k commented on June 16, 2024

from filesystem-file-extension-php.

peter279k avatar peter279k commented on June 16, 2024

@Lewiscowles1986, it's about one year for fighting for Travis CI build.

It's not resolved completely and the GitHub Workflow has been released now.

Do you have the plan to switch Travis CI to GitHub Workflow :)?

from filesystem-file-extension-php.

Lewiscowles1986 avatar Lewiscowles1986 commented on June 16, 2024

I spoke with XDebug author and they said it fully supports 7.4.

I quite like having multiple build systems right now, but that doesn't mean I'm against work on GitHub actions either. At the end of the day, even if I disable it running or run it on a schedule and merges to master, it's another place to verify build integrity and correctness, another opportunity for people to learn.

Were you thinking of a PR?

from filesystem-file-extension-php.

peter279k avatar peter279k commented on June 16, 2024

@Lewiscowles1986, thanks for your reply.

Let me have the try on Travis CI build and make related PR :).

from filesystem-file-extension-php.

Lewiscowles1986 avatar Lewiscowles1986 commented on June 16, 2024

Thanks for assist on PR merging πŸ˜‰

I'm going to see if I can leave this open but freeze it as it should not have been the place to discuss 7.4

from filesystem-file-extension-php.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.