Req #69042 [Com]: Regular snapshot builds of php/php-src
| From: | jacob@php.net | Date: | Sat, 14 Feb 2015 03:16:47 +0000 |
| Subject: | Req #69042 [Com]: Regular snapshot builds of php/php-src | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-190678@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69042&edit=1
ID: 69042
Comment by: jacob@php.net
Reported by: hiro+php at travis-ci dot org
Summary: Regular snapshot builds of php/php-src
Status: Assigned
Type: Feature/Change Request
Package: *General Issues
Operating System: N/A
PHP Version: master-Git-2015-02-12 (snap)
Assigned To: jacob
Block user comment: N
Private report: N
New Comment:
> While it seems to work (as far as compilation goes; this doesn't include other
> modules or phpunit we offer in other PHP versions), but it adds significant
> amount of time (10+ minutes).
This is definitely less than ideal as this could quickly blow out to a long
build if you need to be doing this for multiple versions of PHP.
> It would be great if a precompiled binary package of reasonably recent
> development version existed.
There are precompiled versions out in the wild however they vary from
distribution to distribution and having a single source for this would be a huge
maintainance task.
After some discussions it would appear the reasoning behind removing
http://snaps.php.net was because there are better alternatives
available and it
isn't worth the maintenance involved in keeping it running.
I've also discovered that http://php.net/releases
contains historical releases
(don't think this solves any issues though - it's more of a heads up).
I'm not sure where to go from here with this as it doesn't look like
http://snaps.php.net will be coming back and we haven't got
any closer to a
solution.
What do you think?
Previous Comments:
------------------------------------------------------------------------
[2015-02-13 14:17:45] hiro+php at travis-ci dot org
Thanks for the suggestions so far.
I've fiddled with this information, and tried it on Travis CI: https://travis-ci.org/BanzaiMan/travis_production_test/jobs/50634414#L1191
While it seems to work (as far as compilation goes; this doesn't include other modules or
phpunit we offer in other PHP versions), but it adds significant amount of time (10+ minutes). It
would be great if a precompiled binary package of reasonably recent development version existed.
------------------------------------------------------------------------
[2015-02-13 09:20:12] rasmus@php.net
It is also quite easy to build it yourself, especially if you grab my vagrant image. See https://github.com/rlerdorf/php7dev
That comes with every version of PHP pre-compiled and to build the latest php7:
cd php-src
git pull -r
make distclean
./buildconf -f
./cn
sudo make install
sudo newphp 7 debug (assuming you did a debug build - see the instructions on switching the
currently active php build)
All the dependencies and everything you need are already there.
------------------------------------------------------------------------
[2015-02-13 07:21:48] jacob@php.net
Hey,
Will have a look what we can do with this one fixed and whether there is a short term solution to
get snapshots available again.
Not sure if it helps but the branches at https://github.com/php/php-src are the releases (4.x, 5.x)
and master is currently the development on PHP 7.
Regards,
Jacob.
------------------------------------------------------------------------
[2015-02-12 14:05:18] hiro+php at travis-ci dot org
Description:
------------
http://php.net/downloads.php has a link to snapshots
downloads (http://snaps.php.net/), but it's down. Could you bring it back?
Alternatively, you might want to consider uploading the build artifacts from the Travis CI builds
(https://travis-ci.org/php/php-src/builds) to somewhere, so that Travis CI can provide users with an
option to test against the most cutting-edge PHP versions.
Test script:
---------------
curl -I http://snaps.php.net/
Expected result:
----------------
200
Actual result:
--------------
curl: (7) Failed to connect to 2604:a880:800:10::2e6:c001: No route to host
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69042&edit=1