Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101341 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49798 invoked from network); 13 Dec 2017 00:02:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Dec 2017 00:02:25 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.176 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.176 mail-pf0-f176.google.com Received: from [209.85.192.176] ([209.85.192.176:34060] helo=mail-pf0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/76-53433-01E603A5 for ; Tue, 12 Dec 2017 19:02:24 -0500 Received: by mail-pf0-f176.google.com with SMTP id a90so508348pfk.1 for ; Tue, 12 Dec 2017 16:02:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=HII+N4ONxw/nXySguDp+C1aooP2Dyu6NxmZYMCt9HaU=; b=QM3oLFHd18yBkJB4LJpn7cZPfz9EoJfCCxT2/72sRzEQeuch009qNIwgsPccSlV3Tc qY4+Jma5BKiIYwU3RZFux3dqYXkVixC0UYWRnSU5+A6OoyxgLfnaRCnQOr210cwiiGLx Yah3Pu3vRO4n6uyUadVNVSLNMHNmwgNCpD7MU2K17mXKFi9ru1y7LTwQkqPgX4bduGsW rZb4piRVB/H+Y6X9MiA2mhGcOaIGy54lAbiaarGlfabcLSZmBIoJPKqu9zgGAEslRE2E hzrvoE8y1w53zZBTmoK56qCd2lj+I4p1dCk11prN4YuL1PiV6NEUlMVVyvzWGLO/swS6 IgFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=HII+N4ONxw/nXySguDp+C1aooP2Dyu6NxmZYMCt9HaU=; b=kC/Equ1xNfAJYgJ723SuB+be3+R5KTrZKchDgxetJ0t4mwonBEeDqxs4ql4c3zW9Es 2ck6aV8KLA9u5ZNj33C6qSViaFPqRnSLy1Igi3Zby2ujjhzj3Rn/22b72Pq1lmfzgIeu Tg/vIEO/rSTd4sNFCJEi2E4aO+OJj2St1tZeTyP4sRiKu/eTP8lFknOP8GPsmAIapG2Y zkz0dOKmRCVgX0Vx8RDVWlI9SIFfxiNemHaUwY0ShcXBsUDZxHEfkGyeTUWcUh+cwX5k 40bAY+9vOD7PxwMeqVl07XHyAI/T3+8oAsSWvXjbBfXTyQ3ss/t7FP37ZVt7zUSNYM5N g+8A== X-Gm-Message-State: AKGB3mIPAqNOmICAFi3wft1Y/b4oMFA5ZtJJfpJS5J4Ia0gJ1nWzvqwB 1i82WuQmVt8g7rYn7ZKKAqQ46kM= X-Google-Smtp-Source: ACJfBoumSLE++dHookWPGPZ3iYsbnMNCjIQp7g3d0ypSVoHGdUNLag78q07M9cfXvJKAt5EvdYlKyg== X-Received: by 10.98.139.138 with SMTP id e10mr3995243pfl.231.1513123340599; Tue, 12 Dec 2017 16:02:20 -0800 (PST) Received: from Stas-Pro-2016.local (c-73-71-144-171.hsd1.ca.comcast.net. [73.71.144.171]) by smtp.gmail.com with ESMTPSA id l5sm283954pgo.24.2017.12.12.16.02.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2017 16:02:20 -0800 (PST) To: Jelle van der Waa Cc: PHP Internals References: <20171211211157.d7lj5vibpaaka4ji@gmail.com> <3aa774e4-c83b-79e1-edf8-acbbad76ea41@gmail.com> <20171212205013.yniwxasnvijcz5km@gmail.com> Message-ID: Date: Tue, 12 Dec 2017 16:02:19 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171212205013.yniwxasnvijcz5km@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Reproducible Builds Support From: smalyshev@gmail.com (Stanislav Malyshev) Hi! >> I think the best solution here would be to have another variable to >> override this. > > The issue with this approach would be that every distribution has to set > this variable. I know it's the same with SOURCE_DATE_EPOCH, but that is > well established. All distros that want reproducible build of PHP. But I assume they need to do some special magic to initiate reproducible build anyway, if so, we could document the procedure of setting up reproducible build in some readme file, and make it easy to set it up. They won't need to set it up for all builds, just for PHP build, and since most use special scripts to build PHP anyway, it shouldn't be too hard to add. >> If those old systems run PHP and need uname, changing stuff there is >> probably harder and more expensive than on other systems. With this in >> mind, I'd rather not mess with it, especially for a purpose that can >> easily be achieved without it. > > Hmmm true, but the fallback being the hostname where PHP was build on > seems a little bit odd, doesn't it? Yes, but I'd follow "Chesterton fence" principle here. Maybe we could use some ifdefs and configure magic to ensure this is actually not happening on the kind of systems where reproducible builds are run? -- Stas Malyshev smalyshev@gmail.com