Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102154 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93031 invoked from network); 29 May 2018 07:45:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 May 2018 07:45:21 -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:52449] helo=mail.genkgo.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/BC-01681-E050D0B5 for ; Tue, 29 May 2018 03:45:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=genkgo.nl; s=x; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References :Cc:To:Subject:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=p74CmJiUW4ufnuuWhmRXxvHD84LYfuFSC0riQEUwHDQ=; b=FONOc5kLuoCfOrAgOJZ1sleLxF LieSDlhoRI4QVBWo/dBbNm0ohA3x25ZwRi9/PtVyssu52bYBrUSsNlzRJlkRBTnA1fwQtNwfUo+C0 cXiZTkCAUC3woK1u8cHjgQoakaiSTDa+mXKuYcIrmGu/vf0FoaMQ5/8TGpxiJ02gWta88H2fpF5YS f1ZqALUlSD0M94ce5xzOuzhzZQqQMfdQGmQVaCJc36csbd6PVEFMx4VHIjvfTWvOp/A9xomETH2V7 1j0JRzPnHG+G5FcE6NMPzdpluHFL8GEAlJLjDTMZ5RKfFdWZAxSbJD2sIg03cH04JHOx6BrJXFYsG 8cKr3Xmg==; 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 1fNZJj-0002yD-Mr; Tue, 29 May 2018 09:45:15 +0200 To: Peter Kokot Cc: Internals References: <731fab4d-0b82-2172-5639-b8e942d2c0a6@genkgo.nl> Message-ID: Date: Tue, 29 May 2018 09:45:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------6E5A7700AEDC3086FEB6CEA3" Content-Language: nl-NL Subject: Re: [PHP-DEV] getting tests running with docker From: f.bosch@genkgo.nl (Frederik Bosch) --------------6E5A7700AEDC3086FEB6CEA3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 27-05-18 08:34, Peter Kokot wrote: > 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 > 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 Web: support.genkgo.com Entrada 123 Amsterdam +31 208 943 931 Genkgo B.V. staat geregistreerd bij de Kamer van Koophandel onder nummer 56501153 --------------6E5A7700AEDC3086FEB6CEA3--