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
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...
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
Hi Peter,
Good to learn that I am not the only one having troubles. I remember I
also tried Debian stretch. It came with the same error.
Frederik
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
http://bugs.php.net also...On Tue, 22 May 2018 at 11:35, Frederik Bosch <f.bosch@genkgo.nl
mailto: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
--
Frederik Bosch
Partner
Genkgo logo
Mail: f.bosch@genkgo.nl mailto:f.bosch@genkgo.nl
Web: support.genkgo.com https://support.genkgo.com
Entrada 123
Amsterdam
+31 208 943 931
Genkgo B.V. staat geregistreerd bij de Kamer van Koophandel onder nummer
56501153