From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 21 15:25:58 2019 Received: (at submit) by debbugs.gnu.org; 21 Jan 2019 20:25:58 +0000 Received: from localhost ([127.0.0.1]:40538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1glg8r-00012d-L1 for submit@debbugs.gnu.org; Mon, 21 Jan 2019 15:25:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1glffj-0000IQ-JW for submit@debbugs.gnu.org; Mon, 21 Jan 2019 14:55:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:36488) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1glffe-0003zd-BN for submit@debbugs.gnu.org; Mon, 21 Jan 2019 14:55:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glffd-0000bp-H3 for guix-patches@gnu.org; Mon, 21 Jan 2019 14:55:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glffc-0003xk-6d for guix-patches@gnu.org; Mon, 21 Jan 2019 14:55:45 -0500 Received: from mail2.protonmail.ch ([185.70.40.22]:14801) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1glffb-0003vl-Om for guix-patches@gnu.org; Mon, 21 Jan 2019 14:55:44 -0500 Date: Mon, 21 Jan 2019 19:55:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; s=protonmail; t=1548100541; bh=e9oqszgsLGZy7Qh3m337HZRj+afMBWybrM9qxzlvSmI=; h=Date:To:From:Reply-To:Subject:Feedback-ID:From; b=TqrNXmxQiBoUnB6ZJikclo386gwFabruN74e9Q5Cs39nPX8Uyu5AN6pWBl70B22BJ pBQky3ipjEyehsGQleiPfFzs+niRhyrwPGLBky6hZMExTdu/BfOO6jXBCOVnirbZEb aK4c33uOTPYzwYqkpKtuWtoKLg9HWHxfTkWZEsII= To: "guix-patches@gnu.org" From: Carl Dong Subject: [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. Message-ID: Feedback-ID: a8j8tDUaJ4AYuDVBywMTwsJebN4w8TVXadJLsJb8td3t3dZi9RdXFlPaQvoFKnI9KgXySsPXcRkajVyY0cGTcA==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.70.40.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 21 Jan 2019 15:25:56 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Carl Dong Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >From 2b3162dde22a5d44eb5910b0fcfa07318f935aaf Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Mon, 21 Jan 2019 14:51:57 -0500 Subject: [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. * gnu/packages/finance.scm: Make bitcoin-qt deterministic. --- gnu/packages/finance.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 468388797..96df919c4 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -115,6 +115,9 @@ "/bin/lupdate")) #:phases (modify-phases %standard-phases + (add-before 'configure 'qt-time + (lambda _ + (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1"))) ; Make QT determi= nistic (add-before 'check 'set-home (lambda _ (setenv "HOME" (getenv "TMPDIR"))))))) ; Tests write to $HOME. -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 22 09:28:21 2019 Received: (at 34165-done) by debbugs.gnu.org; 22 Jan 2019 14:28:22 +0000 Received: from localhost ([127.0.0.1]:40808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1glx2L-0006Zy-Ii for submit@debbugs.gnu.org; Tue, 22 Jan 2019 09:28:21 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:37382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1glx2J-0006Zq-SF for 34165-done@debbugs.gnu.org; Tue, 22 Jan 2019 09:28:20 -0500 Received: from localhost (178.113.238.145.wireless.dyn.drei.com [178.113.238.145]) by dd26836.kasserver.com (Postfix) with ESMTPSA id E74603360372; Tue, 22 Jan 2019 15:28:18 +0100 (CET) Date: Tue, 22 Jan 2019 15:28:15 +0100 From: Danny Milosavljevic To: Carl Dong Subject: Re: [bug#34165] [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. Message-ID: <20190122152815.16c191e6@scratchpost.org> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/MRgD2c6TcQkV_9BTbFIYQ21"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 34165-done Cc: 34165-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/MRgD2c6TcQkV_9BTbFIYQ21 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Thanks! Pushed this as commit 99629e5a110a9a91151bd0e63a1805446996a3c8 to guix mast= er. --Sig_/MRgD2c6TcQkV_9BTbFIYQ21 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlxHKH8ACgkQ5xo1VCww uqX2VQf/cZj8DzaCP4VZ9CN6e//49OaqCaXqLe+TyG2mWdURF0oQ6AnT8po3oRj1 nLpHRdYq53T4mNLpezxfnBDLjhUELoW2Xo1ud35FexlusX8Ncs5IM5uMYDO5bbSM bjl9eappThHBhSwazWQzmwvvw9RM+XEu4DIhj+V9LOiApaalXSF5of3KIZ2s98+S PeGLuTI6khRD1PBzN2Rl1C6ZoiOc5TLOXQtxSn2cwQFi/W6NAxyMzEuawImEumCH 0mEk5KUtFM/ZhbQf3StK8Fhrgx26HNxVDhxwpKexOB2ldaDFbke1k3/UseNBbgDI fSR7W/aoZXSesLmvnkgoHft5ZurlnA== =v3aS -----END PGP SIGNATURE----- --Sig_/MRgD2c6TcQkV_9BTbFIYQ21-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 22 10:14:21 2019 Received: (at control) by debbugs.gnu.org; 22 Jan 2019 15:14:21 +0000 Received: from localhost ([127.0.0.1]:41554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1glxkq-0001T7-HI for submit@debbugs.gnu.org; Tue, 22 Jan 2019 10:14:21 -0500 Received: from mail.onyx.syn-alias.com ([206.152.134.66]:14978 helo=smtp.centurylink.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1glxko-0001St-EC for control@debbugs.gnu.org; Tue, 22 Jan 2019 10:14:19 -0500 DKIM-Signature: v=1; a=rsa-sha1; d=centurylink.net; s=ctl201402; c=relaxed/simple; q=dns/txt; i=@centurylink.net; t=1548170052; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=90FL2VUO68xU6Sc5WhJvXR6mXa4=; b=zRY4TvuPoOTQFTUu9gZPCwT8rKFSYOZYPKcyPne8KRDw7VtuozJeiDc4VWXqg72E sDVuedbZeqibNtSqenvIZdXUGp2/tNmRHF0lkvVe50iaE6DrtOBr0iEASGxaB3ty MkV9PgePWc6Y2I2N/31bTJxTwbbf00B3SLGc2Yc0O/zs5UL03LI2VeNBlL/Mne7J K9XsQVEUGZvjDbqGVs6ebPAFt+RJhZDA8O+uechQXBfrugIfmEWy95bBgzwaG0QL 8EMLnC75KyE8BOGAHJq0ewayu8iIHMuaHQd9YDD9c9q2i8EVTUqXLrqQ1xNXEqb4 0sWl1Qaa8NtfMxZHH3CkXA==; X_CMAE_Category: , , X-CNFS-Analysis: v=2.3 cv=a6xOCnaF c=1 sm=1 tr=0 a=c4ELDkRixJ9967ke8+/osA==:117 a=c4ELDkRixJ9967ke8+/osA==:17 a=KGjhK52YXX0A:10 a=3JhidrIBZZsA:10 a=zSv6zi-ZgakA:10 a=inoG4m36AAAA:8 a=Vwgs86dPcOKjZPoIx3sA:9 a=CjuIK1q_8ugA:10 a=CRx8xOeTt4SgoM3M4NYA:9 a=_Qgj-RFg6mImvLaOgLPg:22 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Subject: X-Authed-Username: ZXJpY2JhdmllckBjZW50dXJ5bGluay5uZXQ= Authentication-Results: smtp02.onyx.dfw.sync.lan smtp.user=ericbavier@centurylink.net; auth=pass (LOGIN) Received: from [97.116.99.100] ([97.116.99.100:54594] helo=localhost) by smtp.centurylink.net (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPSA (cipher=AES256-GCM-SHA384) id D6/5E-04383-443374C5; Tue, 22 Jan 2019 10:14:12 -0500 Date: Tue, 22 Jan 2019 09:14:03 -0600 From: Eric Bavier To: control@debbugs.gnu.org Message-ID: <20190122091403.6ec2da4a@centurylink.net> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/ME+GqDAJLAaR=2MG.TtmaJp"; protocol="application/pgp-signature" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: owner 34159 bavier@member.fsf.org owner 34165 bavier@member.fsf.org owner 34163 bavier@member.fsf.org owner 34164 bavier@member.fsf.org tags 34165 reproducibility tags 34163 upgrade Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 SLIGHTLY_BAD_SUBJECT Subject contains something slightly spammy 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ericbavier[at]centurylink.net) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [206.152.134.66 listed in wl.mailspike.net] X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --Sig_/ME+GqDAJLAaR=2MG.TtmaJp Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable owner 34159 bavier@member.fsf.org owner 34165 bavier@member.fsf.org owner 34163 bavier@member.fsf.org owner 34164 bavier@member.fsf.org tags 34165 reproducibility tags 34163 upgrade --Sig_/ME+GqDAJLAaR=2MG.TtmaJp Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoMXjUi7471xkzbfw/XPKxxnTJWYFAlxHMzsACgkQ/XPKxxnT JWZnOw/9HwbzOu115uLf9I/4hZQWgBGETR7XfWNSfHHRqBbpQx5bLZSlMKQrlAjX nRkq96Ag607qyorLLMi8WsWtXnsTPipBnuJMMZ0OF2x5qf6pJex/evEXp5ULcyvC bkt8Z+B0JtQncZJlaXqdqv2ywq7053Oolo3lm9w+Vz7Xc6AooObuv5aZOFFheazY BQdsqP16wi9DjP5jtWfCoQhFigZFNACteMrmEd2rhfGb1JsMRVF7yCa0ZQDXsH8Z 6zJIcDyeoBd8VEbZQqiWZoJDGJ0HNE7wbE743HhBArr89nF2kSkffJasfsv+CtRS fNNL5nT5UOTM3KdRn78tNDz0hCQFC1NkvShyeLcfE6PE54lchriT+yMCJCDeeqNS 7WRF7hQVLwIWONjflPxp+Sya2fJWmzLr6XWMmxlo02Hj0Yhg9L26oNSyCOq9drIW edeGGyjxQbJe0GqXx3QzZ+jvjjb2HLcj1K7P7YyrZQloTY4PPoQ6TfgaT7Nwgtuy 0XGY8ccXnEjexksL89NeoDxQWoZ8nTH9zpJXWdg1R6TFjW4L/w4OZm+brEnavsvV PelzfNr8Bw7YpxNyzo/7ln+2ZOmtzN8QR6CU3ewTIjry69ZS4hlk18d92GiLS7U1 uWhp5qzLzj6eer8ba5/q0jAHRPA5aLWL/ZsDpMkWzLZ8STyCM74= =ov+j -----END PGP SIGNATURE----- --Sig_/ME+GqDAJLAaR=2MG.TtmaJp-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 23 04:07:13 2019 Received: (at 34165) by debbugs.gnu.org; 23 Jan 2019 09:07:14 +0000 Received: from localhost ([127.0.0.1]:42010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmEV7-0006Ps-J5 for submit@debbugs.gnu.org; Wed, 23 Jan 2019 04:07:13 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:58356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmEV5-0006Pi-2G for 34165@debbugs.gnu.org; Wed, 23 Jan 2019 04:07:11 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DBC0253B9; Wed, 23 Jan 2019 10:07:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hrPEJRevgMIt; Wed, 23 Jan 2019 10:07:08 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id E63A539D5; Wed, 23 Jan 2019 10:07:07 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Carl Dong Subject: Re: [bug#34165] [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. References: Date: Wed, 23 Jan 2019 10:07:06 +0100 In-Reply-To: (Carl Dong's message of "Mon, 21 Jan 2019 19:55:35 +0000") Message-ID: <87munrivyd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34165 Cc: 34165@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi! Carl Dong skribis: >>>From 2b3162dde22a5d44eb5910b0fcfa07318f935aaf Mon Sep 17 00:00:00 2001 > From: Carl Dong > Date: Mon, 21 Jan 2019 14:51:57 -0500 > Subject: [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. [...] > + (add-before 'configure 'qt-time > + (lambda _ > + (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1"))) ; Make QT deter= ministic Looking at this and the upstream commit=C2=B9, I=E2=80=99m thinking maybe w= e should do the same in other Qt applications. Any idea how we can identify applications where it=E2=80=99s needed? Thanks, Ludo=E2=80=99. =C2=B9 https://github.com/qt/qtbase/commit/38271e9298dcf48652a6e2e08414a940= a97867fa From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 25 05:30:19 2019 Received: (at 34165) by debbugs.gnu.org; 25 Jan 2019 10:30:19 +0000 Received: from localhost ([127.0.0.1]:44574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmykd-0001fr-Ao for submit@debbugs.gnu.org; Fri, 25 Jan 2019 05:30:19 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmykb-0001fi-2v for 34165@debbugs.gnu.org; Fri, 25 Jan 2019 05:30:17 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1548254507; cv=none; d=zoho.com; s=zohoarc; b=GM3fes8z90h3b9XqqddePzIkmKG1pVYNSzIjMQkml+hfAaKr1aGiYTzOgY9AMNjkDyw5H3eMZcKyhWyJTOGtwB8W96caTAO0Kjl7NywCzPP0dB0AgUR02ayHcjF86JD6PINiKeFD+k+iwTX2JOp0Opt59CNSwdgw2h+XbqsAjt4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1548254507; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=WB7+YstvP6Wa+GTiioFYbRQkn3uFySMi5A8t3Foi0/k=; b=KxINXo1sutETlWPG3tObvd8+8SPC5d7g/HWUgEvMgPJkssgpINGR7TJYGFcqKQ58j80pI8WKTwLadbJ52Fd4qL5Du/IXB8TZ/s7YqbfDeLWwvpveqR2FsTaV7MGuFJHiOnAF7bSfUabYy0QOGvA4GrVq+gYmjutQBiQDxUXI52g= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1548254507; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1235; bh=WB7+YstvP6Wa+GTiioFYbRQkn3uFySMi5A8t3Foi0/k=; b=JDtDGUSdNb8cuK0dTfFnbPZKMFk+SMfXc/qxA8DQQ3G8dWSXxdHwvaabRA4xxkmL DacgDXx+blC1llLHgLuWPl8SRvG3iIxp2IlKVeNcgkuUf7o0qRiEFGCHcdCsKEoiNDz N9U5rFld3gxar/5wLQ8rp7dOTLymQ+sGv/r6PrEs= Received: from localhost (141.80.247.225 [141.80.247.225]) by mx.zohomail.com with SMTPS id 1548254506911898.6569241395218; Wed, 23 Jan 2019 06:41:46 -0800 (PST) References: <87munrivyd.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#34165] [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. In-reply-to: <87munrivyd.fsf@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 23 Jan 2019 15:41:43 +0100 Message-ID: <8736pj77x4.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34165 Cc: 34165@debbugs.gnu.org, Carl Dong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: > Hi! > > Carl Dong skribis: > >>>>From 2b3162dde22a5d44eb5910b0fcfa07318f935aaf Mon Sep 17 00:00:00 2001 >> From: Carl Dong >> Date: Mon, 21 Jan 2019 14:51:57 -0500 >> Subject: [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. > > [...] > >> + (add-before 'configure 'qt-time >> + (lambda _ >> + (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1"))) ; Make QT dete= rministic > > Looking at this and the upstream commit=C2=B9, I=E2=80=99m thinking maybe= we should > do the same in other Qt applications. Any idea how we can identify > applications where it=E2=80=99s needed? > > =C2=B9 > https://github.com/qt/qtbase/commit/38271e9298dcf48652a6e2e08414a940a9786= 7fa This is a bit unfortunate. It seems to me that the original intent of the patch was to support SOURCE_DATE_EPOCH as the commit message mentions that variable=E2=80=99s specification. Pity that it is now a cust= om Qt variable. This probably should be used for all packages that generate resource files, which I assume are most non-trivial applications. I think it=E2=80= =99s fine to add it to all packages using qtbase. -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 26 13:07:57 2019 Received: (at 34165) by debbugs.gnu.org; 26 Jan 2019 18:07:57 +0000 Received: from localhost ([127.0.0.1]:46772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnSN2-0005ce-Ut for submit@debbugs.gnu.org; Sat, 26 Jan 2019 13:07:57 -0500 Received: from flashner.co.il ([178.62.234.194]:48220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnSN1-0005cP-Hn for 34165@debbugs.gnu.org; Sat, 26 Jan 2019 13:07:55 -0500 Received: from localhost (unknown [188.120.128.87]) by flashner.co.il (Postfix) with ESMTPSA id E43E9401E7; Sat, 26 Jan 2019 18:07:49 +0000 (UTC) Date: Sat, 26 Jan 2019 20:07:48 +0200 From: Efraim Flashner To: Ricardo Wurmus Subject: Re: [bug#34165] [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. Message-ID: <20190126180748.GC11329@macbook41> References: <87munrivyd.fsf@gnu.org> <8736pj77x4.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kVXhAStRUZ/+rrGn" Content-Disposition: inline In-Reply-To: <8736pj77x4.fsf@elephly.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 User-Agent: Mutt/1.11.0 (2018-11-25) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34165 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 34165@debbugs.gnu.org, Carl Dong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --kVXhAStRUZ/+rrGn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 23, 2019 at 03:41:43PM +0100, Ricardo Wurmus wrote: >=20 >=20 > This is a bit unfortunate. It seems to me that the original intent of > the patch was to support SOURCE_DATE_EPOCH as the commit message > mentions that variable=E2=80=99s specification. Pity that it is now a cu= stom Qt > variable. >=20 We could just add it in to the gnu-build-system and set the variable in all events. Or patch qt/qtbase to accept SOURCE_DATE_EPOCH in place of their own variable. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --kVXhAStRUZ/+rrGn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlxMofEACgkQQarn3Mo9 g1FORRAAruzsopJMoSmZd6TIHtWm/mVzyHvXSdoKbKRCJk338uV69gN5CFtZO38y lytsEfCKZMKPKPQBNkWTlJoRKH5J0y8j/oXNusNgJK+sOg7aBrRDD73lwF7j9iX4 X+MTE2ffZr/MCSg4/R3FAicYKp6zcFqqN9F/eNcfhhcA13yT5warXdY8a2OCCkFk aDVGv66AASaPfgKhiLu4Z3p0e5J9lcyr/ZWg92An2cVklIwEqYv3LdfycciD5Wvg JmzCQIKHSyQ8meZCJPDmuZwCdgZ2J1qLOw2u91Lv9qmGNjoP2pGTuzGwoKY7emYp TLLuIhSDmdr0EiwO9q8wcYKKUKBfGU2uAs0Jl+/XL6E40DYBcplOp1H/jgFu1Lyb nwkYoRLmJiWb2z9QAd7r6mgGOD+sPjaGlsWy1xhcMBefjRNUC9DXy9xJb0egwNre OwS9iIuPaKJ9jx3+H+ejZXdKKec82qNbem5LpHil6yW492oo8obcOCWTA38G5GiC ecmAS06Q+GjP5rUViJBuSEHTowg/7CacA6olbm7Z6maTH6RwJ5bh5TQVbfOvAAyV uitissHdhLc+eYG7XgD5P11CgStOhVNyd/BUT4/Ly1m09v9wOiDScdzAsDwH+LRw BYrgXaPCSkXVmkKyUXtw6rBi4iZtE+R0ezucT94/m90bS9cN9C0= =OSqS -----END PGP SIGNATURE----- --kVXhAStRUZ/+rrGn-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 27 17:39:12 2019 Received: (at 34165) by debbugs.gnu.org; 27 Jan 2019 22:39:12 +0000 Received: from localhost ([127.0.0.1]:48057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnt55-0003hN-SO for submit@debbugs.gnu.org; Sun, 27 Jan 2019 17:39:12 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:54068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnt53-0003hF-TY for 34165@debbugs.gnu.org; Sun, 27 Jan 2019 17:39:10 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 44AF73B84; Sun, 27 Jan 2019 23:39:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EIIp7b-_NxxO; Sun, 27 Jan 2019 23:39:08 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 03C173B3D; Sun, 27 Jan 2019 23:39:07 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Efraim Flashner Subject: Re: [bug#34165] [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. References: <87munrivyd.fsf@gnu.org> <8736pj77x4.fsf@elephly.net> <20190126180748.GC11329@macbook41> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 =?utf-8?Q?Pluvi=C3=B4se?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 27 Jan 2019 23:39:07 +0100 In-Reply-To: <20190126180748.GC11329@macbook41> (Efraim Flashner's message of "Sat, 26 Jan 2019 20:07:48 +0200") Message-ID: <87va29d8tw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34165 Cc: Ricardo Wurmus , 34165@debbugs.gnu.org, Carl Dong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Efraim Flashner skribis: > On Wed, Jan 23, 2019 at 03:41:43PM +0100, Ricardo Wurmus wrote: >>=20 >>=20 >> This is a bit unfortunate. It seems to me that the original intent of >> the patch was to support SOURCE_DATE_EPOCH as the commit message >> mentions that variable=E2=80=99s specification. Pity that it is now a c= ustom Qt >> variable. >>=20 > > We could just add it in to the gnu-build-system and set the variable in > all events. Or patch qt/qtbase to accept SOURCE_DATE_EPOCH in place of > their own variable. Either way is fine with me. Adding it to the =E2=80=98set-SOURCE-DATE-EPOC= H=E2=80=99 phase in =E2=80=98core-updates=E2=80=99 would be reasonable IMO. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 28 06:07:32 2019 Received: (at 34165) by debbugs.gnu.org; 28 Jan 2019 11:07:32 +0000 Received: from localhost ([127.0.0.1]:48256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go4lI-0006iz-0F for submit@debbugs.gnu.org; Mon, 28 Jan 2019 06:07:32 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:46128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go4lF-0006iq-FG for 34165@debbugs.gnu.org; Mon, 28 Jan 2019 06:07:30 -0500 Received: from localhost (178.112.188.129.wireless.dyn.drei.com [178.112.188.129]) by dd26836.kasserver.com (Postfix) with ESMTPSA id B347E3360102; Mon, 28 Jan 2019 12:07:27 +0100 (CET) Date: Mon, 28 Jan 2019 12:07:20 +0100 From: Danny Milosavljevic To: Ricardo Wurmus Subject: Re: [bug#34165] [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. Message-ID: <20190128120720.094dd8be@scratchpost.org> In-Reply-To: <8736pj77x4.fsf@elephly.net> References: <87munrivyd.fsf@gnu.org> <8736pj77x4.fsf@elephly.net> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/gXPp97u.GetvZm8jEiMOwzU"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 34165 Cc: Ludovic =?ISO-8859-1?Q?Court=E8s?= , 34165@debbugs.gnu.org, Carl Dong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/gXPp97u.GetvZm8jEiMOwzU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, > > https://github.com/qt/qtbase/commit/38271e9298dcf48652a6e2e08414a940a97= 867fa =20 >=20 > This is a bit unfortunate. It seems to me that the original intent of > the patch was to support SOURCE_DATE_EPOCH as the commit message > mentions that variable=E2=80=99s specification. Pity that it is now a cu= stom Qt > variable. I asked them and they said [1]: >There was a policy to prefix variables with QT_ and I did not want to disc= uss more with the reviewer. >But later, this was merged: >https://codereview.qt-project.org/#/c/243636/4/src/tools/rcc/rcc.cpp,unifi= ed [1] https://github.com/qt/qtbase/commit/38271e9298dcf48652a6e2e08414a940a97= 867fa#commitcomment-32085478 https://codereview.qt-project.org/#/c/243636/4/src/tools/rcc/rcc.cpp,unifie= d contains the following patch: ... 228 228 const QDateTime lastModified =3D m_fileInfo.lastModified(); 229 229 quint64 lastmod =3D quint64(lastModified.isValid() ? last= Modified.toMSecsSinceEpoch() : 0); 230 230 static const quint64 sourceDate =3D 1000 * qgetenv("QT_RC= C_SOURCE_DATE_OVERRIDE").toULongLong( ); 231 231 if (sourceDate !=3D 0) 232 232 lastmod =3D sourceDate; 233 + static const quint64 sourceDate2 =3D 1000 * qgetenv("SOURCE_= DATE_EPOCH").toULongLong(); 234 + if (sourceDate2 !=3D 0) 235 + lastmod =3D sourceDate2; --Sig_/gXPp97u.GetvZm8jEiMOwzU Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlxO4mgACgkQ5xo1VCww uqURMgf/UsWZLXzWEKd/GfOzOdt/g+5qpVFuZ4yDgWNxxgcsMoZi/BEko2neA14w 3xTsAxyabf1PhobKqsTReiVTZ3MYXuDSS5RWzPliU8yhmj6zqSTKaM7/L9XEs0J6 mZgQBUpFZL+53WJIL43movwKZFdsWjbshrzzxe/mXivRp6h+Vxlfj0WUI0ILiRxN TmfIJqB9oobdRtpE4N7CT0uYffxmuU2+qPy2Ok1oJtu3iTnmJUPLadeXQGUWJpdN HwPEjovc46r3fqg0U2MXjXpuz+LxKR3Zzb9k9t8GXAhwmJ+SYN4YfyWfTP8a3M7d XP8EyE0PDel6QI/i7fVYwsbQyk4reg== =Wqi1 -----END PGP SIGNATURE----- --Sig_/gXPp97u.GetvZm8jEiMOwzU-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 28 08:39:40 2019 Received: (at 34165) by debbugs.gnu.org; 28 Jan 2019 13:39:40 +0000 Received: from localhost ([127.0.0.1]:48321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go78W-0003w8-0t for submit@debbugs.gnu.org; Mon, 28 Jan 2019 08:39:40 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:36650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go78U-0003w0-LQ for 34165@debbugs.gnu.org; Mon, 28 Jan 2019 08:39:39 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 54676847D; Mon, 28 Jan 2019 14:39:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rHuqz9Cd3tKv; Mon, 28 Jan 2019 14:39:36 +0100 (CET) Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4E06A183A; Mon, 28 Jan 2019 14:39:36 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Danny Milosavljevic Subject: Re: [bug#34165] [PATCH] gnu: bitcoin-core: Make bitcoin-qt deterministic. References: <87munrivyd.fsf@gnu.org> <8736pj77x4.fsf@elephly.net> <20190128120720.094dd8be@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 =?utf-8?Q?Pluvi=C3=B4se?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 28 Jan 2019 14:39:35 +0100 In-Reply-To: <20190128120720.094dd8be@scratchpost.org> (Danny Milosavljevic's message of "Mon, 28 Jan 2019 12:07:20 +0100") Message-ID: <87munkrje0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34165 Cc: Ricardo Wurmus , 34165@debbugs.gnu.org, Carl Dong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Danny, Danny Milosavljevic skribis: > [1] https://github.com/qt/qtbase/commit/38271e9298dcf48652a6e2e08414a940a= 97867fa#commitcomment-32085478 > > https://codereview.qt-project.org/#/c/243636/4/src/tools/rcc/rcc.cpp,unif= ied contains the following patch: > > ... > 228 228 const QDateTime lastModified =3D m_fileInfo.lastModified= (); > 229 229 quint64 lastmod =3D quint64(lastModified.isValid() ? la= stModified.toMSecsSinceEpoch() : 0); > 230 230 static const quint64 sourceDate =3D 1000 * qgetenv("QT_= RCC_SOURCE_DATE_OVERRIDE").toULongLong( > ); > 231 231 if (sourceDate !=3D 0) > 232 232 lastmod =3D sourceDate; > 233 + static const quint64 sourceDate2 =3D 1000 * qgetenv("SOURC= E_DATE_EPOCH").toULongLong(); > 234 + if (sourceDate2 !=3D 0) > 235 + lastmod =3D sourceDate2; Nice, so maybe we don=E2=80=99t need to change anything and just wait for t= he next Qt version? Ludo=E2=80=99. From unknown Tue Jun 17 01:47:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 26 Feb 2019 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator