Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102121 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76929 invoked from network); 22 May 2018 09:34:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 May 2018 09:34:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=f.bosch@genkgo.nl; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=f.bosch@genkgo.nl; sender-id=pass Received-SPF: pass (pb1.pair.com: domain genkgo.nl designates 46.21.156.38 as permitted sender) X-PHP-List-Original-Sender: f.bosch@genkgo.nl X-Host-Fingerprint: 46.21.156.38 mail.genkgo.net Received: from [46.21.156.38] ([46.21.156.38:48024] helo=mail.genkgo.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 80/38-55862-534E30B5 for ; Tue, 22 May 2018 05:34:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=genkgo.nl; s=x; h=Content-Type:MIME-Version:Date:Message-ID:Subject:From:To:Sender: Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GBS3+7pZHZl6JAZSRDAZpdBnjRInwzAiCzpHUxuYb+w=; b=BnWem02OJ6coaNzLnBo2epjQVN piLu/KuY0+dq7p7j51UzBo/CPlrklXgPErpP+ZFNryYWuJPjquj6ReY42c22tZsMkoh4OLryj76V4 k+KacSAa1ih31cx3sbyUhG/sUFML0HhhYHRWnVzFdhFVllzeMTGMG7DM39QH4Cy8ziQhyuaRfU0dG l9mf0UFZmNeKDOlFqt3Wu+sOpZj78OEx66B4aokj1hrs5FPMbmPBTFbSBdXESJxNEpmubDdZ+vaab HlD2tEoTsdIIqjPDCDhuOt5KRDZ2gSX93e24cx5oG5Ne2/5l1V8hPI9IrKQmA4C9EfO83XhvlPZEh hfepybLg==; Received: from [188.213.225.106] (helo=[192.168.15.71]) by mail.genkgo.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1fL3go-0002KB-Py for internals@lists.php.net; Tue, 22 May 2018 11:34:42 +0200 To: internals@lists.php.net Message-ID: <731fab4d-0b82-2172-5639-b8e942d2c0a6@genkgo.nl> Date: Tue, 22 May 2018 11:34:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------3E6DC572C66053A67F73EF8B" Content-Language: en-GB Subject: getting tests running with docker From: f.bosch@genkgo.nl (Frederik Bosch) --------------3E6DC572C66053A67F73EF8B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 --------------3E6DC572C66053A67F73EF8B--