Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102146 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39172 invoked from network); 27 May 2018 06:34:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 May 2018 06:34:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=peterkokot@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=peterkokot@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.193 as permitted sender) X-PHP-List-Original-Sender: peterkokot@gmail.com X-Host-Fingerprint: 74.125.82.193 mail-ot0-f193.google.com Received: from [74.125.82.193] ([74.125.82.193:36241] helo=mail-ot0-f193.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/37-27834-C815A0B5 for ; Sun, 27 May 2018 02:34:53 -0400 Received: by mail-ot0-f193.google.com with SMTP id m11-v6so10358678otf.3 for ; Sat, 26 May 2018 23:34:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y9vTA391pHaTyG9iiggKYa4gpMiQ0vhVzdP/S9IJZGk=; b=nxrDJpobnqWzPNXGVevZCGowO0/X2SspV/5KvS8aqREfTy5WSbf4t2T7PbzqmpHREq IbMpZqDrU24YJiZa0cpdI30m/x3+Sg5lL5QUN20tCM7W4rS13PlKLopw8ci/Gz4t3AJN nBEvnHZB5Tg7qhoCWn6Gw0f1FFjiEqv475HQAv/wKx0yZHgZpRrZ8SC+a6k/5fZPREET QqgGQVP3OXVak99csaAQcHkkKPTByHjYFLtJZAW2vNjbjoM1BG3fEoKtLyhlcdjZ8Cmr gLD0p7LCICTLG45/Bnqk3CuyFbixa3wz3D3PSH6SP7H4T3x+LjiGT9A2X2vjklJT6KWG DNTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y9vTA391pHaTyG9iiggKYa4gpMiQ0vhVzdP/S9IJZGk=; b=BErwj9hy/FncWC4YK+ht2Rf3wQHS2SjTgau/77HLPb9xRTMm7aaz7lShM9eTC5aKLS rUdJcQXyqYUX+0BsmCjwVrJ3yFXYbG50i3IRq54E576+VcrV/cXLuvbzTDNr4XbkYvJR QMlpdrxaRNLbRzjwzcQp1sBUWLpjAdrauCV8o4izU4pyAvf6ykkLCAHqod6OF1/K9V88 Y1W1Q/L+6+vUKYzzEPde831onjvqxGaWGVCn4py5viAW90oVTSSjonLt11hp/NcIGwIT 6s5/GevD63cvZLb7jKL5RK7xtKEBMUvShZFtSztXbcdfu3/5hMw24mOiyXYfXOVC97pr cMvg== X-Gm-Message-State: ALKqPwd/t9oDCL7rkcFlN0DmAWN5hUUo0UU5obeUaljvYSm2ImsOpCos m023icjkGxtJK/feMz7Kg9eYmzaxysoxRa8F6bA= X-Google-Smtp-Source: ADUXVKKj8M6ry5bwUsoSEPQHj0i+5pV2hrf9aTJ6KTVRehJNQEkDrRdA7D2Y+cCzgDlwYW5wAPulQ3aNyW/Ab6YX3nw= X-Received: by 2002:a9d:3a65:: with SMTP id j92-v6mr5987229otc.352.1527402890149; Sat, 26 May 2018 23:34:50 -0700 (PDT) MIME-Version: 1.0 References: <731fab4d-0b82-2172-5639-b8e942d2c0a6@genkgo.nl> In-Reply-To: <731fab4d-0b82-2172-5639-b8e942d2c0a6@genkgo.nl> Date: Sun, 27 May 2018 08:34:39 +0200 Message-ID: To: f.bosch@genkgo.nl Cc: Internals Content-Type: multipart/alternative; boundary="000000000000b2461a056d2a3293" Subject: Re: [PHP-DEV] getting tests running with docker From: peterkokot@gmail.com (Peter Kokot) --000000000000b2461a056d2a3293 Content-Type: text/plain; charset="UTF-8" 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 --000000000000b2461a056d2a3293--