Re: getting tests running with docker
| From: | Peter Kokot | Date: | Sun, 27 May 2018 06:34:39 +0000 |
| Subject: | Re: getting tests running with docker | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102146@lists.php.net to get a copy of this message | ||
Hello, yes, same is happening here also with PHP master branch and Alpine
Linux. It has something to do with the musl libc (Alpine) . Checking it
out... Probably this should be reported to bugs.php.net also...
On Tue, 22 May 2018 at 11:35, Frederik Bosch <f.bosch@genkgo.nl> wrote:
> Hi there,
>
> As the release managers of PHP 7.3 have been chosen - congratulations to
> both - I realized I have to hurry up with the implementation of the
> passed RFC on Same Site Cookies. A few weeks ago I was ready to start
> working on this. So I started with setting up my dev environment. I
> chose to go for a containerized setup: create a container that is ready
> to run tests, then mount the git repo, see that the tests are running
> and then start working on the feature.
>
> However, I never managed to get a single test running. My starting point
> was the official Docker based on Alpine 3.7
> (
>
> https://github.com/docker-library/php/blob/master/7.2/alpine3.7/cli/Dockerfile).
>
> However, when compiling PHP I always run into the same error.
>
> |Error relocating /usr/src/php/sapi/cli/php: unsupported relocation type
> 37 Error relocating /usr/src/php/sapi/cli/php: unsupported relocation
> type 37 Error relocating /usr/src/php/sapi/cli/php: unsupported
> relocation type 37 Error relocating /usr/src/php/sapi/cli/php:
> unsupported relocation type 37 |
>
>
> Do anyone has a clue what this could this be? I have very little
> experience with these kind of issues. Googling did not help to find the
> answer. Maybe someone can help, or even better, setup a Docker that is
> able to a) compile using travis/compile.sh and then b) run
> ./sapi/cli/php run-tests.php c) when mounting a (forked) git src repo
> into that container. I think this will improve dev experience of other
> people that want to help improving php source.
>
> Kind regards,
> Frederik Bosch
>
>
--
Peter Kokot